mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00

- Add mscoree, msg711.acm, msgina, msgsm32.acm, msimg32, msnet32, mssign32, mssip32, msvcrt20, msvcrt40, msvfw32, msvidc32, mswsock, nddeapi, netapi32, newdev, ntdsapi, ntlanman, ntprint, olecli32, oledlg, olesvr32, olethk32, pidgen, powrprof, printui, query, rasapi32, rasdlg, rasman, resutils and samlib to build. svn path=/branches/cmake-bringup/; revision=48633
20 lines
685 B
CMake
20 lines
685 B
CMake
|
|
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
spec2def(ntdsapi ${CMAKE_CURRENT_SOURCE_DIR}/ntdsapi.spec ${CMAKE_CURRENT_BINARY_DIR}/ntdsapi.def)
|
|
|
|
add_library(ntdsapi SHARED ntdsapi.c)
|
|
|
|
set_target_properties(ntdsapi PROPERTIES LINK_FLAGS "-Wl,-entry,0")
|
|
|
|
target_link_libraries(ntdsapi
|
|
${CMAKE_CURRENT_BINARY_DIR}/ntdsapi.def
|
|
wine
|
|
-luser32
|
|
mingw_common)
|
|
|
|
add_dependencies(ntdsapi ntdsapi_def psdk)
|