reactos/reactos/dll/win32/ntlanman/CMakeLists.txt
Jérôme Gardou 01a4049405 [CMAKE]
- unify spec2def and add_importlib_target, thanks to cmake_parse_arguments.
  - also generate stub files only when necessary.
  - better precompiled header support, commented out as it wasn't tested on any other machine than mine, and it depends on cmake features which don't exist yet.
For now only for gcc toolchain

svn path=/trunk/; revision=52460
2011-06-25 18:34:03 +00:00

21 lines
452 B
CMake

set_unicode()
spec2def(ntlanman.dll ntlanman.spec GENERATE_STUBS)
list(APPEND SOURCE
ntlanman.c
ntlanman.rc
${CMAKE_CURRENT_BINARY_DIR}/ntlanman_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/ntlanman.def)
add_library(ntlanman SHARED ${SOURCE})
set_module_type(ntlanman win32dll)
target_link_libraries(ntlanman wine)
add_importlibs(ntlanman netapi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET ntlanman DESTINATION reactos/system32 FOR all)