[CMake] make file for win32 MDI application
Gonzalo Garramuño
ggarra at advancedsl.com.ar
Fri Oct 19 00:29:09 EDT 2007
Mark Wyszomierski wrote:
> Hi,
>
> When the application you're building the makefile for is an MDI
> application, how do you;
>
> 1) Set the sub system to be:
>
> Windows (/SUBSYSTEM:WINDOWS)
>
ADD_EXECUTABLE( myexe WIN32 )
>
>
> linking to these libs in my MDI projects give produce a lot of linking
> errors. Is there any way to omit them?
>
In principle they shouldn't as that's the standard stuff used by windows
itself when you create a gui project.
If you do want to omit them, change the value of
CMAKE_C_STANDARD_LIBRARIES_INIT (see Modules/Platform/Windows-cl.cmake )
--
Gonzalo Garramuño
ggarra at advancedsl.com.ar
AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy
More information about the CMake
mailing list