[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

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

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 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

[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

[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

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 what

[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 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 download and

[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] 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: