Experimental 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.

CMakeLists.txt 760B

12345678910111213141516171819202122232425
  1. # CMakeLists.txt
  2. # CMakeLists file for OmegaARc
  3. cmake_minimum_required(VERSION 3.9) # CMake Minimum Required Version
  4. project(OmegaARc) # Project
  5. set(CMAKE_CXX_STANDARD 17) # C++ Standard
  6. # Output Directories
  7. set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
  8. set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
  9. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
  10. file(GLOB SOURCES # Add Source Files
  11. ${CMAKE_SOURCE_DIR}/src/*
  12. )
  13. add_executable(oar ${SOURCES}) # Build Target
  14. target_include_directories(oar PRIVATE # Target Include Directories
  15. ${CMAKE_SOURCE_DIR}/include/
  16. )
  17. set_property( # Visual Studio Startup Project
  18. DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
  19. PROPERTY VS_STARTUP_PROJECT oar
  20. )