mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 16:18:16 +00:00
86e54f666f
Add dplayx and ksproxy.ax to bootcd. svn path=/branches/cmake-bringup/; revision=49611
57 lines
No EOL
1.3 KiB
CMake
57 lines
No EOL
1.3 KiB
CMake
spec2def(ksproxy.ax ksproxy.spec)
|
|
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/c++/stlport)
|
|
add_definitions(
|
|
-DNATIVE_CPP_INCLUDE=${REACTOS_SOURCE_DIR}/include/c++
|
|
-DNATIVE_C_INCLUDE=${REACTOS_SOURCE_DIR}/include/crt)
|
|
|
|
add_library(ksproxy SHARED
|
|
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
|
|
ksproxy.rc
|
|
mediasample.cpp
|
|
node.cpp
|
|
output_pin.cpp
|
|
proxy.cpp
|
|
qualityforward.cpp
|
|
${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def)
|
|
|
|
set_entrypoint(ksproxy 0)
|
|
set_target_properties(ksproxy PROPERTIES SUFFIX ".ax")
|
|
if(MSVC)
|
|
set_target_properties(ksproxy PROPERTIES COMPILE_FLAGS "/GR-")
|
|
else()
|
|
#FIXME : can't build if this is enabled, check if this is needed
|
|
#set_target_properties(ksproxy PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
|
endif(MSVC)
|
|
|
|
|
|
target_link_libraries(ksproxy
|
|
stlport -lsupc++ -lgcc
|
|
strmiids)
|
|
|
|
add_importlibs(ksproxy
|
|
mingw32
|
|
coldname
|
|
advapi32
|
|
ole32
|
|
setupapi
|
|
ksuser
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(ksproxy psdk buildno_header)
|
|
|
|
add_cab_target(ksproxy 1) |