Skip to content
Snippets Groups Projects
Commit 88554469 authored by Thomas Vogt's avatar Thomas Vogt
Browse files

Updated Install Configuration.

parent 5dffc332
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,4 @@ add_subdirectory( commands )
add_subdirectory( application )
install(
FILES LICENSE
TYPE DOC
RENAME ${PROJECT_NAME}.LICENSE )
install( FILES LICENSE TYPE DOC RENAME ${PROJECT_NAME}.LICENSE )
......@@ -47,21 +47,14 @@ target_include_directories(
target_link_libraries( command_shell PRIVATE linenoise helper )
install(
TARGETS command_shell
COMPONENT runtime
EXPORT command_shell-config )
install( TARGETS command_shell EXPORT command_shell-config )
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMPONENT development
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
TYPE INCLUDE
FILES_MATCHING
PATTERN "*.hpp"
PATTERN "*Test.*" EXCLUDE
PATTERN "implementation" EXCLUDE )
install(
EXPORT command_shell-config
COMPONENT development
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake )
install( EXPORT command_shell-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake )
......@@ -51,21 +51,14 @@ target_include_directories(
target_link_libraries( commands PRIVATE helper )
install(
TARGETS commands
COMPONENT runtime
EXPORT commands-config )
install( TARGETS commands EXPORT commands-config )
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMPONENT development
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
TYPE INCLUDE
FILES_MATCHING
PATTERN "*.hpp"
PATTERN "*Test.*" EXCLUDE
PATTERN "implementation" EXCLUDE )
install(
EXPORT commands-config
COMPONENT development
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake )
install( EXPORT commands-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake )
......@@ -17,19 +17,12 @@ target_sources(
target_include_directories( linenoise PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> )
install(
TARGETS linenoise
COMPONENT runtime
EXPORT linenoise-config )
install( TARGETS linenoise EXPORT linenoise-config )
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/linenoise
COMPONENT development
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
TYPE INCLUDE
FILES_MATCHING
PATTERN "*.h" )
install(
EXPORT linenoise-config
COMPONENT development
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake )
install( EXPORT linenoise-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment