mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:05:42 +00:00
[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
This commit is contained in:
parent
6e4d96514e
commit
2b50254340
1 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue