reactos/lib/cmlib/CMakeLists.txt
Amine Khaldi ddb3d908c9 * Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
svn path=/branches/shell-experiments/; revision=62286
2014-02-22 10:31:26 +00:00

28 lines
498 B
CMake

add_definitions(
-D_NTOSKRNL_
-D_NTSYSTEM_
-DNASSERT)
list(APPEND SOURCE
cminit.c
cmtools.c
hivebin.c
hivecell.c
hiveinit.c
hivesum.c
hivewrt.c
cmlib.h)
if(CMAKE_CROSSCOMPILING)
add_library(cmlib ${SOURCE})
add_dependencies(cmlib bugcodes)
add_pch(cmlib cmlib.h SOURCE)
else()
add_definitions(
-D__NO_CTYPE_INLINES
-DCMLIB_HOST)
add_library(cmlibhost ${SOURCE})
target_link_libraries(cmlibhost unicode)
endif()