reactos/lib/cmlib/CMakeLists.txt
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

27 lines
479 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)
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()