playground/devtools/kdevelop4-extra-plugins/python/parser
Andreas Pakulat
apaku at gmx.de
Fri Jul 6 01:01:20 CEST 2007
SVN commit 684033 by apaku:
Add -fPIC, that seems to be the only option to use a static lib in a plugin on
64Bit platforms
CCing kde-buildsystem because I'm not sure this is the right thing to do.
Making it a shared library is a problem because parts of the code is generated
and the generator doesn't allow to add EXPORT macro's.
The question is: Use -fPIC or build a shared lib that has visibility=default
instead of hidden?
CCMAIL:kde-buildsystem at kde.org
M +3 -0 CMakeLists.txt
--- trunk/playground/devtools/kdevelop4-extra-plugins/python/parser/CMakeLists.txt #684032:684033
@@ -1,6 +1,9 @@
add_subdirectory(tests)
+## Is this really supported on all architectures??
+add_definitions(-fPIC)
+
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${QT_INCLUDES})
More information about the Kde-buildsystem
mailing list