[CMake] cmake file in build directory
John Drescher
drescherjm at gmail.com
Tue Dec 29 18:15:44 EST 2009
On Tue, Dec 29, 2009 at 6:01 PM, Hicham Mouline <hicham at 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
More information about the CMake
mailing list