summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2015-01-01 22:46:23 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2015-01-01 22:46:23 +0000
commite286df5f3bd97504b03d201a540dc9c5296c5394 (patch)
treec5e6f331d8820622c87993ca18a3571e9f2606e6
parentd53e10e83f8201d921dd5b537c2dfbb5aeee2694 (diff)
downloadlibflangrt-master.tar.gz
Add and install target to cmake.HEADmaster
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29eee3e..dc95905 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,8 +44,12 @@ add_library(libflang ${libkind} lib/Libflang.cpp
lib/System/System.cpp
)
-# Tests
+install(TARGETS libflang
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib)
+# Tests
macro(add_libflang_test name)
add_executable( ${name} ${ARGN} )
target_link_libraries( ${name} libflang )