diff options
author | Josh Blum | 2012-10-31 21:50:43 -0700 |
---|---|---|
committer | Josh Blum | 2012-10-31 21:50:43 -0700 |
commit | 61bd98faa4d10a4791669f4f1c196268a6178a4e (patch) | |
tree | 9587a3614ba0ad9213a538b2b3043adb15bbf3f7 /lib/CMakeLists.txt | |
parent | 32f9c796f5b30b7bd802c5f1802a94de2b50ec10 (diff) | |
download | sandhi-61bd98faa4d10a4791669f4f1c196268a6178a4e.tar.gz sandhi-61bd98faa4d10a4791669f4f1c196268a6178a4e.tar.bz2 sandhi-61bd98faa4d10a4791669f4f1c196268a6178a4e.zip |
swig work on top and hier
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r-- | lib/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 6d6b888..0657f28 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -58,9 +58,11 @@ list(APPEND GRAS_SOURCES ######################################################################## # Build library ######################################################################## -include(GrMiscUtils) - add_library(gras SHARED ${GRAS_SOURCES}) target_link_libraries(gras ${GRAS_LIBRARIES}) -set(GR_LIBRARY_DIR lib) -GR_LIBRARY_FOO(gras RUNTIME_COMPONENT ${GRAS_COMP_RUNTIME} DEVEL_COMPONENT ${GRAS_COMP_DEVEL}) + +install(TARGETS gras + LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT ${GRAS_COMP_RUNTIME} # .so file + ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT ${GRAS_COMP_DEVEL} # .lib file + RUNTIME DESTINATION bin COMPONENT ${GRAS_COMP_RUNTIME} # .dll file +) |