Author: tkreuzer
Date: Mon Sep 20 22:35:54 2010
New Revision: 48836
URL:
http://svn.reactos.org/svn/reactos?rev=48836&view=rev
Log:
[CMAKE]
Improve calc
Modified:
branches/cmake-bringup/base/applications/calc/CMakeLists.txt
Modified: branches/cmake-bringup/base/applications/calc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/calc/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/base/applications/calc/CMakeLists.txt [iso-8859-1] Mon Sep 20
22:35:54 2010
@@ -2,7 +2,7 @@
add_definitions(-DUNICODE -D_UNICODE)
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
-add_executable(calc WIN32
+add_executable(calc
about.c
convert.c
function.c
@@ -11,12 +11,8 @@
winmain.c
resource.rc)
-target_link_libraries(calc mingw_wmain mingw_common
- -ladvapi32
- -luser32
- -lgdi32
- -lmsvcrt)
+set_module_type(calc win32gui)
-set_target_properties(calc PROPERTIES LINK_FLAGS
"-Wl,-entry,_WinMainCRTStartup")
+add_importlibs(calc advapi32 user32 gdi32 msvcrt)
add_dependencies(calc psdk)