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/src/CMakeLists.txt

62 lines
1.3 KiB
CMake
Raw Normal View History

2016-05-20 15:29:24 +02:00
set(target plasp)
file(GLOB core_sources "plasp/*.cpp")
file(GLOB core_headers "../include/plasp/*.h")
file(GLOB pddl_sources "plasp/pddl/*.cpp")
file(GLOB pddl_headers "../include/plasp/pddl/*.h")
2016-06-02 17:35:01 +02:00
file(GLOB pddl_expressions_sources "plasp/pddl/expressions/*.cpp")
file(GLOB pddl_expressions_headers "../include/plasp/pddl/expressions/*.h")
file(GLOB pddl_translation_sources "plasp/pddl/translation/*.cpp")
file(GLOB pddl_translation_headers "../include/plasp/pddl/translation/*.h")
2016-05-20 15:29:24 +02:00
file(GLOB sas_sources "plasp/sas/*.cpp")
file(GLOB sas_headers "../include/plasp/sas/*.h")
file(GLOB input_sources "plasp/input/*.cpp")
file(GLOB input_headers "../include/plasp/input/*.h")
file(GLOB output_sources "plasp/output/*.cpp")
file(GLOB output_headers "../include/plasp/output/*.h")
2016-05-20 15:29:24 +02:00
include_directories(
${Boost_INCLUDE_DIRS}
)
include_directories(
${PROJECT_SOURCE_DIR}/include
)
set(sources
${core_sources}
${core_headers}
${pddl_sources}
${pddl_headers}
2016-06-02 17:35:01 +02:00
${pddl_expressions_sources}
${pddl_expressions_headers}
${pddl_translation_sources}
${pddl_translation_headers}
2016-05-20 15:29:24 +02:00
${sas_sources}
${sas_headers}
${input_sources}
${input_headers}
${output_sources}
${output_headers}
2016-05-20 15:29:24 +02:00
)
set(libraries
${Boost_LIBRARIES}
pthread
)
add_library(${target} ${sources})
target_link_libraries(${target} ${libraries})