2011/1/18 luxInteg <lux-in...@btconnect.com>: > Greetings, > > I am learning cmake. I progressed to doing configH checks (libtool to cmake > conversion). I have followed useful tips I obtained from this list and this > link:- > > http://www.cmake.org/Wiki/CMake:How_To_Write_Platform_Checks > > > I have a test project with the following features > > --it generates a build.h instead of a config.h (where it got the instruction > to generate the said build..h from? -I do not know)
Usually the "whatever.h" file is generated from a "whatever.h.in" or "whatever.h.cmake" which is processed by configure_file after the various checks were done. May be you can post your CMakeLists.txt here if it's not too big? > --the libtool build has these switches -MT -MD -MP but setting these as > definitions to the migrated cmake setup leads to compile falure What is your platform/compiler target? Linux/gcc, Windows/Visual etc... I bet the " -MT -MD -MP" options are specific to the compiler use, did you check the documentation of the compiler? Are you compiling C or C++? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ 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