- 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
-DWIN32
-D__WINDRES__)
-#add_pch(explorer precomp.h)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
list(APPEND SOURCE
uuid)
add_importlibs(explorer advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 notifyhook msvcrt kernel32 ntdll)
+#hack
+set(IS_CPP 1)
+add_pch(explorer precomp.h)
+set(IS_CPP)
set_image_base(explorer 0x00400000)
add_dependencies(explorer psdk)
add_cd_file(TARGET explorer DESTINATION reactos FOR all)
add_definitions(-D_NOTIFYHOOK_IMPL)
-spec2def(notifyhook.dll notifyhook.spec)
+spec2def(notifyhook.dll notifyhook.spec ADD_IMPORTLIB)
list(APPEND SOURCE
notifyhook.c
macro(add_importlib_target _exports_file)
- get_filename_component(_name ${_exports_file} NAME_WE)
- get_filename_component(_extension ${_exports_file} EXT)
- get_target_property(_suffix ${_name} SUFFIX)
- if(${_suffix} STREQUAL "_suffix-NOTFOUND")
- get_target_property(_type ${_name} TYPE)
- if(${_type} MATCHES EXECUTABLE)
- set(_suffix ".exe")
- else()
- set(_suffix ".dll")
- endif()
- endif()
-
- if (${_extension} STREQUAL ".spec")
-
- # Normal importlib creation
- add_custom_command(
- OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
- COMMAND native-spec2def -n=${_name}${_suffix} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}
- COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
-
- # Delayed importlib creation
- add_custom_command(
- OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
- COMMAND native-spec2def -n=${_name}${_suffix} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}_delayed_implib.def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}
- COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}_delayed_implib.def --kill-at --output-delaylib ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
-
- elseif(${_extension} STREQUAL ".def")
- message("Use of def files for import libs is deprecated: ${_exports_file}")
- add_custom_command(
- OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
- COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file} --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
- add_custom_command(
- OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
- COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file} --kill-at --output-delaylib ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
- else()
- message(FATAL_ERROR "Unsupported exports file extension: ${_extension}")
- endif()
-
- # Normal importlib target
- add_custom_target(
- lib${_name}
- DEPENDS ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a)
- # Delayed importlib target
- add_custom_target(
- lib${_name}_delayed
- DEPENDS ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a)
+ # get_filename_component(_name ${_exports_file} NAME_WE)
+ # get_filename_component(_extension ${_exports_file} EXT)
+ # get_target_property(_suffix ${_name} SUFFIX)
+ # if(${_suffix} STREQUAL "_suffix-NOTFOUND")
+ # get_target_property(_type ${_name} TYPE)
+ # if(${_type} MATCHES EXECUTABLE)
+ # set(_suffix ".exe")
+ # else()
+ # set(_suffix ".dll")
+ # endif()
+ # endif()
+
+ # if (${_extension} STREQUAL ".spec")
+
+ # # Normal importlib creation
+ # add_custom_command(
+ # OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
+ # COMMAND native-spec2def -n=${_name}${_suffix} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}
+ # COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
+ # DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
+
+ # # Delayed importlib creation
+ # add_custom_command(
+ # OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
+ # COMMAND native-spec2def -n=${_name}${_suffix} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}_delayed_implib.def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}
+ # COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}_delayed_implib.def --kill-at --output-delaylib ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
+ # DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
+
+ # elseif(${_extension} STREQUAL ".def")
+ # message("Use of def files for import libs is deprecated: ${_exports_file}")
+ # add_custom_command(
+ # OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
+ # COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file} --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
+ # DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
+ # add_custom_command(
+ # OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
+ # COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file} --kill-at --output-delaylib ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
+ # DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
+ # else()
+ # message(FATAL_ERROR "Unsupported exports file extension: ${_extension}")
+ # endif()
+
+ # # Normal importlib target
+ # add_custom_target(
+ # lib${_name}
+ # DEPENDS ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a)
+ # # Delayed importlib target
+ # add_custom_target(
+ # lib${_name}_delayed
+ # DEPENDS ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a)
endmacro()
macro(spec2def _dllname _spec_file)
+ cmake_parse_arguments(__s2d "ADD_IMPORTLIB;GENERATE_STUBS" "" "" ${ARGN})
get_filename_component(_file ${_spec_file} NAME_WE)
+ list(APPEND __output ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def)
+ list(APPEND __args -n=${_dllname} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_file}.def)
+ #Generate stubs only if needed
+ if(__s2d_GENERATE_STUBS)
+ list(APPEND __output ${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c)
+ list(APPEND __args -s=${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c)
+ set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c PROPERTIES GENERATED TRUE)
+ endif()
add_custom_command(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def ${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c
- COMMAND native-spec2def -n=${_dllname} --kill-at -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_file}.def -s=${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file}
+ OUTPUT ${__output}
+ COMMAND native-spec2def ${__args} ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file})
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}.def
- PROPERTIES GENERATED TRUE EXTERNAL_OBJECT TRUE)
- set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c PROPERTIES GENERATED TRUE)
+ PROPERTIES EXTERNAL_OBJECT TRUE)
+ if(__s2d_ADD_IMPORTLIB)
+ get_filename_component(_name ${_dllname} NAME_WE)
+ add_custom_target(lib${_name}
+ COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def)
+ add_custom_target(lib${_name}_delayed
+ COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def --kill-at --output-delaylib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}_delayed.a
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def)
+ endif()
+
endmacro()
macro(macro_mc FILE)
list(APPEND ${_out_compile_flags} -D${item})
endforeach()
endif()
+
+ if(IS_CPP)
+ list(APPEND ${_out_compile_flags} ${CMAKE_CXX_FLAGS})
+ else()
+ list(APPEND ${_out_compile_flags} ${CMAKE_C_FLAGS})
+ endif()
separate_arguments(${_out_compile_flags})
endmacro()
macro(add_pch _target_name _FILE)
- #set(_header_filename ${CMAKE_CURRENT_SOURCE_DIR}/${_FILE})
- #get_filename_component(_basename ${_FILE} NAME)
- #set(_gch_filename ${_basename}.gch)
- #_PCH_GET_COMPILE_FLAGS(${_target_name} _args ${_header_filename})
-
- #add_custom_command(OUTPUT ${_gch_filename} COMMAND ${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1} ${_args} DEPENDS ${_header_filename})
- #get_target_property(_src_files ${_target_name} SOURCES)
- #set_source_files_properties(${_src_files} PROPERTIES COMPILE_FLAGS "-Winvalid-pch -fpch-preprocess" #OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_gch_filename})
- #add_linkerflag(${_target_name} "${_gch_filename}")
+if(__some_non_existent_variable)
+ set(_header_filename ${CMAKE_CURRENT_SOURCE_DIR}/${_FILE})
+ get_filename_component(_basename ${_FILE} NAME)
+ set(_gch_filename ${_basename}.gch)
+ _PCH_GET_COMPILE_FLAGS(${_target_name} _args ${_header_filename})
+
+ if(IS_CPP)
+ set(__lang CXX)
+ set(__compiler ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1})
+ else()
+ set(__lang C)
+ set(__compiler ${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1})
+ endif()
+
+ add_custom_command(OUTPUT ${_gch_filename} COMMAND ${__compiler} ${_args} IMPLICIT_DEPENDS ${__lang} ${_header_filename})
+ get_target_property(_src_files ${_target_name} SOURCES)
+ foreach(_item in ${_src_files})
+ get_source_file_property(__src_lang ${_item} LANGUAGE)
+ if(__src_lang STREQUAL __lang)
+ set_source_files_properties(${_item} PROPERTIES COMPILE_FLAGS "-Winvalid-pch -fpch-preprocess" OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_gch_filename})
+ endif()
+ endforeach()
+ #set dependency checking : depends on precompiled header only whixh already depends on deeper header
+ set_target_properties(${_target_name} PROPERTIES IMPLICIT_DEPENDS_INCLUDE_TRANSFORM "\"${_basename}\"=;<${_basename}>=")
+endif()
endmacro()
macro(CreateBootSectorTarget _target_name _asm_file _object_file _base_address)
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(inetcpl.cpl inetcpl.spec)
+spec2def(inetcpl.cpl inetcpl.spec GENERATE_STUBS)
list(APPEND SOURCE
inetcpl.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(dinput.dll dinput.spec)
+spec2def(dinput.dll dinput.spec ADD_IMPORTLIB)
add_library(dinput SHARED
data_formats.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(dinput8.dll dinput8.spec)
+spec2def(dinput8.dll dinput8.spec ADD_IMPORTLIB)
add_library(dinput8 SHARED
dinput8_main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(dplay.dll dplay.spec)
+spec2def(dplay.dll dplay.spec ADD_IMPORTLIB)
add_library(dplay SHARED
dplay_main.c
set_rc_compiler()
-spec2def(dplayx.dll dplayx.spec)
+spec2def(dplayx.dll dplayx.spec ADD_IMPORTLIB)
list(APPEND SOURCE
dpclassfactory.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(dsound.dll dsound.spec)
+spec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
add_library(dsound SHARED
buffer.c
-spec2def(ksuser.dll ksuser.spec)
+spec2def(ksuser.dll ksuser.spec ADD_IMPORTLIB)
add_library(ksuser SHARED ksuser.c ksuser.rc ${CMAKE_CURRENT_BINARY_DIR}/ksuser.def)
set_rc_compiler()
-spec2def(d3d9.dll d3d9.spec)
+spec2def(d3d9.dll d3d9.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
buffer.c
set_rc_compiler()
-spec2def(d3dx9_24.dll d3dx9_24.spec)
+spec2def(d3dx9_24.dll d3dx9_24.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_24_main.c
set_rc_compiler()
-spec2def(d3dx9_25.dll d3dx9_25.spec)
+spec2def(d3dx9_25.dll d3dx9_25.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_25_main.c
set_rc_compiler()
-spec2def(d3dx9_26.dll d3dx9_26.spec)
+spec2def(d3dx9_26.dll d3dx9_26.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_26_main.c
set_rc_compiler()
-spec2def(d3dx9_27.dll d3dx9_27.spec)
+spec2def(d3dx9_27.dll d3dx9_27.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_27_main.c
set_rc_compiler()
-spec2def(d3dx9_28.dll d3dx9_28.spec)
+spec2def(d3dx9_28.dll d3dx9_28.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_28_main.c
set_rc_compiler()
-spec2def(d3dx9_29.dll d3dx9_29.spec)
+spec2def(d3dx9_29.dll d3dx9_29.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_29_main.c
set_rc_compiler()
-spec2def(d3dx9_30.dll d3dx9_30.spec)
+spec2def(d3dx9_30.dll d3dx9_30.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_30_main.c
set_rc_compiler()
-spec2def(d3dx9_31.dll d3dx9_31.spec)
+spec2def(d3dx9_31.dll d3dx9_31.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_31_main.c
set_rc_compiler()
-spec2def(d3dx9_32.dll d3dx9_32.spec)
+spec2def(d3dx9_32.dll d3dx9_32.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_32_main.c
set_rc_compiler()
-spec2def(d3dx9_33.dll d3dx9_33.spec)
+spec2def(d3dx9_33.dll d3dx9_33.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_33_main.c
set_rc_compiler()
-spec2def(d3dx9_34.dll d3dx9_34.spec)
+spec2def(d3dx9_34.dll d3dx9_34.spec GENERATE_STUBS)
list(APPEND SOURCE
d3dx9_34_main.c
set_rc_compiler()
-spec2def(d3dx9_36.dll d3dx9_36.spec)
+spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
core.c
set_rc_compiler()
-spec2def(ddraw.dll ddraw.spec)
+spec2def(ddraw.dll ddraw.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
clipper.c
add_definitions(-Disinf=!_finite)
endif()
-spec2def(wined3d.dll wined3d.spec)
+spec2def(wined3d.dll wined3d.spec ADD_IMPORTLIB)
list(APPEND SOURCE
ati_fragment_shader.c
-spec2def(ntdll.dll def/ntdll.spec)
+spec2def(ntdll.dll def/ntdll.spec ADD_IMPORTLIB)
add_definitions(
-D__NTDLL__
set_unicode()
set_rc_compiler()
-spec2def(acledit.dll acledit.spec)
+spec2def(acledit.dll acledit.spec ADD_IMPORTLIB)
list(APPEND SOURCE
acledit.c
-spec2def(aclui.dll aclui.spec)
+spec2def(aclui.dll aclui.spec ADD_IMPORTLIB)
set_rc_compiler()
set_unicode()
set_unicode()
-spec2def(advapi32.dll advapi32.spec)
+spec2def(advapi32.dll advapi32.spec ADD_IMPORTLIB GENERATE_STUBS)
add_definitions(-D_ADVAPI32_)
generate_idl_iids(atliface.idl)
set_rc_compiler()
-spec2def(atl.dll atl.spec)
+spec2def(atl.dll atl.spec ADD_IMPORTLIB)
list(APPEND SOURCE
atl_ax.c
set_unicode()
-spec2def(authz.dll authz.spec)
+spec2def(authz.dll authz.spec GENERATE_STUBS)
list(APPEND SOURCE
authz.c
-spec2def(avicap32.dll avicap32.spec)
+spec2def(avicap32.dll avicap32.spec ADD_IMPORTLIB)
set_unicode()
set_rc_compiler()
-spec2def(avifil32.dll avifil32.spec)
+spec2def(avifil32.dll avifil32.spec ADD_IMPORTLIB)
add_library(avifil32 SHARED
acmstream.c
-spec2def(batt.dll batt.spec)
+spec2def(batt.dll batt.spec ADD_IMPORTLIB)
set_unicode()
set_rc_compiler()
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
-spec2def(bcrypt.dll bcrypt.spec)
+spec2def(bcrypt.dll bcrypt.spec GENERATE_STUBS)
list(APPEND SOURCE
bcrypt_main.c
set_unicode()
-spec2def(beepmidi.dll beepmidi.spec)
+spec2def(beepmidi.dll beepmidi.spec ADD_IMPORTLIB)
list(APPEND SOURCE
beepmidi.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(cabinet.dll cabinet.spec)
+spec2def(cabinet.dll cabinet.spec ADD_IMPORTLIB)
list(APPEND SOURCE
cabinet_main.c
set_rc_compiler()
-spec2def(cards.dll cards.spec)
+spec2def(cards.dll cards.spec ADD_IMPORTLIB)
list(APPEND SOURCE
cards.c
-spec2def(cfgmgr32.dll cfgmgr32.spec)
+spec2def(cfgmgr32.dll cfgmgr32.spec GENERATE_STUBS)
list(APPEND SOURCE
cfgmgr32.rc
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
-spec2def(clusapi.dll clusapi.spec)
+spec2def(clusapi.dll clusapi.spec GENERATE_STUBS)
list(APPEND SOURCE
clusapi.c
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(comctl32.dll comctl32.spec)
+spec2def(comctl32.dll comctl32.spec ADD_IMPORTLIB)
list(APPEND SOURCE
animate.c
set_rc_compiler()
-spec2def(comdlg32.dll comdlg32.spec)
+spec2def(comdlg32.dll comdlg32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
cdlg32.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(compstui.dll compstui.spec)
+spec2def(compstui.dll compstui.spec ADD_IMPORTLIB)
list(APPEND SOURCE
compstui_main.c
set_rc_compiler()
-spec2def(credui.dll credui.spec)
+spec2def(credui.dll credui.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
credui_main.c
set_rc_compiler()
-spec2def(crypt32.dll crypt32.spec)
+spec2def(crypt32.dll crypt32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
base64.c
set_rc_compiler()
-spec2def(cryptdlg.dll cryptdlg.spec)
+spec2def(cryptdlg.dll cryptdlg.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(cryptnet.dll cryptnet.spec)
+spec2def(cryptnet.dll cryptnet.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
cryptnet_main.c
set_rc_compiler()
-spec2def(cryptui.dll cryptui.spec)
+spec2def(cryptui.dll cryptui.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
main.c
set_rc_compiler()
-spec2def(dbghelp.dll dbghelp.spec)
+spec2def(dbghelp.dll dbghelp.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
coff.c
set_rc_compiler()
-spec2def(dciman32.dll dciman32.spec)
+spec2def(dciman32.dll dciman32.spec GENERATE_STUBS)
list(APPEND SOURCE
dciman_main.c
set_unicode()
set_rc_compiler()
-spec2def(devmgr.dll devmgr.spec)
+spec2def(devmgr.dll devmgr.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
devmgr.rc
include_directories(include)
-spec2def(dhcpcsvc.dll dhcpcsvc.spec)
+spec2def(dhcpcsvc.dll dhcpcsvc.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
dhcp/adapter.c
add_definitions(-DADNS_JGAA_WIN32)
-spec2def(dnsapi.dll dnsapi.spec)
+spec2def(dnsapi.dll dnsapi.spec ADD_IMPORTLIB)
list(APPEND SOURCE
dnsapi/adns.c
set_rc_compiler()
-spec2def(dwmapi.dll dwmapi.spec)
+spec2def(dwmapi.dll dwmapi.spec GENERATE_STUBS)
list(APPEND SOURCE
dwmapi_main.c
set_rc_compiler()
-spec2def(faultrep.dll faultrep.spec)
+spec2def(faultrep.dll faultrep.spec GENERATE_STUBS)
list(APPEND SOURCE
faultrep.c
-spec2def(fmifs.dll fmifs.spec)
+spec2def(fmifs.dll fmifs.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
chkdsk.c
set_rc_compiler()
-spec2def(fusion.dll fusion.spec)
+spec2def(fusion.dll fusion.spec GENERATE_STUBS)
list(APPEND SOURCE
asmcache.c
include_directories(include)
-spec2def(gdi32.dll gdi32.spec)
+spec2def(gdi32.dll gdi32.spec ADD_IMPORTLIB)
if(ARCH MATCHES i386)
list(APPEND SOURCE
set_rc_compiler()
-spec2def(gdiplus.dll gdiplus.spec)
+spec2def(gdiplus.dll gdiplus.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
brush.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(getuname.dll getuname.spec)
+spec2def(getuname.dll getuname.spec ADD_IMPORTLIB)
add_library(getuname SHARED
getuname.c
libtess
libutil)
-spec2def(glu32.dll glu32.spec)
+spec2def(glu32.dll glu32.spec ADD_IMPORTLIB)
list(APPEND SOURCE
libnurbs/interface/bezierEval.cc
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(hlink.dll hlink.spec)
+spec2def(hlink.dll hlink.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
browse_ctx.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(httpapi.dll httpapi.spec)
+spec2def(httpapi.dll httpapi.spec GENERATE_STUBS)
list(APPEND SOURCE
httpapi_main.c
set_rc_compiler()
-spec2def(icmp.dll icmp.spec)
+spec2def(icmp.dll icmp.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
icmp_main.c
add_definitions(-D_IMAGEHLP_SOURCE_)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(imagehlp.dll imagehlp.spec)
+spec2def(imagehlp.dll imagehlp.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
access.c
set_rc_compiler()
-spec2def(imm32.dll imm32.spec)
+spec2def(imm32.dll imm32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
imm.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(inetcomm.dll inetcomm.spec)
+spec2def(inetcomm.dll inetcomm.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
imaptransport.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(inetmib1.dll inetmib1.spec)
+spec2def(inetmib1.dll inetmib1.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(initpki.dll initpki.spec)
+spec2def(initpki.dll initpki.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(inseng.dll inseng.spec)
+spec2def(inseng.dll inseng.spec GENERATE_STUBS)
list(APPEND SOURCE
inseng_main.c
${REACTOS_SOURCE_DIR}/dll/win32/dhcpcsvc/include
${REACTOS_SOURCE_DIR}/lib/tdilib)
-spec2def(iphlpapi.dll iphlpapi.spec)
+spec2def(iphlpapi.dll iphlpapi.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
dhcp_reactos.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(itircl.dll itircl.spec)
+spec2def(itircl.dll itircl.spec GENERATE_STUBS)
list(APPEND SOURCE
itircl_main.c
set_rc_compiler()
-spec2def(itss.dll itss.spec)
+spec2def(itss.dll itss.spec GENERATE_STUBS)
list(APPEND SOURCE
chm_lib.c
set_rc_compiler()
-spec2def(kernel32.dll kernel32.spec)
+spec2def(kernel32.dll kernel32.spec ADD_IMPORTLIB)
list(APPEND SOURCE
debug/debugger.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(loadperf.dll loadperf.spec)
+spec2def(loadperf.dll loadperf.spec ADD_IMPORTLIB)
add_library(loadperf SHARED
loadperf_main.c
set_rc_compiler()
-spec2def(localspl.dll localspl.spec)
+spec2def(localspl.dll localspl.spec GENERATE_STUBS)
list(APPEND SOURCE
localmon.c
set_rc_compiler()
-spec2def(localui.dll localui.spec)
+spec2def(localui.dll localui.spec ADD_IMPORTLIB)
list(APPEND SOURCE
localui.c
add_definitions(-DLANGPACK)
include_directories(include)
-spec2def(lpk.dll lpk.spec)
+spec2def(lpk.dll lpk.spec ADD_IMPORTLIB)
list(APPEND SOURCE
dllmain.c
set_rc_compiler()
-spec2def(lsasrv.dll lsasrv.spec)
+spec2def(lsasrv.dll lsasrv.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
authport.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(lz32.dll lz32.spec)
+spec2def(lz32.dll lz32.spec ADD_IMPORTLIB)
list(APPEND SOURCE
version.rc
set_rc_compiler()
-spec2def(mapi32.dll mapi32.spec)
+spec2def(mapi32.dll mapi32.spec GENERATE_STUBS)
list(APPEND SOURCE
imalloc.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(mlang.dll mlang.spec)
+spec2def(mlang.dll mlang.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
mlang.c
set_unicode()
set_rc_compiler()
-spec2def(modemui.dll modemui.spec)
+spec2def(modemui.dll modemui.spec GENERATE_STUBS)
list(APPEND SOURCE
modemui.c
set_rc_compiler()
-spec2def(mpr.dll mpr.spec)
+spec2def(mpr.dll mpr.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
auth.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(mprapi.dll mprapi.spec)
+spec2def(mprapi.dll mprapi.spec GENERATE_STUBS)
list(APPEND SOURCE
mprapi.c
set_rc_compiler()
-spec2def(msacm32.dll msacm32.spec)
+spec2def(msacm32.dll msacm32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
driver.c
set_rc_compiler()
-spec2def(mscms.dll mscms.spec)
+spec2def(mscms.dll mscms.spec GENERATE_STUBS)
list(APPEND SOURCE
handle.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(mscoree.dll mscoree.spec)
+spec2def(mscoree.dll mscoree.spec GENERATE_STUBS)
list(APPEND SOURCE
corruntimehost.c
set_rc_compiler()
-spec2def(msctf.dll msctf.spec)
+spec2def(msctf.dll msctf.spec GENERATE_STUBS)
list(APPEND SOURCE
categorymgr.c
set_rc_compiler()
-spec2def(msftedit.dll msftedit.spec)
+spec2def(msftedit.dll msftedit.spec GENERATE_STUBS)
list(APPEND SOURCE
msftedit_main.c
set_rc_compiler()
-spec2def(msgina.dll msgina.spec)
+spec2def(msgina.dll msgina.spec GENERATE_STUBS)
list(APPEND SOURCE
gui.c
set_rc_compiler()
-spec2def(mshtml.dll mshtml.spec)
+spec2def(mshtml.dll mshtml.spec GENERATE_STUBS)
list(APPEND SOURCE
conpoint.c
add_definitions(-D_WIN32_WINNT=0x600)
set_rc_compiler()
-spec2def(msi.dll msi.spec)
+spec2def(msi.dll msi.spec ADD_IMPORTLIB GENERATE_STUBS)
generate_idl_iids(msiserver.idl)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(msimg32.dll msimg32.spec)
+spec2def(msimg32.dll msimg32.spec ADD_IMPORTLIB)
list(APPEND SOURCE
msimg32_main.c
set_rc_compiler()
-spec2def(msimtf.dll msimtf.spec)
+spec2def(msimtf.dll msimtf.spec GENERATE_STUBS)
list(APPEND SOURCE
activeimmapp.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(msisip.dll msisip.spec)
+spec2def(msisip.dll msisip.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
set_unicode()
-spec2def(msports.dll msports.spec)
+spec2def(msports.dll msports.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
classinst.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(mssign32.dll mssign32.spec)
+spec2def(mssign32.dll mssign32.spec GENERATE_STUBS)
list(APPEND SOURCE
mssign32_main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(mssip32.dll mssip32.spec)
+spec2def(mssip32.dll mssip32.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
generate_idl_iids(mstask_local.idl)
-spec2def(mstask.dll mstask.spec)
+spec2def(mstask.dll mstask.spec GENERATE_STUBS)
list(APPEND SOURCE
factory.c
-spec2def(msvcrt.dll msvcrt.spec)
+spec2def(msvcrt.dll msvcrt.spec ADD_IMPORTLIB)
add_definitions(
-DUSE_MSVCRT_PREFIX
add_definitions(-D_WINE)
set_rc_compiler()
-spec2def(msvfw32.dll msvfw32.spec)
+spec2def(msvfw32.dll msvfw32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
mciwnd.c
add_definitions(-DLE)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(mswsock.dll mswsock.spec)
+spec2def(mswsock.dll mswsock.spec ADD_IMPORTLIB)
list(APPEND SOURCE
extensions.c
set_rc_compiler()
-spec2def(msxml3.dll msxml3.spec)
+spec2def(msxml3.dll msxml3.spec GENERATE_STUBS)
list(APPEND SOURCE
attribute.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(nddeapi.dll nddeapi.spec)
+spec2def(nddeapi.dll nddeapi.spec GENERATE_STUBS)
list(APPEND SOURCE
nddeapi.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(netapi32.dll netapi32.spec)
+spec2def(netapi32.dll netapi32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
access.c
add_definitions(-D_WIN32_WINNT=0x600)
set_rc_compiler()
-spec2def(netcfgx.dll netcfgx.spec)
+spec2def(netcfgx.dll netcfgx.spec GENERATE_STUBS)
list(APPEND SOURCE
netcfgx.c
add_definitions(-D_WIN32_WINNT=0x600)
set_rc_compiler()
-spec2def(netshell.dll netshell.spec)
+spec2def(netshell.dll netshell.spec GENERATE_STUBS)
list(APPEND SOURCE
netshell.c
set_unicode()
-spec2def(newdev.dll newdev.spec)
+spec2def(newdev.dll newdev.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
newdev.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(ntdsapi.dll ntdsapi.spec)
+spec2def(ntdsapi.dll ntdsapi.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
ntdsapi.c
set_unicode()
-spec2def(ntlanman.dll ntlanman.spec)
+spec2def(ntlanman.dll ntlanman.spec GENERATE_STUBS)
list(APPEND SOURCE
ntlanman.c
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(ntprint.dll ntprint.spec)
+spec2def(ntprint.dll ntprint.spec GENERATE_STUBS)
list(APPEND SOURCE
ntprint.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(odbc32.dll odbc32.spec)
+spec2def(odbc32.dll odbc32.spec GENERATE_STUBS)
list(APPEND SOURCE
proxyodbc.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(odbccp32.dll odbccp32.spec)
+spec2def(odbccp32.dll odbccp32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
odbccp32.c
set_rc_compiler()
-spec2def(ole32.dll ole32.spec)
+spec2def(ole32.dll ole32.spec ADD_IMPORTLIB GENERATE_STUBS)
generate_idl_iids(dcom.idl)
add_idl_headers(ole32idl dcom.idl irot.idl)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
-spec2def(oleacc.dll oleacc.spec)
+spec2def(oleacc.dll oleacc.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
main.c
${REACTOS_SOURCE_DIR}/include/reactos/libs/libjpeg
${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(oleaut32.dll oleaut32.spec)
+spec2def(oleaut32.dll oleaut32.spec ADD_IMPORTLIB GENERATE_STUBS)
add_rpcproxy_files(oleaut32_oaidl.idl oleaut32_ocidl.idl)
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(olecli32.dll olecli32.spec)
+spec2def(olecli32.dll olecli32.spec GENERATE_STUBS)
list(APPEND SOURCE
olecli_main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(oledlg.dll oledlg.spec)
+spec2def(oledlg.dll oledlg.spec ADD_IMPORTLIB)
list(APPEND SOURCE
insobjdlg.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(olesvr32.dll olesvr32.spec)
+spec2def(olesvr32.dll olesvr32.spec GENERATE_STUBS)
list(APPEND SOURCE
olesvr_main.c
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(olethk32.dll olethk32.spec)
+spec2def(olethk32.dll olethk32.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
set_unicode()
-spec2def(opengl32.dll opengl32.spec)
+spec2def(opengl32.dll opengl32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
font.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(pdh.dll pdh.spec)
+spec2def(pdh.dll pdh.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
pdh_main.c
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(pidgen.dll pidgen.spec)
+spec2def(pidgen.dll pidgen.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
-spec2def(powrprof.dll powrprof.spec)
+spec2def(powrprof.dll powrprof.spec ADD_IMPORTLIB)
set_unicode()
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(printui.dll printui.spec)
+spec2def(printui.dll printui.spec GENERATE_STUBS)
list(APPEND SOURCE
printui.c
-spec2def(psapi.dll psapi.spec)
+spec2def(psapi.dll psapi.spec ADD_IMPORTLIB)
list(APPEND SOURCE
malloc.c
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(pstorec.dll pstorec.spec)
+spec2def(pstorec.dll pstorec.spec GENERATE_STUBS)
list(APPEND SOURCE
pstorec.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(query.dll query.spec)
+spec2def(query.dll query.spec GENERATE_STUBS)
list(APPEND SOURCE
query_main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/winsock)
-spec2def(rasadhlp.dll rasadhlp.spec)
+spec2def(rasadhlp.dll rasadhlp.spec GENERATE_STUBS)
list(APPEND SOURCE
autodial.c
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(rasapi32.dll rasapi32.spec)
+spec2def(rasapi32.dll rasapi32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
rasapi.c
set_rc_compiler()
-spec2def(rasdlg.dll rasdlg.spec)
+spec2def(rasdlg.dll rasdlg.spec GENERATE_STUBS)
list(APPEND SOURCE
rasdlg.c
set_rc_compiler()
-spec2def(rasman.dll rasman.spec)
+spec2def(rasman.dll rasman.spec GENERATE_STUBS)
list(APPEND SOURCE
rasman.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(resutils.dll resutils.spec)
+spec2def(resutils.dll resutils.spec GENERATE_STUBS)
list(APPEND SOURCE
resutils.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(riched20.dll riched20.spec)
+spec2def(riched20.dll riched20.spec ADD_IMPORTLIB)
set_rc_compiler()
-DCOM_NO_WINDOWS_H
-DMSWMSG)
-spec2def(rpcrt4.dll rpcrt4.spec)
+spec2def(rpcrt4.dll rpcrt4.spec ADD_IMPORTLIB GENERATE_STUBS)
add_library(rpcrt4 SHARED ${SOURCE})
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(rsaenh.dll rsaenh.spec)
+spec2def(rsaenh.dll rsaenh.spec ADD_IMPORTLIB)
list(APPEND SOURCE
aes.c
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(samlib.dll samlib.spec)
+spec2def(samlib.dll samlib.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
dllmain.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(sccbase.dll sccbase.spec)
+spec2def(sccbase.dll sccbase.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(schannel.dll schannel.spec)
+spec2def(schannel.dll schannel.spec GENERATE_STUBS)
list(APPEND SOURCE
lsamode.c
add_definitions(-D__SECUR32__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
-spec2def(secur32.dll secur32.spec)
+spec2def(secur32.dll secur32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
dllmain.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(sensapi.dll sensapi.spec)
+spec2def(sensapi.dll sensapi.spec ADD_IMPORTLIB)
list(APPEND SOURCE
sensapi.c
set_rc_compiler()
-spec2def(setupapi.dll setupapi.spec)
+spec2def(setupapi.dll setupapi.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
cfgmgr.c
-spec2def(sfc.dll sfc.spec)
+spec2def(sfc.dll sfc.spec GENERATE_STUBS)
list(APPEND SOURCE
sfc.c
-spec2def(sfc_os.dll sfc_os.spec)
+spec2def(sfc_os.dll sfc_os.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
sfc_os.c
set_rc_compiler()
-spec2def(shdocvw.dll shdocvw.spec)
+spec2def(shdocvw.dll shdocvw.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
classinfo.c
${REACTOS_SOURCE_DIR}/lib/recyclebin
${REACTOS_SOURCE_DIR})
-spec2def(shell32.dll shell32.spec)
+spec2def(shell32.dll shell32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
authors.c
set_rc_compiler()
-spec2def(shimgvw.dll shimgvw.spec)
+spec2def(shimgvw.dll shimgvw.spec GENERATE_STUBS)
list(APPEND SOURCE
shimgvw.c
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
-spec2def(shlwapi.dll shlwapi.spec)
+spec2def(shlwapi.dll shlwapi.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
assoc.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(slbcsp.dll slbcsp.spec)
+spec2def(slbcsp.dll slbcsp.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
-spec2def(smdll.dll smdll.spec)
+spec2def(smdll.dll smdll.spec ADD_IMPORTLIB)
list(APPEND SOURCE
dllmain.c
add_definitions(-D_WIN32_WINNT=0x600)
set_rc_compiler()
-spec2def(snmpapi.dll snmpapi.spec)
+spec2def(snmpapi.dll snmpapi.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(spoolss.dll spoolss.spec)
+spec2def(spoolss.dll spoolss.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
spoolss_main.c
-spec2def(srclient.dll srclient.spec)
+spec2def(srclient.dll srclient.spec GENERATE_STUBS)
list(APPEND SOURCE
srclient_main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(sxs.dll sxs.spec)
+spec2def(sxs.dll sxs.spec GENERATE_STUBS)
list(APPEND SOURCE
sxs.c
set_unicode()
set_rc_compiler()
-spec2def(syssetup.dll syssetup.spec)
+spec2def(syssetup.dll syssetup.spec GENERATE_STUBS)
list(APPEND SOURCE
classinst.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(t2embed.dll t2embed.spec)
+spec2def(t2embed.dll t2embed.spec GENERATE_STUBS)
list(APPEND SOURCE
t2embed.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(tapi32.dll tapi32.spec)
+spec2def(tapi32.dll tapi32.spec GENERATE_STUBS)
list(APPEND SOURCE
assisted.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(traffic.dll traffic.spec)
+spec2def(traffic.dll traffic.spec GENERATE_STUBS)
list(APPEND SOURCE
traffic_main.c
-spec2def(ufatx.dll ufatx.spec)
+spec2def(ufatx.dll ufatx.spec ADD_IMPORTLIB)
list(APPEND SOURCE
ufatx.rc
-spec2def(unicows.dll unicows.spec)
+spec2def(unicows.dll unicows.spec GENERATE_STUBS)
list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/unicows_stubs.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(updspapi.dll updspapi.spec)
+spec2def(updspapi.dll updspapi.spec GENERATE_STUBS)
list(APPEND SOURCE
main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(url.dll url.spec)
+spec2def(url.dll url.spec GENERATE_STUBS)
list(APPEND SOURCE
url_main.c
set_rc_compiler()
-spec2def(urlmon.dll urlmon.spec)
+spec2def(urlmon.dll urlmon.spec ADD_IMPORTLIB GENERATE_STUBS)
add_rpcproxy_files(urlmon_urlmon.idl)
set_unicode()
-spec2def(user32.dll user32.spec)
+spec2def(user32.dll user32.spec ADD_IMPORTLIB)
include_directories(
BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine
-spec2def(userenv.dll userenv.spec)
+spec2def(userenv.dll userenv.spec ADD_IMPORTLIB GENERATE_STUBS)
set_rc_compiler()
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-spec2def(usp10.dll usp10.spec)
+spec2def(usp10.dll usp10.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
bidi.c
add_definitions(-D__WINESRC__)
set_rc_compiler()
-spec2def(uxtheme.dll uxtheme.spec)
+spec2def(uxtheme.dll uxtheme.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
buffer.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(version.dll version.spec)
+spec2def(version.dll version.spec ADD_IMPORTLIB)
list(APPEND SOURCE
info.c
add_compiler_flags(/FItypeof.h)
endif()
-spec2def(windowscodecs.dll windowscodecs.spec)
+spec2def(windowscodecs.dll windowscodecs.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
bmpdecode.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(winhttp.dll winhttp.spec)
+spec2def(winhttp.dll winhttp.spec ADD_IMPORTLIB)
list(APPEND SOURCE
cookie.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(wininet.dll wininet.spec)
+spec2def(wininet.dll wininet.spec ADD_IMPORTLIB GENERATE_STUBS)
set_rc_compiler()
add_definitions(-D_WINE)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(winmm.dll winmm.spec)
+spec2def(winmm.dll winmm.spec ADD_IMPORTLIB GENERATE_STUBS)
set_rc_compiler()
set_rc_compiler()
-spec2def(winspool.drv winspool.spec)
+spec2def(winspool.drv winspool.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
info.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
-spec2def(wintrust.dll wintrust.spec)
+spec2def(wintrust.dll wintrust.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
crypt.c
include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
-spec2def(wlanapi.dll wlanapi.spec)
+spec2def(wlanapi.dll wlanapi.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
main.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
-spec2def(wldap32.dll wldap32.spec)
+spec2def(wldap32.dll wldap32.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
add.c
include_directories(BEFORE include)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(ws2_32.dll ws2_32.spec)
+spec2def(ws2_32.dll ws2_32.spec ADD_IMPORTLIB)
list(APPEND SOURCE
misc/bsd.c
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/winsock)
-spec2def(ws2help.dll ws2help.spec)
+spec2def(ws2help.dll ws2help.spec ADD_IMPORTLIB)
list(APPEND SOURCE
apc.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(wtsapi32.dll wtsapi32.spec)
+spec2def(wtsapi32.dll wtsapi32.spec GENERATE_STUBS)
list(APPEND SOURCE
wtsapi32.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(xinput1_3.dll xinput1_3.spec)
+spec2def(xinput1_3.dll xinput1_3.spec ADD_IMPORTLIB)
list(APPEND SOURCE
xinput1_3_main.c
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(xmllite.dll xmllite.spec)
+spec2def(xmllite.dll xmllite.spec ADD_IMPORTLIB GENERATE_STUBS)
list(APPEND SOURCE
reader.c
-spec2def(bootvid.dll bootvid.spec)
+spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
list(APPEND SOURCE
bootvid.rc
-spec2def(kdcom.dll kdcom.spec)
+spec2def(kdcom.dll kdcom.spec ADD_IMPORTLIB)
if(ARCH MATCHES i386)
list(APPEND SOURCE i386/kdbg.c)
-spec2def(kdcom.dll kdcom.spec)
+spec2def(kdcom.dll kdcom.spec ADD_IMPORTLIB)
add_library(kdcom SHARED
kdcom.c
add_definitions(-D_BATTERYCLASS_)
-spec2def(batc.sys battc.spec)
+spec2def(batc.sys battc.spec ADD_IMPORTLIB)
add_library(battc SHARED
battc.c
-spec2def(dxgthk.sys dxgthk.spec)
+spec2def(dxgthk.sys dxgthk.spec ADD_IMPORTLIB)
list(APPEND SOURCE
main.c
-spec2def(ks.sys ks.spec)
+spec2def(ks.sys ks.spec ADD_IMPORTLIB)
add_definitions(
-DBUILDING_KS
-DNDIS_LEGACY_PROTOCOL
-DNDIS_MINIPORT_DRIVER)
-spec2def(ndis.sys ndis.spec)
+spec2def(ndis.sys ndis.spec ADD_IMPORTLIB)
list(APPEND SOURCE
ndis/30stubs.c
include_directories(..)
-spec2def(class2.sys class2.spec)
+spec2def(class2.sys class2.spec ADD_IMPORTLIB)
list(APPEND SOURCE
class2.c
-spec2def(pciidex.sys pciidex.spec)
+spec2def(pciidex.sys pciidex.spec ADD_IMPORTLIB)
list(APPEND SOURCE
fdo.c
-spec2def(scsiport.sys scsiport.spec)
+spec2def(scsiport.sys scsiport.spec ADD_IMPORTLIB)
list(APPEND SOURCE
scsiport.c
-spec2def(usbd.sys usbd.spec)
+spec2def(usbd.sys usbd.spec ADD_IMPORTLIB)
add_library(usbd SHARED
usbd.c
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/freetype/include)
-spec2def(ftfd.dll ftfd.spec)
+spec2def(ftfd.dll ftfd.spec ADD_IMPORTLIB)
add_library(ftfd SHARED
enable.c
add_definitions(-D_VIDEOPORT_)
-spec2def(videoprt.sys videoprt.spec)
+spec2def(videoprt.sys videoprt.spec ADD_IMPORTLIB)
list(APPEND SOURCE
agp.c
add_definitions(-DBUILDING_DRMK)
-spec2def(drmk.sys drmk.spec)
+spec2def(drmk.sys drmk.spec ADD_IMPORTLIB)
list(APPEND SOURCE
stubs.cpp
-spec2def(wmilib.sys wmilib.spec)
+spec2def(wmilib.sys wmilib.spec ADD_IMPORTLIB)
list(APPEND SOURCE
wmilib.c
up/pic.c
up/processor.c)
- spec2def(hal.dll ../hal.spec)
+ spec2def(hal.dll ../hal.spec ADD_IMPORTLIB)
list(APPEND HAL_SOURCE
${HAL_GENERIC_SOURCE}
-spec2def(ntoskrnl.exe ntoskrnl.spec)
+spec2def(ntoskrnl.exe ntoskrnl.spec ADD_IMPORTLIB)
include_directories(
${REACTOS_SOURCE_DIR}
include_directories(${REACTOS_SOURCE_DIR}/subsystems/win32/csrss/include)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
-spec2def(csrsrv.dll csrsrv.spec)
+spec2def(csrsrv.dll csrsrv.spec ADD_IMPORTLIB)
list(APPEND SOURCE
api/process.c
-spec2def(win32k.sys win32k.spec)
+spec2def(win32k.sys win32k.spec ADD_IMPORTLIB)
include_directories(
.