[CMake] Visual Studio, Solutions and dependant projects

2007-09-17 Thread Stephan Diederich
Hi, I want to reanimate discussions about (Visual Studio) support for the following sourcecode layout: Toplevel | -CMakeLists.txt (sets all common stuff) -apps -CMakeLists.txt (adds only the different apps with add_subdirectory(...)) | - App1 - CMakeLists.txt (project(app1),

RE: [CMake] CPack

2007-09-17 Thread Torsten Martinsen
Hendrik Sattler wrote: Zitat von [EMAIL PROTECTED]: I want to use the CPACK generator, but the tutorial http://www.cmake.org/Wiki/CMake:Packaging_With_CPack is not quite good. Perhaps somebody knows a better site. When I run make with make package, then I get following error: CPack

Re: [CMake] CPack

2007-09-17 Thread Alexander Neundorf
On Monday 17 September 2007 09:04, Eric Noulard wrote: 2007/9/17, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi Eric, Thanks for your reply. Since you are on windows you may want to try a nightly build of CMake CVS version: http://www.cmake.org/files/vCVS/ It should properly

Re: [CMake] Re: -G KDevelop3 and Fortran

2007-09-17 Thread Alexander Neundorf
On Sunday 02 September 2007 09:03, Alin M Elena wrote: Hi Alex and Andreas, Thank you for you help. I have checked the cvs version. It seems to work. I tested on a hello project and on a more complex one. There are few things that I have observed 1. this looks strange to me

Re: [CMake] FLTK_WRAP_UI CMake problem

2007-09-17 Thread Alexander Neundorf
On Wednesday 12 September 2007 10:35, Romain Garrigues wrote: Hello all ! I have an unexpected problem with CMake (v 2.4.2) command FLTK_WRAP_UI. In fact, when I configure CMake for my project, i have this message : Does it also happen with CMake 2.4.7 ? You should use at least 2.4.3, 2.4.2

Re: [CMake] cmake 2.5 with windows mobile

2007-09-17 Thread Alexander Neundorf
Hi Artur, On Saturday 01 September 2007 06:16, Artur Wisz wrote: Alexander Neundorf wrote: Why is this failing ? It only tries to build an executable, it doesn't run it. Is the compiler called cl.exe or clarm.exe ? You need to setup a toolchain file as described here:

RE: [CMake] Creating a static lib from other static libs, HOW?

2007-09-17 Thread Sanchez, Juan
Could you post the link to the faq? I don't see which question covers the topic. Juan -Original Message- From: [EMAIL PROTECTED] on behalf of Brandon Van Every Sent: Mon 9/17/2007 1:10 AM To: cmake@cmake.org Subject: Re: [CMake] Creating a static lib from other static libs, HOW? On

Re: [CMake] Creating a static lib from other static libs, HOW?

2007-09-17 Thread Brandon Van Every
On 9/17/07, Sanchez, Juan [EMAIL PROTECTED] wrote: Could you post the link to the faq? I don't see which question covers the topic.

[CMake] execute_process command problem

2007-09-17 Thread Ajay Divekar
I have some problem executing the execute_process command of cmake on fedora 6 and 7 whereas the same command works fine in FreeBSD 6.2. The command that i have is as follows EXECUTE_PROCESS( COMMAND cd $ENV{PP_ROOTDIR}/src COMMAND make clean RESULT_VARIABLE ret_var) IF(NOT

Re: [CMake] OS X build directory

2007-09-17 Thread Alexander Neundorf
On Monday 17 September 2007 11:48, Mike Jackson wrote: The easiest way is to create the folder BEFORE cmake is run. I do the same thing on OS X for gcc and intel compilers. mkdir intel; cd intel; ccmake ../ mdkir gcc; cd gcc; ccmake ../ Yes. Unless Cmake takes as an argument the build

Re: [CMake] OS X build directory

2007-09-17 Thread Paul Dean
So, this cannot be done within CMakeLists.txt for OS X? It must be done like mike says or with a script? _ Get a FREE small business Web site and more from Microsoft® Office Live!

[CMake] U

2007-09-17 Thread Bill Hoffman
Ajay Divekar wrote: What that does is it outputs make clean command's output on standard output. On the other hand if I cd and then execute make clean command then it does not output anything to the standard output. OUTPUT_QUIET and ERROR_QUIET should help with that issue. Please read the

Re: [CMake] OS X build directory

2007-09-17 Thread Bill Hoffman
Paul Dean wrote: So, this cannot be done within CMakeLists.txt for OS X? It must be done like mike says or with a script? Yes, you can not force a directory from the CMakeLists.txt file, a user of cmake expects to be able to pick the output directory. -Bill

Re: [CMake] execute_process command problem

2007-09-17 Thread Ajay Divekar
What that does is it outputs make clean command's output on standard output. On the other hand if I cd and then execute make clean command then it does not output anything to the standard output. Regards, Ajay Divekar On 9/17/07, Bill Hoffman [EMAIL PROTECTED] wrote: Ajay Divekar wrote: I

Re: [CMake] execute_process command problem

2007-09-17 Thread Bill Hoffman
Ajay Divekar wrote: I have some problem executing the execute_process command of cmake on fedora 6 and 7 whereas the same command works fine in FreeBSD 6.2. The command that i have is as follows EXECUTE_PROCESS( COMMAND cd $ENV{PP_ROOTDIR}/src COMMAND make clean

[CMake] CMAKE_CFG_INTDIR expands to $(OutDir)

2007-09-17 Thread McKay Davis
I'm experiencing trouble getting cmake to copy DLL files to my executable output path in visual studio after the target is built. It seems that the CMAKE_CFG_INTDIR variable is being expanded to: $(OutDir) This causes the .dll files to be copied to the filename '$(OutDir)', not into the

Re: [CMake] execute_process command problem

2007-09-17 Thread wim van hoydonck
Add an output_variable to the list of arguments of execute_process if you do not want the output of make clean to be send to stdout: execute_process(WORKING_DIRECTORY $ENV{PP_ROOTDIR}/src COMMAND make clean RESULT_VARIABLE ret_var OUTPUT_VARIABLE output_var) Greetings,

Re: [CMake] CMAKE_CFG_INTDIR expands to $(OutDir)

2007-09-17 Thread Bill Hoffman
McKay Davis wrote: I'm experiencing trouble getting cmake to copy DLL files to my executable output path in visual studio after the target is built. It seems that the CMAKE_CFG_INTDIR variable is being expanded to: $(OutDir) This causes the .dll files to be copied to the filename

Re: [CMake] copying the contents of a directory with cpack

2007-09-17 Thread Alan W. Irwin
On 2007-09-17 20:31-0400 Bill Hoffman wrote: Niall Dalton wrote: Hi, I have a custom target that creates doxygen documentation from my C header files. I'd like, as part of my cpack configuration in my main CMakeLists.txt, to copy the directory containing the doxygen output into the .tar.gz