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

2013-10-09 Thread Clark WANG
On Wed, Oct 9, 2013 at 7:44 PM, Johannes Zarl wrote: > I guess you search for something like this: > > function(info) > set(msg) > foreach(i RANGE ${ARGC}) > set(msg "${msg}${ARGV${i}}") > endforeach() > message(STATUS "[info] ${msg}") > endfunction() > > message("Foo:bar;

Re: [CMake] Building CMake on Cray XE6

2013-10-09 Thread Bill Hoffman
On 10/9/2013 2:52 PM, Rolf Eike Beer wrote: /usr/src/packages/BUILD/ncurses-5.6/ncurses/../ncurses/./base/lib_mouse.c:432: >undefined reference to `dlopen' Just guessing: your system libcurses is broken or requires linking to a different libc or something. Try building without it. Looks like it

Re: [CMake] Building CMake on Cray XE6

2013-10-09 Thread Rolf Eike Beer
On Wed Oct  9 18:08:36 2013 Pettey . Lucas wrote: > Hello! > > I am trying to build Cmake 2.8.11.2 on a Cray XE6. I am using the GCC > 4.8.0 compiler. I have tried both the ./bootstrap and CMake 2.8.4 to > generate the makefile. I get the same error: > > Linking CXX executable ../bin/ccmake [.

[CMake] Building CMake on Cray XE6

2013-10-09 Thread Pettey . Lucas
Hello! I am trying to build Cmake 2.8.11.2 on a Cray XE6. I am using the GCC 4.8.0 compiler. I have tried both the ./bootstrap and CMake 2.8.4 to generate the makefile. I get the same error: Linking CXX executable ../bin/ccmake cd /u/lpettey/cmake-2.8.11.2/Source && /lustre/home1/local/usp/PET

[CMake] Create not builded executable in Visual Studio

2013-10-09 Thread Theo Diefenthal
Hi there, sometimes I like to debug my executable in two instances simultaneously. E.g. if I have a function which works sometimes and sometimes not, I like to grab both cases and go through it step by step. In Visual Studio, it is not trivial, but also not too hard, to setup a project twice in o

Re: [CMake] Problem using VS 2012 Express and CMake

2013-10-09 Thread Óscar Fuentes
Aaron Nowack writes: > Has anyone been able to get the newest cmake release (2.8.11.2) working > with Visual Studio 2013 Express RC? Since yesterday, the newest cmake release is 2.8.12. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.o

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

2013-10-09 Thread Johannes Zarl
I guess you search for something like this: function(info) set(msg) foreach(i RANGE ${ARGC}) set(msg "${msg}${ARGV${i}}") endforeach() message(STATUS "[info] ${msg}") endfunction() message("Foo:bar;baz space" "FOO") info("Foo:bar;baz space" "FOO") message(two words) info(t