mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 10:07:17 +00:00
![Amine Khaldi](/assets/img/avatar_default.png)
- Add fmifs, fusion, getuname, hid, httpapi, iccvid, icmp, imaadp32.acm, imagehlp, imm32, initpki, iphlpapi, itircl, loadperf, lpk, lz32, mapi32, mciavi32, mcicda and mciqtz32 to build. svn path=/branches/cmake-bringup/; revision=48608
26 lines
861 B
CMake
26 lines
861 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")
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(mciqtz32 ${CMAKE_CURRENT_SOURCE_DIR}/mciqtz32.spec ${CMAKE_CURRENT_BINARY_DIR}/mciqtz32.def)
|
|
|
|
add_library(mciqtz32 SHARED mciqtz.c version.rc)
|
|
|
|
set_target_properties(mciqtz32 PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
|
|
|
target_link_libraries(mciqtz32
|
|
${CMAKE_CURRENT_BINARY_DIR}/mciqtz32.def
|
|
wine
|
|
-lwinmm
|
|
-loleaut32
|
|
-lole32
|
|
strmiids
|
|
mingw_common
|
|
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
|
|
${REACTOS_SOURCE_DIR}/dll/win32/gdi32/libgdi32.a)
|
|
|
|
add_dependencies(mciqtz32 mciqtz32_def psdk)
|