From: Sir Richard Date: Sun, 25 Jul 2010 20:28:17 +0000 (+0000) Subject: [CMAKE]: CRT can now be built! Our first cross-compile target. X-Git-Tag: backups/GSoC_2011/GSoC_Themes@51550~985 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=3b4b183c21901564ce6b399fc0e9918cea5545e0;hp=13187ac941d7aaba6a02839b2803f2eba3882e09 [CMAKE]: CRT can now be built! Our first cross-compile target. [CMAKE]: Next steps should be to bring all the compiler settings/defines that aren't yet being used, to add per-architecture file tracking, and to enable precompiled header support. svn path=/branches/cmake-bringup/; revision=48262 --- diff --git a/lib/sdk/crt/CMakeLists.txt b/lib/sdk/crt/CMakeLists.txt index be426bca03b..8ee9f807eb1 100644 --- a/lib/sdk/crt/CMakeLists.txt +++ b/lib/sdk/crt/CMakeLists.txt @@ -9,7 +9,8 @@ add_definitions(-D_MSVCRT_) add_definitions(-D_MT) add_definitions(-D_CRTBLD) - file(GLOB_RECURSE SOURCE "*.c") +LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/stdio/findgen.c) +LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/string/strtold.c) add_library(crt ${SOURCE})