mirror of
https://github.com/reactos/reactos.git
synced 2024-09-20 17:51:53 +00:00
3b4b183c21
[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
17 lines
444 B
CMake
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})
|