[CMake] Finding MinGW compiler libraries?

Bob Paddock bob.paddock at gmail.com
Sun Jul 27 20:44:40 EDT 2008


Non-Unicode version of program is working now, at least as far
as CMake issues are concerned.  So on to the Unicode
problem.

> wxWidgets_CONFIGURATION == mswu (msw unicode non-debug)

wxWidgets_CONFIGURATION "mswu"
wxWidgets_LIB_DIR "C:/wxWidgets-2.8.8/lib/gcc_lib"
wxWidgets_ROOT_DIR "C:/wxWidgets-2.8.8"
wxWidgets_USE_REL_AND_DBG "ON"
wxWidgets_wxrc_EXECUTABLE "wxWidgets_wxrc_EXECUTABLE-NOTFOUND"

As it shows above I have 'mswu' but I'm getting this in link.txt:

C:\wxWidgets-2.8.8\lib\gcc_lib\libwxbase28d.a
C:\wxWidgets-2.8.8\lib\gcc_lib\libwxpngd.a
...

rather than
C:\wxWidgets-2.8.8\lib\gcc_lib\libwxbase28ud.a
etc.

CMAKE_BINARY_DIR "C:/PA/Build"
CMAKE_BUILD_TOOL "C:/MinGW/bin/mingw32-make.exe"
CMAKE_BUILD_TYPE "Debug"
CMAKE_CACHEFILE_DIR "c:/PA/Build"

Now what?

A non-wxWidgets anomaly I noted is this:

SET( APPLICATION_NAME   "Part Description Aggregator" CACHE 
STRING "Application Name")

NOTFOUNDAPPLICATION_NAME ""
What did I do wrong there?

While this one came out as I expected:

SET( APPLICATION_VENDOR "The Designer-III Company" CACHE STRING "Application 
Vendor")

APPLICATION_VENDOR "The Designer-III Company"






More information about the CMake mailing list