cmake install stuff!
This commit is contained in:
parent
29492db1ed
commit
67a38d45e5
|
@ -35,4 +35,18 @@ target_link_libraries(nanosm PRIVATE
|
||||||
|
|
||||||
nanosm_target(nanosm)
|
nanosm_target(nanosm)
|
||||||
|
|
||||||
# todo: cmake install sex
|
# cmake install stuff
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
# doc files
|
||||||
|
install(FILES
|
||||||
|
${PROJECT_SOURCE_DIR}/LICENSE
|
||||||
|
${PROJECT_SOURCE_DIR}/doc/nanosm.toml
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
install(TARGETS nanosm
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue