Re: [CMake] CMAKE_BUILD_TYPE

2007-01-26 Thread Bill Hoffman
Brandon J. Van Every wrote: Bill Hoffman wrote: Basically, there are two types of generators, single build type per build tree, and multi- build type per tree. The variables that are useful for that are here: CMAKE_BUILD_TYPE is used by makefile generators or any future generator that

[CMake] Use of -J option with cmake generated makefiles

2007-01-26 Thread Yann Renard
Dear cmake users, I would like to use the -j option of make in order to speed up compilation process using 2 jobs better than 1 (hyperthreading processor). Problem is the console output is totally messed up (percentages, name of the file to compile/link etc...). Would you share a tip to make this

Re: [CMake] Use of -J option with cmake generated makefiles

2007-01-26 Thread Bill Hoffman
Yann Renard wrote: Dear cmake users, I would like to use the -j option of make in order to speed up compilation process using 2 jobs better than 1 (hyperthreading processor). Problem is the console output is totally messed up (percentages, name of the file to compile/link etc...). Would you

RE: [CMake] ctest, timeout per test/cmd

2007-01-26 Thread Ken Martin
Yesterday I checked in some changes to that you can specify a timeout per test if desired. Essentially... add_test ( MyTest1 ) set_tests_properties ( MyTest1 PROPERTIES TIMEOUT 100) add_test ( MyTest2 ) set_tests_properties ( MyTest2 PROPERTIES TIMEOUT 500) etc... The timeout

[CMake] Problem with NMake makefiles generator

2007-01-26 Thread Ilya Shvetsov
Hi cmake team. I am tring to use Nmake generator for my project. But generation process fails. I use cmake 2.4.6 on Windows XP Here are error log: ...\src\engine\cmake\nmakecmake -GNMake Makefiles ..\.. -- Check for CL compiler version -- Check for CL compiler version - 1400

Re: [CMake] GUIDs in VS solution files

2007-01-26 Thread Vincent Scheib
Oh, sorry, this isn't a complete solution yet. It does allow these projects to be loaded into the solution, however they will not build or run. There is a configuration Platform mismatch. If you look at the configuration management window, you'll see that C# projects have incorrectly been set to

[CMake] CMake 2.4.6 on MSYS

