CMake project restructuring.

This commit is contained in:
2016-11-29 02:43:17 +01:00
parent 8b069d8149
commit 9b49b8ebe7
5 changed files with 19 additions and 13 deletions

23
app/CMakeLists.txt Normal file
View File

@@ -0,0 +1,23 @@
set(target plasp-app)
file(GLOB core_sources "*.cpp")
file(GLOB core_headers "*.h")
include_directories(
${Boost_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/include
)
set(sources
${core_sources}
${core_headers}
)
set(libraries
${Boost_LIBRARIES}
plasp
)
add_executable(${target} ${sources})
target_link_libraries(${target} ${libraries})
set_target_properties(${target} PROPERTIES OUTPUT_NAME plasp)