reactos/lib/cmlib/CMakeLists.txt
Amine Khaldi a633674741 [CMAKE]
- cmlib depends on bugcodes.

svn path=/branches/cmake-bringup/; revision=48302
2010-07-27 11:12:09 +00:00

18 lines
340 B
CMake

file(GLOB_RECURSE SOURCE "*.c")
add_definitions(-D_NTOSKRNL_ -D_NTSYSTEM_ -DNASSERT)
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()