[CMake] Finding libs/headers on MSYS/MinGW
Brandon J. Van Every
bvanevery at gmail.com
Mon Sep 25 20:04:43 EDT 2006
Kai Sterker wrote:
> A CMake compiled from MSYS (as opposed to cygwin) seems to be
> a native Windows App with limited knowledge of stuff like /usr/local.
Data point: I use MinGW / MSYS as my primary build environment. I use a
CMake that was compiled with Visual Studio .NET 2003, i.e. standard
issue CMake 2.4. I do not invoke CMake from a MSYS command line. I use
a shortcut and run it from outside MSYS. It picks up MSYS just fine. I
don't have the path problems you mention. Perhaps there are cases that
require you to use CMake from the MSYS command line, such as the recent
discussion about users who don't have administrative privileges.
Perhaps there are reasons to compile CMake itself under MSYS. Perhaps
CMake would be best if it is perfected under all permutations of
compilation and environment. In the meantime, you might consider using
CMake "in the standard way" to get around your problems.
Cheers,
Brandon Van Every
More information about the CMake
mailing list