mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 21:34:00 +00:00
4f0b8d3db0
svn path=/branches/ntvdm/; revision=59241
25 lines
465 B
CMake
25 lines
465 B
CMake
|
|
add_definitions(
|
|
-D_NTOSKRNL_
|
|
-D_NTSYSTEM_
|
|
-DNASSERT)
|
|
|
|
list(APPEND SOURCE
|
|
cminit.c
|
|
hivebin.c
|
|
hivecell.c
|
|
hiveinit.c
|
|
hivesum.c
|
|
hivewrt.c)
|
|
|
|
if(CMAKE_CROSSCOMPILING)
|
|
add_library(cmlib ${SOURCE})
|
|
add_dependencies(cmlib bugcodes)
|
|
add_pch(cmlib cmlib.h)
|
|
else()
|
|
add_definitions(
|
|
-D__NO_CTYPE_INLINES
|
|
-DCMLIB_HOST)
|
|
add_library(cmlibhost ${SOURCE})
|
|
target_link_libraries(cmlibhost unicode)
|
|
endif()
|