diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-03-01 11:09:34 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-03-01 11:09:34 +0100 |
commit | 473c9d43885e943b52e4db4ca8af18b547feb15d (patch) | |
tree | 258acf3834d40879ab051d556d3ef28a8a0fa16a /libk8055/CMakeLists.txt | |
parent | fea1f737c457d037a345c2b006e8b4d07e142f89 (diff) | |
download | k8055-473c9d43885e943b52e4db4ca8af18b547feb15d.zip k8055-473c9d43885e943b52e4db4ca8af18b547feb15d.tar.gz |
add K8055 cpp class
Diffstat (limited to 'libk8055/CMakeLists.txt')
-rw-r--r-- | libk8055/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libk8055/CMakeLists.txt b/libk8055/CMakeLists.txt index 62398ff..75466ff 100644 --- a/libk8055/CMakeLists.txt +++ b/libk8055/CMakeLists.txt @@ -14,6 +14,22 @@ INSTALL(TARGETS k8055-${VERSION} PUBLIC_HEADER DESTINATION include ) +ADD_LIBRARY( k8055++-${VERSION} SHARED libk8055.cpp ) +ADD_DEPENDENCIES(k8055++-${VERSION} k8055-${VERSION}) +ADD_LIBRARY( k8055++-static-${VERSION} STATIC libk8055.cpp ) +ADD_DEPENDENCIES(k8055++-static-${VERSION} k8055-${VERSION}) +INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ) +TARGET_LINK_LIBRARIES( k8055++-${VERSION} + k8055-${VERSION} +) +SET_TARGET_PROPERTIES(k8055++-${VERSION} PROPERTIES PUBLIC_HEADER k8055++.h ) + +INSTALL(TARGETS k8055++-${VERSION} + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + PUBLIC_HEADER DESTINATION include +) + ADD_EXECUTABLE(k8055 WIN32 MACOSX_BUNDLE main.c ) TARGET_LINK_LIBRARIES(k8055 k8055-${VERSION} |