no message

master
zcy 2021-10-12 15:36:59 +08:00
parent 5c35e439d4
commit 253d8b22d3
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 3.12)
project(test_algorithm)
project(test)
project(webrtcdemo)
add_definitions(-std=c++11 "/DWIN32_LEAN_AND_MEAN")
message("current dir" ${CMAKE_CURRENT_SOURCE_DIR})
# set(CMAKE_CXX_FLAGS "-fno-elide-constructors")
aux_source_directory(. SOURCE)
message(info ${SOURCE})
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/xlnt/lib/Debug")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/xlnt/lib/Release")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/webrc/lib")
link_libraries(xlntd libwebrtc.lib ws2_32.lib winmm.lib DXGI.lib)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}third/xlnt/include")
message(${CMAKE_CURRENT_SOURCE_DIR}/third/webrc/include)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/third/webrc/include")
add_executable(test_algorithm ./JudgeFault.cpp ./main.cpp )
add_executable(test test.cpp JudgeFault.cpp)
add_executable(webrtcdemo webrtcdemo.cpp)