RE: [CMake] Cmake Editor for Eclipse

2007-05-13 Thread Trevor Kellaway
Hi, > > > ... alas it doesn't seem to work for me (using Eclipse > > > Version: 3.2.2 under Windows) Followup, the CMake Editor plug-in for Eclipse is now working on two of my three machines, I've yet to determine why it is failing on one of them. - TrevK ___

[CMake] Finding static library on Linux/gcc

2007-05-13 Thread Nikita V. Borodikhin
Hello, I want to build my program as static binary on Release build and dynamic otherwide. While I building it I also want to check CPPUnit-based unit tests execution result but unit tests are broken on Release. I build Release with additional linker flag: CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=-s

Re: [CMake] Portable deactivation of C++ check

2007-05-13 Thread Alan W. Irwin
On 2007-05-13 17:29+0200 Eduard Bloch wrote: Hello, I stumbled over a problem with the current CMake. It just fails if no CXX compiler is installed! Sometimes I would like not to depend on a C++ compiler because it is just not used. PROJECT(projectname C) Alan __ Ala

[CMake] Portable deactivation of C++ check

2007-05-13 Thread Eduard Bloch
Hello, I stumbled over a problem with the current CMake. It just fails if no CXX compiler is installed! Sometimes I would like not to depend on a C++ compiler because it is just not used. What is the portable solution to work around that? A simple one may be setting -DCMAKE_CXX_COMPILER=/bin/true