[CMake] "simple test program" does not consider LINK_DIRECTORIES

William A. Hoffman billlist at nycap.rr.com
Wed Aug 9 22:51:07 EDT 2006


At 09:14 PM 8/9/2006, Brandon J. Van Every wrote:
>William A. Hoffman wrote: 
>
>The bad appearance probably doesn't happen so much in practice with VS .NET 2003, because people typically install a Platform SDK somewhere along the way, for whatever reason they need it.  The PSDK provides pathnames and a user32.lib and configures VS appropriately.  The bad appearance is going to happen anytime someone just installs a compiler and then just tries to use it right away, sans PSDK.  True of people trying out Express Edition, and also true of multi-compiler Windows developers trying to keep their MinGW, MSVC, and Cygwin installations separate.


CMake relys on a correctly installed compiler.   If you can create a simple project with the VS GUI,
and it works, and CMake does not, then it is CMake's fault.  If you create the simple project with
the VS IDE and it can not find key libraries from the SDK, then your compiler is not installed 
correctly.   

BTW, the professional versions of the compiler do install and ship with the SDK.

-Bill




More information about the CMake mailing list