Re: [CMake] CPack: howto change directory layout depending on the generator

2008-10-03 Thread Timenkov Yuri
On Fri, Oct 3, 2008 at 2:15 AM, Alexander Neundorf <[EMAIL PROTECTED]>wrote: > On Friday 19 September 2008, Tanguy Krotoff wrote: > > Hi everybody > > > > I would like to change the directory layout generated by CPack given > > the generator used. > > AFAIK this is currently not possible. > And ac

Re: [CMake] adding files to a custom target

2008-10-03 Thread Timenkov Yuri
On Thu, Oct 2, 2008 at 6:41 PM, Jesse Corrington <[EMAIL PROTECTED] > wrote: > Ok, I got a little further, but still not exactly what I wanted. I had some > sloppy quotes after doing a poor job of converting my old post build step > into this new way of doing things. It is now partially functional

Re: [CMake] /DELAYLOAD flag doesnt stick when making a vc8 project

2008-10-03 Thread Sylvain Jaume
Thanks Stefan! Removing the space helped. I used this command: set_target_properties(xipivcoregl PROPERTIES LINK_FLAGS "/DELAYLOAD:xipivcore.dll") And I got this error: LINK : fatal error LNK1194: cannot delay-load 'xipivcore.dll' due to import of data symbol '"__declspec(dllimport) protected:

Re: [CMake] execute_process, output_variable : semicolons are stripped out

2008-10-03 Thread jbd
RTFM. message("${_RES}") Sorry for the noise guys. jbd a écrit : Hello everybody, i've got a little problem which i can't figure out. If i run a command with execute_process which deal with a file containing some semi colon ";", i lose them in the OUTPUT_VARIABLE. Any idea ? Here is a se

[CMake] execute_process, output_variable : semicolons are stripped out

2008-10-03 Thread jbd
Hello everybody, i've got a little problem which i can't figure out. If i run a command with execute_process which deal with a file containing some semi colon ";", i lose them in the OUTPUT_VARIABLE. Any idea ? Here is a self explanatory CMakeLists.txt. Create a file called "myfile" contain

Re: [CMake] /DELAYLOAD flag doesnt stick when making a vc8 project

2008-10-03 Thread Stefan Buschmann
Hi! If you get this error message, the /DELAYLOAD-option is obviously passed to the compiler correctly, so it can't be a problem with CMake. I would think that the space between ":" and "mylib.dll" might be the problem. Have you tried it without a space? set_target_properties(mylib PROPERTIES

[CMake] /DELAYLOAD flag doesnt stick when making a vc8 project

2008-10-03 Thread Sylvain Jaume
Hi, I try to set the DELAYLOAD flag for the VS8 linker using: set_target_properties(mylib PROPERTIES LINK_FLAGS "/DELAYLOAD: mylib.dll") But I get the linker error: 1>LINK : fatal error LNK1146: no argument specified with option '/DELAYLOAD:' I found this thread but it did not solve my iss

[CMake] Disabling warnings in Visual Studio Express 2008

2008-10-03 Thread user790 user790
Disabling specific warnings is a simple task so I thought I could do it myself but I must admit defeat. A simple CMakeLists.txt like this won't work. project(testcmake) # None of this works #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4669") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4669" CACHE S

Re: [CMake] include header files from external library

2008-10-03 Thread Sylvain Jaume
Hi Leila, Have you tried to convert your ITK mesh to VTK and use vtkLoopSubdivisionFilter or vtkButterflySubdivisionFilter ? Regards, Sylvain On Fri, Oct 3, 2008 at 2:03 PM, Leila Baghdadi <[EMAIL PROTECTED]>wrote: > Hi guys, > > I am wondering if someone can give me a quick hint here. > > I am

Re: [CMake] include header files from external library

2008-10-03 Thread Andy Lego
Hi Leila, When doing the search for the header files, specify the relative path within the tree and not the actual header file. For example, find_path(OPEN_MESH_INCLUDES NAMES OpenMesh/balh/balh/something.h ) instead of find_path(OPEN_MESH_INCLUDES NAMES something.h) Then OPEN_MESH_INCLUDES wi

[CMake] include header files from external library

2008-10-03 Thread Leila Baghdadi
Hi guys, I am wondering if someone can give me a quick hint here. I am trying to link an external library (openmesh.org) to itk so I can use their mesh subdivision algorithm on my meshes. I have downloaded and built openmesh successfully and I have tried to create the correct cmake files. howeve

Re: [CMake] Preprocessed linker script

2008-10-03 Thread Vladimir
Hello Alexander, Thanks a lot for your suggestion, it works well for me ! Alexander Neundorf wrote: > On Monday 29 September 2008, Vladimir wrote: >> Hello, >> >> I want to link an executable with custom linker script, but my script >> have to be preprocessed with cpp. I've tried using add_custo

Re: [CMake] Using multiple config names in a single project

2008-10-03 Thread Brad King
Karl Wallner wrote: > Under 2.4 everything worked fine setting "CMAKE_BUILD_TYPE" for each > directory. > It should be possible to make 2.6 somehow compatible with 2.4. This is simply a bug in 2.6 created by some refactoring of the install script generator. I've committed a fix to CVS HEAD. We'l

[CMake] make package_source -> No rule to make target `package_source'

2008-10-03 Thread Alin M Elena
Hi, I use cmake as a build system for a project with the Unix makefile generator It seems that the target package_source does not get generated anymore. I use the cvs version of cmake [EMAIL PROTECTED]:~/forge> cmake --version cmake version 2.7-20081002 here is the CMakeLists.txt http://code.go

Re: [CMake] wxWidgets: 2.8.9

2008-10-03 Thread Miguel A. Figueroa-Villanueva
Hello, I'll work on this over the weekend... I also need to apply a fix because msw??/build.cfg is not available in all platforms... --Miguel On 10/3/08, Steven Van Ingelgem <[EMAIL PROTECTED]> wrote: > Please note that the current wxWidgets file cannot find unicode projects... > So you should a

[CMake] test list cmake

2008-10-03 Thread Ricardo M. García
Hi i am new, live from spain (bad english) i am testing if we can read me Bye :P ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] wxWidgets: 2.8.9

2008-10-03 Thread Steven Van Ingelgem
Please note that the current wxWidgets file cannot find unicode projects... So you should add "mswu/build.cfg mswud/build.cfg" to the FIND_PATH as written below: IF(BUILD_SHARED_LIBS) FIND_PATH(wxWidgets_LIB_DIR NAMES msw/build.cfg mswd/build.cfg *mswu/build.cfg mswud/build.cfg*

[CMake] wxWidgets: 2.8.9

2008-10-03 Thread Steven Van Ingelgem
Is it possible to add wxWidgets 2.8.9 to the list? It has been released as "stable". Thanks, Steven ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Compute Node Linux (CNL)

2008-10-03 Thread John Biddiscombe
Alex So with CNL you run a simplified Linux on the compute nodes instead of Catamopunt ? And that simplified Linux doesn't support shared libs ? And you build on these nodes ? We build on the head node, but it creates binary compatible executables. As it turns out, shared libs are (or might