Re: [CMake] Bug fix requests for the *next* release of CMake...

2012-01-20 Thread A A
http://public.kitware.com/Bug/view.php?id=10094 http://public.kitware.com/Bug/view.php?id=9905 (Might be fixed already) -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake F

Re: [CMake] Issue with ExternalProject_add at make_directory build

2012-01-20 Thread David Cole
On Friday, January 20, 2012, Chris Sigman wrote: > Hi all, > I'm trying to build boost with ExternalProject_add using cmake 2.8.7, and there seems to be an error in the makefile it's generating. Specifically, in the step where it created the directories, the makefile ends up with this line: > /a

Re: [CMake] Two C Compilers

2012-01-20 Thread David Cole
On Friday, January 20, 2012, John David Duncan wrote: > Hi, > > I'm looking at building a large project on Windows. I am currently able to build the whole project using CMake and Visual Studio. > > Now I'd like to add a "subproject" (or just a directory), but in this particular subdirectory the C

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread David Cole
On Friday, January 20, 2012, Michael Hertling wrote: > On 01/20/2012 01:57 PM, Dominik Szczerba wrote: >> Hi, >> >> I am building a big software framework on a cray system whereby during >> cmake "configuration" phase I need to unload certain system modules >> (so that some small test programs are

[CMake] Issue with ExternalProject_add at make_directory build

2012-01-20 Thread Chris Sigman
Hi all, I'm trying to build boost with ExternalProject_add using cmake 2.8.7, and there seems to be an error in the makefile it's generating. Specifically, in the step where it created the directories, the makefile ends up with this line: /apps/cmake/cmake-2.8.7/bin/cmake -E make_directory /wor

[CMake] Two C Compilers

2012-01-20 Thread John David Duncan
Hi, I'm looking at building a large project on Windows. I am currently able to build the whole project using CMake and Visual Studio. Now I'd like to add a "subproject" (or just a directory), but in this particular subdirectory the C language files need to be compiled with mingw (because

Re: [CMake] Fwd: building libs and specifying addition folders

2012-01-20 Thread Michael Hertling
On 01/19/2012 08:15 AM, Dev Guy wrote: > On Thu, Jan 19, 2012 at 1:01 AM, John Drescher wrote: >> -- Forwarded message -- >> From: John Drescher >> Date: Thu, Jan 19, 2012 at 1:00 AM >> Subject: Re: [CMake] building libs and specifying addition folders >> To: Dev Guy >> >> >> On

Re: [CMake] Compile multiple-sources at a time?

2012-01-20 Thread Michael Hertling
On 01/19/2012 11:09 PM, Oliver kfsone Smith wrote: > I realize not every build environment supports the option, but is there > a way to get CMake to generate Makefiles which aggregate source files, e.g. > > $ g++ -pipe -o library.a lib1.cpp lib2.cpp lib3.cpp > $ g++ -pipe -o exeutable file1.cpp f

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread Michael Hertling
On 01/20/2012 01:57 PM, Dominik Szczerba wrote: > Hi, > > I am building a big software framework on a cray system whereby during > cmake "configuration" phase I need to unload certain system modules > (so that some small test programs are allowed to run without > scheduler) and afterwards, before

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Brad King
On 1/20/2012 4:37 PM, Phil Smith wrote: I'm confused because neither of your examples has the semicolon, I was asking which one you need, so neither option has semicolons. > but what we need is: "regina.exe" "cc.rex" "dcc.exe" "CMakeCCompilerId.c" Okay. But it sounds like you're saying

Re: [CMake] Compile multiple-sources at a time?

2012-01-20 Thread Eric Noulard
2012/1/20 Oliver kfsone Smith : > Eric Noulard said the following on 1/20/2012 1:26 AM: > >> 2012/1/19 Oliver kfsone Smith: >>> >>> I realize not every build environment supports the option, but is there a >>> way to get CMake to generate Makefiles which aggregate source files, e.g. >>> >>> $ g++ -

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Phil Smith
I'm confused because neither of your examples has the semicolon, but what we need is: "regina.exe" "cc.rex" "dcc.exe" "CMakeCCompilerId.c" But it sounds like you're saying that we're not actually getting invoked as: cc.rex;dcc.exe CMakeCCompilerId.c The problem is, I can't tell what we ARE

[CMake] OS X QT Gui build question

2012-01-20 Thread Steven Wilson
When building the 2.8.7 CMake sources with the following configuration: cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=../path/to/install -DBUILD_QtDialog:BOOL=ON ../cmake I get the following error when doing a 'make install' - Installing: /Users/stevew/cmake/tmp/build/../in

Re: [CMake] CMake + Ninja

2012-01-20 Thread Clifford Yapp
Confirmed - working now on Mac building BRL-CAD - thanks! Cliff On Sat, Jan 14, 2012 at 3:25 PM, Peter Collingbourne wrote: > > I managed to test these changes on a Mac and it fixed all but 7 > test failures, so I rolled it into the ninja-generator-pr branch. > In terms of applications I didn't

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Brad King
On October 24, 2011 6:08 PM Bill Hoffman wrote: > So, right at the end it is doing this: > > C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake(96): > EXECUTE_PROCESS(COMMAND ${CMAKE_${lang}_COMPILER} ${CMAKE_${lang}_COMPILER_ID_ARG1} > ${CMAKE_${lang}_COM

[CMake] CMake beginner question

2012-01-20 Thread Ali Habib
I want to build VTK for IOS, how can I adjust the CMake files to do that, any suggestions ideas will be highly appreciated Best regards -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Phil Smith
Ah. Yes, it does solve the problem. This isn't path-related, however, it's option-related. This is on Windows. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Friday, January 20, 2012 10:03 AM To: Phil Smith Cc: Janet Graff; cmake@cmake.org; Bill Hoffman Subject:

Re: [CMake] User configuration files for Visual Studio

2012-01-20 Thread James Bigler
On Fri, Jan 20, 2012 at 9:17 AM, Robert Dailey wrote: > Any thoughts on this guys? Here are my ideas for this: > > For VS8 and VS9: > > CMake will only generate the my_project.vcproj.user files. Visual Studio > will NOT use these unless you delete your *other* user file, which is in > the format

Re: [CMake] Need a configure_string() command

2012-01-20 Thread Robert Dailey
Thanks! I wouldn't call CMake confusing, but it sure is unpredictable in how things are laid out :P - Robert Dailey On Fri, Jan 20, 2012 at 10:14 AM, David Cole wrote: > See the docs for: > > string(CONFIGURE ...) > > http://cmake.org/cmake/help/cmake-2-8-docs.html#command:string > >

Re: [CMake] User configuration files for Visual Studio

2012-01-20 Thread Robert Dailey
Any thoughts on this guys? Here are my ideas for this: For VS8 and VS9: CMake will only generate the my_project.vcproj.user files. Visual Studio will NOT use these unless you delete your *other* user file, which is in the format of: my_project.vcproj.COMPUTER.USER.user. If the user wishes to have

Re: [CMake] Need a configure_string() command

2012-01-20 Thread David Cole
See the docs for: string(CONFIGURE ...) http://cmake.org/cmake/help/cmake-2-8-docs.html#command:string That should help... :-) David On Fri, Jan 20, 2012 at 11:09 AM, Robert Dailey wrote: > I'm trying to develop some scripts that will take a portion of the > vcproj.user file, specifically

[CMake] Need a configure_string() command

2012-01-20 Thread Robert Dailey
I'm trying to develop some scripts that will take a portion of the vcproj.user file, specifically the portion, which is located in a separate file, and append it (N) number of times to a file, where N equals the number of configurations we have. Ideally I will start by using file() to read the en

Re: [CMake] parallel make -j N

2012-01-20 Thread Andrea Galeazzi
Title: korg Firma Andre Heider ha scritto: On Tue, Jan 17, 2012 at 10:32 AM, Andrea Galeazzi wrote: Yes but I'm using MinGW make (on Windows machine), the interpreter is GNU make on Windows doesn't support the jobserver, so whenever you Makefile starts another make inst

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Brad King
On 1/3/2012 1:29 PM, Phil Smith wrote: If I comment out line 29 in CMakeDetermineCompilerId.cmake, it works with my old toolchain file [snip] So -- why are semicolons being inserted? The change was discussed here: http://www.cmake.org/pipermail/cmake/2010-March/035810.html http://www.cmak

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Phil Smith
Still no answer to these questions? -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Phil Smith Sent: Tuesday, January 03, 2012 1:29 PM To: Brad King Cc: cmake@cmake.org; b...@public.kitware.com; Hoffman; Janet Graff Subject: Re: [CMake] CMake

Re: [CMake] What am I doing wrong with FIND_PATH???

2012-01-20 Thread Andreas Pakulat
On 20.01.12 08:31:52, Dick Munroe wrote: > I'm executing the following: > > FIND_PATH(ESPLANNER_INSTALL_PATH > "C:/Program Files/ESPlanner" > "E:/Program Files/ESPlanner" > ) > > Looking for the directory in which this package is installed. > > Looking at the two disks, C: and E:, I

[CMake] What am I doing wrong with FIND_PATH???

2012-01-20 Thread Dick Munroe
I'm executing the following: FIND_PATH(ESPLANNER_INSTALL_PATH "C:/Program Files/ESPlanner" "E:/Program Files/ESPlanner" ) Looking for the directory in which this package is installed. Looking at the two disks, C: and E:, I can see the following directory: E:/Program Files/ESPlanner

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread Dominik Szczerba
Hmmm I managed to force it by cmake -DCMAKE_COMMAND=/users/dsz/bin/mycmake and it indeed appears now in the cache file, but it does not seem to unload/reload the modules, so I guess it is not used instead of cmake... else how can I check if it is invoked? Thanks a lot On Fri, Jan 20, 2012 at 2

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread Dominik Szczerba
Nice idea, but this internal variable gets overwritten and resets back to the system cmake... any ideas? Thanks Dominik On Fri, Jan 20, 2012 at 2:06 PM, Rolf Eike Beer wrote: >> Hi, >> >> I am building a big software framework on a cray system whereby during >> cmake "configuration" phase I need

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread Rolf Eike Beer
> Hi, > > I am building a big software framework on a cray system whereby during > cmake "configuration" phase I need to unload certain system modules > (so that some small test programs are allowed to run without > scheduler) and afterwards, before the actual build phase starts, I > need to load t

[CMake] execute a script before and after configuration

2012-01-20 Thread Dominik Szczerba
Hi, I am building a big software framework on a cray system whereby during cmake "configuration" phase I need to unload certain system modules (so that some small test programs are allowed to run without scheduler) and afterwards, before the actual build phase starts, I need to load them back. Doi