[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
This commit is contained in:
Sir Richard 2010-07-25 20:28:17 +00:00
parent 13187ac941
commit 3b4b183c21

View file

@ -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})