mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00

- More work on the dlls. - libgcc is already a standard C lib, don't relink to it for executables. - ICU isn't needed for now, disable it. svn path=/branches/cmake-bringup/; revision=49059
14 lines
438 B
CMake
14 lines
438 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
spec2def(samlib ${CMAKE_CURRENT_SOURCE_DIR}/samlib.spec ${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
|
|
|
|
add_library(samlib SHARED dllmain.c samlib.c samlib.rc)
|
|
|
|
set_module_type(samlib win32dll)
|
|
|
|
target_link_libraries(samlib ${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
|
|
|
|
add_importlibs(samlib advapi32 kernel32 ntdll)
|
|
add_dependencies(samlib samlib_def)
|