[UNICODE]
[reactos.git] / reactos / lib / cmlib / CMakeLists.txt
1
2 add_definitions(
3 -D_NTOSKRNL_
4 -D_NTSYSTEM_
5 -DNASSERT)
6
7 list(APPEND SOURCE
8 cminit.c
9 hivebin.c
10 hivecell.c
11 hiveinit.c
12 hivesum.c
13 hivewrt.c)
14
15 if(CMAKE_CROSSCOMPILING)
16 add_library(cmlib ${SOURCE})
17 add_dependencies(cmlib bugcodes)
18 else()
19 add_definitions(
20 -D__NO_CTYPE_INLINES
21 -DCMLIB_HOST)
22 add_library(cmlibhost ${SOURCE})
23 target_link_libraries(cmlibhost unicode)
24 endif()