How do you do it, do you manually add -fPIC or something to compiler
flags? Could you
show the CMakeLists.txt?
Thanks!
Yevgen
On Tue, Apr 14, 2009 at 8:14 AM, Andreas Pokorny
wrote:
> Hello,
>
>
> 2009/4/13 Andreas Pakulat :
>>> [...]
>>> question. Anybody knows how to build
>>> a shared library
On Tue, Apr 14, 2009 at 11:17 AM, Bartlett, Roscoe A wrote:
> Thanks for the pointer. We will look into this and try to create a module
> that other people could use also. However, it would be good if we could get
> this added as an official CMake module that can be supported by a broader
> comm
cmake -DCMAKE_BUILD_TYPE=Debug
Alternatively set it in the cache editor with ccmake or cmake-gui.
On Tue, Apr 14, 2009 at 6:07 PM, Jan Neumann wrote:
> Hi,
>
> I have been using cmake for years on the windows platform with great
> success, but now I need to do cross-platform development includi
Hi,
I have been using cmake for years on the windows platform with great
success, but now I need to do cross-platform development including linux and
ran into the problem that I cannot figure out how to select a build
configuration that embeds debugging symbols in my libraries and executables.
I
2009/4/14 Andreas Pokorny :
> [...]
>
> Configuring our project fails during the CMakeTestCCompiler.cmake
> tests, because it tries to execute the generated project files with
> VCExpress wich has no SDK configured - and I doubt that it supports
> multiple SDKs at all. I am investigating that right
Kerry,
On Tuesday 14 April 2009 06:37:28 Kerry Bonin wrote:
> Short version: Is there a simple way to generate multiple separate
> installers from within one CMake project?
The short answer is that it is possible, but perhaps it is not "simple". This
task does take some digging into CPack, and
Mike,
Thanks for the pointer. We will look into this and try to create a module that
other people could use also. However, it would be good if we could get this
added as an official CMake module that can be supported by a broader community.
Thanks,
- Ross
> -Original Message-
> Fr
Hello,
2009/4/13 Andreas Pakulat :
>> [...]
>> question. Anybody knows how to build
>> a shared library of separate cmake targets?
>
> Then you might be out of luck. Of course you could try creating static
> libs and then link those into your shared lib. But thats not supported
> on all platforms
Not really a "portable" way but there are usually compiler specific
ways which then get wrapped in lots of "if()" commands based on what
is being used.
If you look through the FindBoost.cmake file that comes with CMake
around line 535 you may be able to pull out that code which does a
pretty decen
Hello!
We've recently migrated a very large project to CMake, comprised of
about 15M lines of source spread across about 30 common libraries and
about 10 applications. (A VR/MMO/game development platform over P2P and
associated tools.) We've brought up the first installer for the main
appli
Hello,
Is there some way portable to get the compiler version in CMake so that I can
print it out in the configure output? This is important for our portability
testing system based on Cmake/Ctest/Cdash.
Thanks,
- Ross
___
Powered by www.kitware.c
Hi,
I just got a task to create a patched version of cmake with CE SDK
support for Visual Studio (for internal evaluation), and to do
whatever is necessary to get the patch into shape for inclusion to
cmake.
@Clemens: I just took http://cmake.org/Bug/view.php?id=8102 and
http://cmake.org/Bug/view
Here is a small CMake script which generates an make error(Linux only):
ADD_LIBRARY(${_targetname} file.c)
SET_TARGET_PROPERTIES(${_targetname} PROPERTIES
COMPILE_FLAGS "-DRED -DGREEN
-DBLUE -DYELLOW")
If one writes
SET_TARGET_PROPERTIES(${_targetname} PROPERTIE
13 matches
Mail list logo