On 03/09/2011 07:09 PM, Michael Hertling wrote: > On 03/09/2011 05:54 PM, Pierre Abbat wrote: >> On Wednesday 09 March 2011 10:22:50 Michael Wild wrote: >>> Make the ~/tone12/CMakeLists.txt your main CMake file (i.e. put the >>> project() command in there and all other commands that apply to the >>> whole project) and add a "add_subdirectory(src)" call, and then call >>> CMake with "cmake .." instead. >> >> Doesn't work. config.h is in ~/tone12/build as before, but it says it can't >> find it, and with VERBOSE=1 it appears to be compiling the file into >> ~/tone12/src/, which shouldn't exist. The package contains everything in >> ~/tone12/build and lots of temporary files, which shouldn't be in a package. >> >> Pierre > > Could you boil down your project to a minimal but complete example > which demonstrates the issues with the header not being found and > the files not being placed properly and post it here? > > Regards, > > Michael
IMHO this is a typical case of someone being too lazy to RTFM, just trying to stumble his way through... Sorry for the harsh words, but you REALLY should type "man cmake" and read, read, read... Michael _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake