patrick
/
plasp
Archived
1
0
Fork 0
This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/app/CMakeLists.txt

32 lines
714 B
CMake
Raw Normal View History

2016-11-29 02:43:17 +01:00
set(target plasp-app)
2016-05-20 15:29:24 +02:00
find_package(Boost 1.55.0 COMPONENTS program_options iostreams system REQUIRED)
2016-05-20 15:29:24 +02:00
file(GLOB core_sources "*.cpp")
file(GLOB core_headers "*.h")
2017-05-09 13:01:10 +02:00
set(includes
2016-05-20 15:29:24 +02:00
${Boost_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/include
2017-05-12 14:17:57 +02:00
${PROJECT_SOURCE_DIR}/lib/tokenize/include
${PROJECT_SOURCE_DIR}/lib/colorlog/include
${PROJECT_SOURCE_DIR}/lib/variant/include
${PROJECT_SOURCE_DIR}/lib/pddl/include
2016-05-20 15:29:24 +02:00
)
set(sources
${core_sources}
${core_headers}
)
set(libraries
stdc++fs
2016-05-20 15:29:24 +02:00
${Boost_LIBRARIES}
plasp
)
add_executable(${target} ${sources})
2017-05-09 13:01:10 +02:00
target_include_directories(${target} PRIVATE ${includes})
2016-05-20 15:29:24 +02:00
target_link_libraries(${target} ${libraries})
2016-11-29 02:01:23 +01:00
set_target_properties(${target} PROPERTIES OUTPUT_NAME plasp)