On Tue, Dec 29, 2009 at 6:01 PM, Hicham Mouline <hic...@mouline.org> wrote: > Hello, > > I am writing software that uses boost and Qt and other 3rd party libraries > for win/mingw, win/msvc2008 and linux/gcc. > The location of the 3rd party header files is different on each of the boxes > I compile on. > > Is there a file to put in the build directory? Is such a file automatically > read by cmake, or does it need to be included explicitly by the source dir > CMakeLists.txt? > > Does one call the find modules explicitly? or just define for e..g BOOSTROOT ? >
I call finders in my master CMakeLists.txt file and do not put any files in any of the build trees for any of the compilers I use. On windows (because there is no standard library install location) a lot of times this means I need to either manually find the dependencies when I run cmake-gui or define BOOST_ROOT, ITK_DIR ... in my environment variables. John _______________________________________________ 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