OAR archive format
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
425B

  1. # CMakeLists.txt
  2. # CMakeLists file for OAR
  3. CMAKE_MINIMUM_REQUIRED(VERSION 3.9)
  4. PROJECT(OAR C)
  5. SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
  6. SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
  7. SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
  8. FILE(GLOB SOURCES ${CMAKE_SOURCE_DIR}/src/*)
  9. ADD_EXECUTABLE(oar ${SOURCES})
  10. TARGET_INCLUDE_DIRECTORIES(oar PRIVATE ${CMAKE_SOURCE_DIR}/ext)