Install and uninstall targets
This commit is contained in:
parent
0d6a22fb8b
commit
6ba57049df
@ -31,4 +31,10 @@ set(HEADERS
|
|||||||
|
|
||||||
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})
|
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})
|
||||||
|
|
||||||
|
install(TARGETS ${PROJECT_NAME}
|
||||||
|
RUNTIME DESTINATION bin)
|
||||||
|
|
||||||
|
add_custom_target(uninstall
|
||||||
|
COMMAND xargs rm -v < install_manifest.txt)
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME} sqlite3)
|
target_link_libraries(${PROJECT_NAME} sqlite3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user