[CMake] make file for win32 MDI application
Mark Wyszomierski
markww at gmail.com
Thu Oct 18 23:47:29 EDT 2007
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)
in visual studio, this option is found under
Project -> Linker -> System -> Sub System
if not set, the MDI (or any other GUI interface app) will have an
identity crisis and become a console application.
2) Some default libs seem to be added to the linker settings even
though not specified in the make file:
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib
linking to these libs in my MDI projects give produce a lot of linking
errors. Is there any way to omit them?
Thanks,
Mark
More information about the CMake
mailing list