2007-01-26 Thread Ilya Shvetsov
Sorry for my late answer Please look at my new e-mail about this problem -- Ilya Shvetsov (mailto:[EMAIL PROTECTED]) Lead Programmer KranX Productions (http://kranx.com/) ___ CMake mailing list CMake@cmake.org

Re: [CMake] Problem with last CMake

2007-01-26 Thread Bill Hoffman
Ilya Shvetsov wrote: Hi, all. I try use last CMake 2.4.6 It fails generate MSYS Makefiles. At the same time version 2.4.3 has NO such problem. I have all last updates for MSYS and for MinGW. System is Windows XP SP2 Hear is cmake log: cmake -G MSYS Makefiles .. -- Check for working

Re: [CMake] Problem with NMake makefiles generator

2007-01-26 Thread Bill Hoffman
Ilya Shvetsov wrote: Hi cmake team. I am tring to use Nmake generator for my project. But generation process fails. I use cmake 2.4.6 on Windows XP Here are error log: ...\src\engine\cmake\nmakecmake -GNMake Makefiles ..\.. -- Check for CL compiler version -- Check for CL compiler

Re: [CMake] Problem with NMake makefiles generator

2007-01-26 Thread Ilya Shvetsov
This sounds like VS Express. Make sure you install it correctly and set all the PATHS up correctly. The NMake generator will only work from a shell that has the environment setup correctly. (For example running vcvars32.bat ) I use MSVC 2005 Standard. I run vcvars32.bat in

Re: [CMake] Problem with last CMake

2007-01-26 Thread Bill Hoffman
Ilya Shvetsov wrote: Which version of make are you using? make --version 3.80 What version of msys? uname -a -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Problem with NMake makefiles generator

2007-01-26 Thread Bill Hoffman
Ilya Shvetsov wrote: This sounds like VS Express. Make sure you install it correctly and set all the PATHS up correctly. The NMake generator will only work from a shell that has the environment setup correctly. (For example running vcvars32.bat ) I use MSVC 2005 Standard. I run

[CMake] Strange problem with parsing variables

2007-01-26 Thread wedekind
Hello all, I've encountered a strange parsing problem with a 2-month old checkout from CMake's cvs repository. Please have a look at the following sample CMakeLists.txt: SET(SOME_VAR 1) IF(SOME_VAR) MESSAGE(SOME_VAR is set to true) ENDIF(SOME_VAR) IF(NOT SOME_VAR) SET(SOME_OTHER_VAR

Re: [CMake] Problem with last CMake

2007-01-26 Thread Ilya Shvetsov
On Fri, 26 Jan 2007 17:57:19 +0200, Ilya Shvetsov [EMAIL PROTECTED] wrote: What version of msys? uname -a Sorry for inattention. I typed this command and get this CYGWIN_NT-5.1 kbi 1.5.22(0.156/4/2) 2006-11-13 17:01 i686 Cygwin May be problem is hear. No, problem some where else. I have

Re: [CMake] Problem with last CMake

2007-01-26 Thread Ilya Shvetsov
I reinstalled msys and now all works fine Thank you for your help -- Ilya Shvetsov (mailto:[EMAIL PROTECTED]) Lead Programmer KranX Productions (http://kranx.com/) ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Problem with last CMake

2007-01-26 Thread Bill Hoffman
Ilya Shvetsov wrote: On Fri, 26 Jan 2007 17:57:19 +0200, Ilya Shvetsov [EMAIL PROTECTED] wrote: What version of msys? uname -a Sorry for inattention. I typed this command and get this CYGWIN_NT-5.1 kbi 1.5.22(0.156/4/2) 2006-11-13 17:01 i686 Cygwin May be problem is hear. No, problem

Re: [CMake] Use of -J option with cmake generated makefiles

2007-01-26 Thread Mike Jackson
I use -j 2 all the time but you are right that the console is kinda messed up. I doubt that there is a real Fix for this as you are basically having two threads both write to the same console at the same time. You are just going to have to live with it. BTW. try make -j 4 or -j 8 some

Re: [CMake] CMAKE_BUILD_TYPE

2007-01-26 Thread Brandon J. Van Every
Bill Hoffman wrote: Brandon J. Van Every wrote: So I am not seeing how Debug is a default value for CMAKE_BUILD_TYPE. OK, it seems that it is the default for nmake with cl, That's consistent with Windows build culture, in that a MSVC .sln file does have Debug as the default. I don't

[CMake] Qt4, OpenGL and undefined references...

2007-01-26 Thread Andreas Nicolai
Hi there, I have trouble with the linker when using Qt4 with OpenGL widgets. The strange thing is that the same configuration file works in one project, and in the other it does not. Here is my CMakeLists.txt file for the project: --- project ( QuickView ) find_package( Qt4 REQUIRED

Re: [CMake] New CMake modules for a large variety of BLAS/LAPACK API implementations.

2007-01-26 Thread Alan W. Irwin
On 2007-01-25 23:41-0800 Alan W. Irwin wrote: For those of you with an interest in BLAS or LAPACK, please try the new FindBLAS.cmake and FindBLAS.cmake modules (and the CheckFortranFunctionExists.cmake module that defines a macro used by both of them) which can be found at

Re: [CMake] New CMake modules for a large variety of BLAS/LAPACK API implementations.

2007-01-26 Thread David C Thompson
For those of you with an interest in BLAS or LAPACK, please try the new FindBLAS.cmake and FindBLAS.cmake modules (and the CheckFortranFunctionExists.cmake module that defines a macro used by both of them) which can be found at

Re: [CMake] New CMake modules for a large variety of BLAS/LAPACK API implementations.

2007-01-26 Thread Alan W. Irwin
On 2007-01-26 22:31- David C Thompson wrote: For those of you with an interest in BLAS or LAPACK, please try the new FindBLAS.cmake and FindBLAS.cmake modules (and the CheckFortranFunctionExists.cmake module that defines a macro used by both of them) which can be found at

[CMake] Re: custom preprocessor

2007-01-26 Thread Ignacio CastaƱo
I could use something as follows: GET_FILE_DEPENDENCIES(CUDEPS ${CUFILE}) ADD_CUSTOM_COMMAND ( OUTPUT ${CFILE} COMMAND ${CUDA_COMPILER} ARGS -cuda ${cuda_includes} ${CUDA_OPTIONS} -o ${CFILE} ${CUFILE} MAIN_DEPENDENCY ${CUFILE} DEPENDS ${CUDEPS}) Where