From 2b502543409efb9aa7689b260e2b6a58148fc718 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 22 Aug 2010 13:40:53 +0000 Subject: [PATCH] [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 svn path=/branches/cmake-bringup/; revision=48592 --- base/applications/calc/CMakeLists.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/base/applications/calc/CMakeLists.txt b/base/applications/calc/CMakeLists.txt index 8974fb2e4a1..720baf07349 100644 --- a/base/applications/calc/CMakeLists.txt +++ b/base/applications/calc/CMakeLists.txt @@ -5,13 +5,14 @@ set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs -nostdlib -Wl,-entry,_WinMainCRTStart 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