reactos/lib/sdk/crt/CMakeLists.txt
Sir Richard 3b4b183c21 [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
2010-07-25 20:28:17 +00:00

17 lines
444 B
CMake

include_directories(.)
include_directories(./include)
add_definitions(-D__MINGW_IMPORT=extern)
add_definitions(-DUSE_MSVCRT_PREFIX)
add_definitions(-D_MSVCRT_LIB_)
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})