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

60 lines
1.2 KiB
CMake

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")
file(GLOB pddl_translation_sources "plasp/pddl/translation/*.cpp")
file(GLOB pddl_translation_headers "../include/plasp/pddl/translation/*.h")
file(GLOB sas_sources "plasp/sas/*.cpp")
file(GLOB sas_headers "../include/plasp/sas/*.h")
set(includes
${Boost_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/lib/tokenize/include
${PROJECT_SOURCE_DIR}/lib/colorlog/include
${PROJECT_SOURCE_DIR}/lib/variant/include
${PROJECT_SOURCE_DIR}/lib/pddlparse/include
)
set(sources
${core_sources}
${core_headers}
${pddl_sources}
${pddl_headers}
${pddl_expressions_sources}
${pddl_expressions_headers}
${pddl_translation_sources}
${pddl_translation_headers}
${sas_sources}
${sas_headers}
${input_sources}
${input_headers}
${output_sources}
${output_headers}
${utils_sources}
${utils_headers}
)
set(libraries
${Boost_LIBRARIES}
colorlog
pddlparse
pthread
)
add_library(${target} ${sources})
target_include_directories(${target} PRIVATE ${includes})
target_link_libraries(${target} ${libraries})