Author: akhaldi
Date: Sun Aug 22 13:40:53 2010
New Revision: 48592
URL:
http://svn.reactos.org/svn/reactos?rev=48592&view=rev
Log:
[CMAKE]
- Manually add source file (as suggested by Colin).
- I've filed a feature request to have the same effect when still using
GLOB/GLOB_RECURSE :
http://public.kitware.com/Bug/view.php?id=11156
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] Sun Aug 22
13:40:53 2010
@@ -5,13 +5,14 @@
add_definitions(-DUNICODE -D_UNICODE)
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
-file(GLOB_RECURSE SOURCE *.c)
-list(REMOVE_ITEM SOURCE
- ${CMAKE_CURRENT_SOURCE_DIR}/fun_mpfr.c
- ${CMAKE_CURRENT_SOURCE_DIR}/rpn_mpfr.c
- ${CMAKE_CURRENT_SOURCE_DIR}/utl_mpfr.c)
-
-add_executable(calc WIN32 ${SOURCE} ${CMAKE_CURRENT_SOURCE_DIR}/resource.rc)
+add_executable(calc WIN32
+ about.c
+ convert.c
+ function.c
+ rpn.c
+ utl.c
+ winmain.c
+ resource.rc)
target_link_libraries(calc mingw_wmain
${REACTOS_SOURCE_DIR}/dll/win32/advapi32/libadvapi32.a