41b1cccd9d2331598122b80b744255228c4b522f
[reactos.git] / lib / cmlib / CMakeLists.txt
1
2 file(GLOB_RECURSE SOURCE "*.c")
3
4 add_definitions(-D_NTOSKRNL_ -D_NTSYSTEM_ -DNASSERT)
5
6 if(CMAKE_CROSSCOMPILING)
7
8 add_library(cmlib ${SOURCE})
9
10 else()
11
12 add_definitions(-DWINE_UNICODE_API= -D__NO_CTYPE_INLINES -DCMLIB_HOST)
13 add_library(cmlibhost ${SOURCE})
14 target_link_libraries(cmlibhost unicode)
15
16 endif()
17