From e286df5f3bd97504b03d201a540dc9c5296c5394 Mon Sep 17 00:00:00 2001 From: Mark Doffman Date: Thu, 1 Jan 2015 22:46:23 +0000 Subject: Add and install target to cmake. --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ) -- cgit v1.2.1