2016-05-20 15:29:24 +02:00
|
|
|
set(target plasp)
|
|
|
|
|
|
|
|
file(GLOB core_sources "plasp/*.cpp")
|
|
|
|
file(GLOB core_headers "../include/plasp/*.h")
|
|
|
|
|
2016-05-29 16:27:11 +02:00
|
|
|
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")
|
|
|
|
|
2016-12-08 00:52:09 +01:00
|
|
|
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")
|
|
|
|
|
2016-11-29 06:03:05 +01:00
|
|
|
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-21 14:14:14 +02:00
|
|
|
|
2017-05-09 13:01:10 +02:00
|
|
|
file(GLOB utils_sources "plasp/utils/*.cpp")
|
|
|
|
file(GLOB utils_headers "../include/plasp/utils/*.h")
|
2016-05-20 15:29:24 +02:00
|
|
|
|
2017-05-09 13:01:10 +02:00
|
|
|
set(includes
|
|
|
|
${Boost_INCLUDE_DIRS}
|
2016-05-20 15:29:24 +02:00
|
|
|
${PROJECT_SOURCE_DIR}/include
|
2017-05-12 14:17:57 +02:00
|
|
|
${PROJECT_SOURCE_DIR}/lib/tokenize/include
|
2017-06-20 01:53:55 +02:00
|
|
|
${PROJECT_SOURCE_DIR}/lib/variant/include
|
|
|
|
${PROJECT_SOURCE_DIR}/lib/pddlparse/include
|
2016-05-20 15:29:24 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sources
|
|
|
|
${core_sources}
|
|
|
|
${core_headers}
|
|
|
|
|
2016-05-29 16:27:11 +02:00
|
|
|
${pddl_sources}
|
|
|
|
${pddl_headers}
|
|
|
|
|
2016-06-02 17:35:01 +02:00
|
|
|
${pddl_expressions_sources}
|
|
|
|
${pddl_expressions_headers}
|
|
|
|
|
2016-12-08 00:52:09 +01:00
|
|
|
${pddl_translation_sources}
|
|
|
|
${pddl_translation_headers}
|
|
|
|
|
2016-05-20 15:29:24 +02:00
|
|
|
${sas_sources}
|
|
|
|
${sas_headers}
|
2016-05-21 14:14:14 +02:00
|
|
|
|
2016-11-29 06:03:05 +01:00
|
|
|
${input_sources}
|
|
|
|
${input_headers}
|
|
|
|
|
|
|
|
${output_sources}
|
|
|
|
${output_headers}
|
2017-05-09 13:01:10 +02:00
|
|
|
|
|
|
|
${utils_sources}
|
|
|
|
${utils_headers}
|
2016-05-20 15:29:24 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(libraries
|
|
|
|
${Boost_LIBRARIES}
|
2017-06-20 01:53:55 +02:00
|
|
|
pddlparse
|
2016-05-20 15:29:24 +02:00
|
|
|
pthread
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(${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})
|