reactos/lib/cmlib/CMakeLists.txt
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

26 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()