Re: [CMake] EXECUTE_PROCESS to strip

2006-12-14 Thread Tristan Carel
On 12/14/06, klaas.holwerda <[EMAIL PROTECTED]> wrote: Hi I did read this, in release notes: * Allow EXECUTE_PROCESS to strip trailing white space Is this automatically or how does one do it? Thanks, Klaas Here is the synopsis available in the official 2.4.5 documentation: EXECUTE_PROCESS

[CMake] EXECUTE_PROCESS to strip

2006-12-14 Thread klaas.holwerda
Hi I did read this, in release notes: * Allow EXECUTE_PROCESS to strip trailing white space Is this automatically or how does one do it? Thanks, Klaas ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Xcode Generator

2006-12-14 Thread Axel Roebel
On Thursday 14 December 2006 18:03, Sean McBride wrote: > On 2006-12-14 14:40, Axel Roebel said: > >I would suggest to change this order in cmake > >because having debug as default in a software > >distribution seems not so appropriate given that you > >cannot assume that all people that may downlo

[CMake] Nmake creates empty dll's version 2.4.5

2006-12-14 Thread Martin Lütken
When compiling with the Nmake generator and compiling with VS.2005 All my dll files are of size zero. When compiling from VS.2005 IDE this does not happen. Anyone who has seen this? Martin L, Software Engineer / Architect (see also www.doxys.org) ___

Re: [CMake] Xcode Generator

2006-12-14 Thread Sean McBride
On 2006-12-14 14:40, Axel Roebel said: >I would suggest to change this order in cmake >because having debug as default in a software >distribution seems not so appropriate given that you >cannot assume that all people that may download >and compile your software with Xcode are >really knowing wha

[CMake] runtime "-R" flag

2006-12-14 Thread Michal Pryc
Hello, I am trying to build one project using cmake is there any equivalent to LD_FLAGS="-R" ? I was trying with -DCMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=-R and -DCMAKE_SHARED_LINKER_FLAGS:STRING=-R and few more... or maybe CMakeLists is wrong for the project, but first maybe someone had th

[CMake] ParaView/Python/CMake/Mac compile issue

2006-12-14 Thread Moreland, Kenneth
I just upgraded to CMake 2.4.5 on my Mac and did a fresh build of ParaView 3. The build failed with a link error concerning the python libraries. I inspected the CMake variables and noted that PYTHON_DEBUG_LIBRARY was set to -framework Python, but PYTHON_LIBRARY was set to /usr/lib/libpython2.3.d

Re: [CMake] Xcode Generator

2006-12-14 Thread Bill Hoffman
Axel Roebel wrote: I am not using Xcode myself but a very brief look into the cmake source reveals that the variable CMAKE_CONFIGURATION_TYPES is used instead of CMAKE_BUILD_TYPE. Now the default value for CMAKE_CONFIGURATION_TYPES is "Debug;Release;MinSizeRel;RelWithDebInfo". Simply setti

Re: [CMake] lib/dll LINK_LIBRARIES on windows?

2006-12-14 Thread David Cole
On Windows you have to export your classes/functions explicitly from dlls. Everything is private/hidden/internal only by default. You can use "__declspec(dllexport)" directives in your source, or you can use a .def file to list them... if you do neither, then there are no public exports from your

Re: [CMake] Xcode Generator

2006-12-14 Thread David Cole
It is not order dependent. If you have a solution/project that has Debug and Release configs only, then MSVC *always* chooses Debug by default the first time such a solution is opened... Changing the order does not change that behavior. I've tried... The "ncb" file is actually the cache of "non-

Re: [CMake] Xcode Generator

2006-12-14 Thread Axel Roebel
On Wednesday 13 December 2006 19:57, Bill Hoffman wrote: > Sean McBride wrote: > > On 2006-12-13 18:27, Axel Roebel said: > >> Everything works fine for unix makefiles (on Linux and Mac OS X) > >> > >> Now, we tried the Xcode generator and we am having > >> some minor problems with it. > >> > >> 1)

Re: [CMake] FIND_PATH_VERIFY macro

2006-12-14 Thread Bill Hoffman
Alexander Neundorf wrote: Hi, Von: "Vincent Scheib" <[EMAIL PROTECTED]> Here's a handy usability improvement we recently implemented. It may be possible to fold this type of functionality back into FIND_PATH. The use case is this: - CMake is called - FIND_PATH is used to determine the loca

Re: [CMake] FIND_PATH_VERIFY macro

2006-12-14 Thread Alexander Neundorf
Hi, Von: "Vincent Scheib" <[EMAIL PROTECTED]> > Here's a handy usability improvement we recently implemented. It may > be possible to fold this type of functionality back into FIND_PATH. > > The use case is this: > - CMake is called > - FIND_PATH is used to determine the location of a package >

[CMake] making files appear in MSVS "solution explorer"

2006-12-14 Thread Abe Stephens
How can I add any old file to the solution explorer panel in visual studio? The .i files used by the swig module show up quite nicely but I can't follow what's going on in that script closely enough to figure it out. In the example below, is it possible to have ${source_file} show up in the