mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00

- Delete an unneeded lib.mak - Don't build bin2c, we don't seem to need it. - A minor cleanup, no functionality change intended. svn path=/branches/cmake-bringup/; revision=50308
25 lines
466 B
CMake
25 lines
466 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(
|
|
-DWINE_UNICODE_API=
|
|
-D__NO_CTYPE_INLINES
|
|
-DCMLIB_HOST)
|
|
add_library(cmlibhost ${SOURCE})
|
|
target_link_libraries(cmlibhost unicode)
|
|
endif()
|