Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-14 Thread Yevgen Muntyan
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

Re: [CMake] Getting the compiler version?

2009-04-14 Thread Philip Lowman
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

Re: [CMake] Selecting debug builds on linux after generating make files via cmake

2009-04-14 Thread Philip Lowman
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

[CMake] Selecting debug builds on linux after generating make files via cmake

2009-04-14 Thread Jan Neumann
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

Re: [CMake] WinCE Support

2009-04-14 Thread Andreas Pokorny
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

Re: [CMake] Multiple installer packages from subsets of one large CMake project?

2009-04-14 Thread KSpam
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

Re: [CMake] Getting the compiler version?

2009-04-14 Thread Bartlett, Roscoe A
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

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-14 Thread Andreas Pokorny
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

Re: [CMake] Getting the compiler version?

2009-04-14 Thread Mike Jackson
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

[CMake] Multiple installer packages from subsets of one large CMake project?

2009-04-14 Thread Kerry Bonin
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

[CMake] Getting the compiler version?

2009-04-14 Thread Bartlett, Roscoe A
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

Re: [CMake] WinCE Support

2009-04-14 Thread Andreas Pokorny
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

[CMake] set_target_properties and complile_flags

2009-04-14 Thread Micha Renner
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