summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 19:20:58 +0000
committerFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 23:54:33 +0000
commit4b374000f7c14d12096d33d9282ccdcb90f8fd6e (patch)
tree4e36fa41e017eaee1bd191faaadfcbafeb5c5d66
parentcf28576707989b398a0c1acf0560d3b89030fe2b (diff)
downloadtmwa-4b374000f7c14d12096d33d9282ccdcb90f8fd6e.tar.gz
tmwa-4b374000f7c14d12096d33d9282ccdcb90f8fd6e.tar.bz2
tmwa-4b374000f7c14d12096d33d9282ccdcb90f8fd6e.tar.xz
tmwa-4b374000f7c14d12096d33d9282ccdcb90f8fd6e.zip
CMakeLists.txt: Add install target
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1f1e254..0d5e9d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -170,3 +170,8 @@ target_link_libraries(tmwa-admin tmwa-shared)
# TODO: Call make -f ${CMAKE_SOURCE_DIR}/generate.mk clean to clean up the
# generated files. We want this to be run every time we call make clean.
+# Install targets
+install(TARGETS tmwa-login tmwa-char tmwa-map tmwa-admin tmwa-shared
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+)