Re: [CMake] cmake 2.6: add_custom_command - add_custom_target

2010-01-01 Thread Spicy
Thanks a lot Alan, this solved the issue and also my original problem concerning the pot target. > Yes. replace bla.txt everywhere by ${CMAKE_CURRENT_BINARY_DIR}/bla.txt, It is sufficient to specify the path for add_custom_target, i.e. --8<---CMakeLists.txt cmake_minimum_req

[CMake] cmake 2.6: add_custom_command - add_custom_target

2009-12-31 Thread Spicy
Hi cmakers, I decided to start a new project using cmake. While I got a lot of things going quickly, some things are taking me to despair. The current issue has a couple of web hits, but either I misunderstand something critical or cmake 2.6 (as of current Debian Lenny) is broken: --8<---CMa