reactos/lib/cmlib/CMakeLists.txt
Sir Richard 8235c4622d [CMAKE]: Build all the remaining host tools/libraries (I think).
[CMAKE]: Fix definitions for some libraries.
[CMAKE]: Build host tools with appropriate flags.

svn path=/branches/cmake-bringup/; revision=48268
2010-07-25 23:54:32 +00:00

18 lines
307 B
CMake

file(GLOB_RECURSE SOURCE "*.c")
add_definitions(-D_NTOSKRNL_ -D_NTSYSTEM_ -DNASSERT)
if(CMAKE_CROSSCOMPILING)
add_library(cmlib ${SOURCE})
else()
add_definitions(-DWINE_UNICODE_API= -D__NO_CTYPE_INLINES -DCMLIB_HOST)
add_library(cmlibhost ${SOURCE})
target_link_libraries(cmlibhost unicode)
endif()