2010-07-25 23:05:32 +00:00
|
|
|
|
2010-11-05 18:06:25 +00:00
|
|
|
add_definitions(
|
|
|
|
-D_NTOSKRNL_
|
|
|
|
-D_NTSYSTEM_
|
|
|
|
-DNASSERT)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cminit.c
|
|
|
|
hivebin.c
|
|
|
|
hivecell.c
|
|
|
|
hiveinit.c
|
|
|
|
hivesum.c
|
|
|
|
hivewrt.c)
|
2010-07-25 23:05:32 +00:00
|
|
|
|
2010-07-25 23:54:32 +00:00
|
|
|
if(CMAKE_CROSSCOMPILING)
|
|
|
|
add_library(cmlib ${SOURCE})
|
2010-07-27 11:12:09 +00:00
|
|
|
add_dependencies(cmlib bugcodes)
|
2010-07-25 23:54:32 +00:00
|
|
|
else()
|
2010-11-05 18:06:25 +00:00
|
|
|
add_definitions(
|
|
|
|
-DWINE_UNICODE_API=
|
|
|
|
-D__NO_CTYPE_INLINES
|
|
|
|
-DCMLIB_HOST)
|
2010-07-25 23:54:32 +00:00
|
|
|
add_library(cmlibhost ${SOURCE})
|
|
|
|
target_link_libraries(cmlibhost unicode)
|
|
|
|
endif()
|