aboutsummaryrefslogtreecommitdiffstats
path: root/data/ApiExtractorConfig.cmake.in
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-09-09 15:36:20 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:09 -0300
commitd60308ead4a5df126176d034ebd728bc5be5cb3c (patch)
tree293f3cc93ab3d6b90b8c3887772b045e765433c2 /data/ApiExtractorConfig.cmake.in
parent4c79cca936632da8fd6c9174babd4a9f72624f52 (diff)
Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated files to allow multiples version installed simultaneous.sb-0.8.0
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'data/ApiExtractorConfig.cmake.in')
-rw-r--r--data/ApiExtractorConfig.cmake.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/data/ApiExtractorConfig.cmake.in b/data/ApiExtractorConfig.cmake.in
new file mode 100644
index 00000000..666defb6
--- /dev/null
+++ b/data/ApiExtractorConfig.cmake.in
@@ -0,0 +1,14 @@
+# - try to find APIEXTRACTOR
+# APIEXTRACTOR_INCLUDE_DIR - Directories to include to use APIEXTRACTOR
+# APIEXTRACTOR_LIBRARIES - Files to link against to use APIEXTRACTOR
+
+SET(APIEXTRACTOR_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/apiextractor@apiextractor_SUFFIX@")
+if(MSVC)
+ SET(APIEXTRACTOR_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@apiextractor@apiextractor_SUFFIX@.lib")
+elseif(WIN32)
+ SET(APIEXTRACTOR_LIBRARY "@CMAKE_INSTALL_PREFIX@/bin/@CMAKE_SHARED_LIBRARY_PREFIX@apiextractor@apiextractor_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@")
+else()
+ SET(APIEXTRACTOR_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@apiextractor@apiextractor_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@")
+endif()
+
+SET(APIEXTRACTOR_DOCSTRINGS_DISABLED @DISABLE_DOCSTRINGS@)