Re: [CMake] Enhancement submission...

2006-12-28 Thread Andreas Schneider
Mike Jackson wrote: Hi Mike, Looks pretty good but what if I only need to link against one library from Boost? looking at that script it looks as though I will end up linking against all of them? Then you haven't really looked at the code. ${BOOST_LIBARIES} is the variable which holds all

[CMake] Mixing c and c++ with MinGW

2006-12-28 Thread Werner Smekal
Hi, it is normally possible to mix c and c++ in a project with the GNU compiler. Normally you compile c files with gcc and c++ files with g++ and than link all together with g++. In our project (plplot) we allow c++ code into the mainly c code library under some circumstances - everything

Re: [CMake] Mixing c and c++ with MinGW

2006-12-28 Thread Bill Hoffman
Werner Smekal wrote: Hi, it is normally possible to mix c and c++ in a project with the GNU compiler. Normally you compile c files with gcc and c++ files with g++ and than link all together with g++. In our project (plplot) we allow c++ code into the mainly c code library under some

[CMake] add_custom_target is executed during make install

2006-12-28 Thread Jbd
Hello everybody. I'm running cmake version 2.4-patch 3. I've got a problem. I'm quite sure i'm not using the good way to do it. I need to call a shell script during the building process. # First, i'm generating some files using a python script # After that, i've got a generated Makefile in the