1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Description: Disable SONAMEs for all libraries
Since all the libraries are private, they should not have SONAMEs
Author: James Cowgill <james410@cowgill.org.uk>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -498,5 +498,21 @@ include(plugin)
## Scan for user plugins
CL_SCAN_FOR_PLUGINS()
+# Disable SONAMES on all libraries (since none are public)
+set_target_properties(libcodelite plugin wxshapeframework databaselayersqlite
+ abbreviation CallGraph ContinuousBuild DebuggerGDB Wizards Outline QMakePlugin
+ UnitTestsPP cppchecker cscope wxFormBuilder Tweaks CodeFormatter Copyright
+ DatabaseExplorer ExternalTools SnipWiz Subversion ZoomNavigator git
+ CMakePlugin CodeLiteDiff MemCheck
+ PROPERTIES NO_SONAME TRUE)
+
+if (WITH_SFTP)
+ set_target_properties(SFTP PROPERTIES NO_SONAME TRUE)
+endif(WITH_SFTP)
+
+if (WITH_LLDB)
+ set_target_properties(LLDBDebugger PROPERTIES NO_SONAME TRUE)
+endif()
+
# Don't unset this earlier: it would affect the plugins' CMakeLists.txts
unset(PREFIX CACHE)
|