mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
b819608ed8
svn path=/branches/condrv_restructure/; revision=63104
27 lines
498 B
CMake
27 lines
498 B
CMake
|
|
add_definitions(
|
|
-D_NTOSKRNL_
|
|
-D_NTSYSTEM_
|
|
-DNASSERT)
|
|
|
|
list(APPEND SOURCE
|
|
cminit.c
|
|
cmtools.c
|
|
hivebin.c
|
|
hivecell.c
|
|
hiveinit.c
|
|
hivesum.c
|
|
hivewrt.c
|
|
cmlib.h)
|
|
|
|
if(CMAKE_CROSSCOMPILING)
|
|
add_library(cmlib ${SOURCE})
|
|
add_dependencies(cmlib bugcodes)
|
|
add_pch(cmlib cmlib.h SOURCE)
|
|
else()
|
|
add_definitions(
|
|
-D__NO_CTYPE_INLINES
|
|
-DCMLIB_HOST)
|
|
add_library(cmlibhost ${SOURCE})
|
|
target_link_libraries(cmlibhost unicode)
|
|
endif()
|