summaryrefslogtreecommitdiffstats
path: root/data/ShibokenConfig.cmake.in
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-09-09 18:20:09 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-09-10 11:46:57 -0300
commit76a9acb72693e670b141b2eb57f14cad1d1a1cef (patch)
tree6b4a881c67791b72864d351066e57d0ad2b79a92 /data/ShibokenConfig.cmake.in
parent167f72f50ea327d2976c29dc526311dae7addf45 (diff)
downloadshiboken-76a9acb72693e670b141b2eb57f14cad1d1a1cef.tar.gz
shiboken-76a9acb72693e670b141b2eb57f14cad1d1a1cef.tar.xz
shiboken-76a9acb72693e670b141b2eb57f14cad1d1a1cef.zip
Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated files to allow multiples version installed simultaneous.0.5.0
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'data/ShibokenConfig.cmake.in')
-rw-r--r--data/ShibokenConfig.cmake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/ShibokenConfig.cmake.in b/data/ShibokenConfig.cmake.in
new file mode 100644
index 00000000..148c35b9
--- /dev/null
+++ b/data/ShibokenConfig.cmake.in
@@ -0,0 +1,11 @@
+# SHIBOKEN_INCLUDE_DIR - Directories to include to use SHIBOKEN
+# SHIBOKEN_LIBRARIES - Files to link against to use SHIBOKEN
+
+SET(SHIBOKEN_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/shiboken@shiboken_SUFFIX@")
+if(MSVC)
+ SET(SHIBOKEN_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@shiboken@shiboken_SUFFIX@.lib")
+elseif(WIN32)
+ SET(SHIBOKEN_LIBRARY "@CMAKE_INSTALL_PREFIX@/bin/@CMAKE_SHARED_LIBRARY_PREFIX@shiboken@shiboken_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@")
+else()
+ SET(SHIBOKEN_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@shiboken@shiboken_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@")
+endif()