Re: [CMake] Setting compiler for cmake

2013-10-04 Thread Óscar Fuentes
outro pessoa writes: > No. In the $PROJECT/CMakeFiles/2. 8.10.2 > > CMakeCCompiler.cmake 2 KB 10/01/13 03:42:34 [image: File:] > CMakeCXXCompiler.cmake 2 KB 10/01/13 03:42:35 [image: File:] > CMakeDetermineCompilerABI_C.bin 6 KB 10/01/13 03:42:34 [image: File:] > CMakeDetermineCompilerABI_CXX.bin

Re: [CMake] Setting compiler for cmake

2013-10-04 Thread outro pessoa
No. In the $PROJECT/CMakeFiles/2. 8.10.2 CMakeCCompiler.cmake 2 KB 10/01/13 03:42:34 [image: File:] CMakeCXXCompiler.cmake 2 KB 10/01/13 03:42:35 [image: File:] CMakeDetermineCompilerABI_C.bin 6 KB 10/01/13 03:42:34 [image: File:] CMakeDetermineCompilerABI_CXX.bin 6 KB 10/01/13 03:42:35 [image: Fi

Re: [CMake] How to write a correct wrapper of MESSAGE()?

2013-10-04 Thread Matthew Woehlke
On 2013-09-27 04:18, Clark WANG wrote: I'm trying to write some MESSAGE() wrappers like info(), warning(), fatal(), etc which may be a bit easier to use. But I failed to simulate the correct MESSAGE() behavior no matter I use MACRO or FUNCTION. For example: [snip] FUNCTION vs MACRO shouldn't ma

Re: [CMake] [vtkusers] Problems building Vtk on Windows 7

2013-10-04 Thread John Drescher
On Fri, Oct 4, 2013 at 10:34 AM, John Drescher wrote: > > Deleting cache and reconfiguring doesn't help... I get the same errors >> repeatedly! Why does it say that it can't recognize the C and CXX >> compilers? Do you think I should try with some vanilla Visual Studio 12 as >> opposed to the "Ul

Re: [CMake] [vtkusers] Problems building Vtk on Windows 7

2013-10-04 Thread John Drescher
> > Deleting cache and reconfiguring doesn't help... I get the same errors > repeatedly! Why does it say that it can't recognize the C and CXX > compilers? Do you think I should try with some vanilla Visual Studio 12 as > opposed to the "Ultimate" I got from MS? > > > Wait a minute. You said Visual

Re: [CMake] can start menu content depend on what components selected for install

2013-10-04 Thread West Lars-Gunnar
I finally got an answer on stackoverwflow, http://stackoverflow.com/questions/18965206/how-get-cpack-to-generate-correct-start-menu-shortcuts Now I know it is a known bug for a long time. http://public.kitware.com/Bug/print_bug_page.php?bug_id=9846 And it probably never get fixed? From: cmake-bou

Re: [CMake] Setting compiler for cmake

2013-10-04 Thread Óscar Fuentes
outro pessoa writes: > If I edit the file to use clang as the compiler instead of gcc, will the > version number be necessary or can I skip that? The libraries are for 3.2 > and 3.3. Do you mean something like: cmake -DCAMKE_C_COMPILER=clang-3.3 . ? The version number there helps when you