mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
32 lines
788 B
CMake
32 lines
788 B
CMake
|
|
set_cpp(WITH_STL)
|
|
spec2def(ksproxy.ax ksproxy.spec)
|
|
|
|
list(APPEND SOURCE
|
|
allocator.cpp
|
|
basicaudio.cpp
|
|
classfactory.cpp
|
|
clockforward.cpp
|
|
cvpconfig.cpp
|
|
cvpvbiconfig.cpp
|
|
datatype.cpp
|
|
enum_mediatypes.cpp
|
|
enumpins.cpp
|
|
input_pin.cpp
|
|
interface.cpp
|
|
ksproxy.cpp
|
|
mediasample.cpp
|
|
node.cpp
|
|
output_pin.cpp
|
|
proxy.cpp
|
|
qualityforward.cpp
|
|
${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def)
|
|
|
|
add_library(ksproxy MODULE ${SOURCE} ksproxy.rc)
|
|
set_module_type(ksproxy win32dll)
|
|
set_target_properties(ksproxy PROPERTIES SUFFIX ".ax")
|
|
target_link_libraries(ksproxy strmiids)
|
|
add_importlibs(ksproxy advapi32 ole32 setupapi ksuser msvcrt kernel32 ntdll)
|
|
add_dependencies(ksproxy dxsdk)
|
|
add_cd_file(TARGET ksproxy DESTINATION reactos/system32 FOR all)
|