reactos/lib/cmlib/CMakeLists.txt
Amine Khaldi 9fa710c813 * Sync with recent trunk (r52637).
svn path=/branches/GSoC_2011/ThemesSupport/; revision=52643
2011-07-11 19:40:43 +00:00

25 lines
438 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)
else()
add_definitions(
-D__NO_CTYPE_INLINES
-DCMLIB_HOST)
add_library(cmlibhost ${SOURCE})
target_link_libraries(cmlibhost unicode)
endif()