project(Deps VERSION 0.1 LANGUAGES C CXX) if (NOT MINGW AND WIN32 AND CMAKE_SIZEOF_VOID_P EQUAL 4) # Detours lib add_library(Detours Detours/src/detours.cpp Detours/src/disasm.cpp Detours/src/image.cpp Detours/src/modules.cpp ) target_compile_definitions(Detours PRIVATE "DETOURS_X86" "DETOURS_32BIT") target_include_directories(Detours SYSTEM PUBLIC $ $) set_property(TARGET Detours PROPERTY FOLDER "3rdParty") export(TARGETS Detours FILE Detours.cmake) endif() # Cinder for lock free circular buffer in audio processing add_library(Cinder INTERFACE) target_include_directories(Cinder SYSTEM INTERFACE Cinder/) export(TARGETS Cinder FILE Cinder.cmake) # EasyLogging++ lib add_library(EasyLogging++ EasyLogging++/EasyLogging/src/easylogging++.cc EasyLogging++/EasyLogging/src/easylogging++.h ) target_include_directories(EasyLogging++ SYSTEM PUBLIC $ $) set_property(TARGET EasyLogging++ PROPERTY FOLDER "3rdParty") export(TARGETS EasyLogging++ FILE EasyLogging++.cmake) # DxOld lib add_library(DxOld INTERFACE) target_include_directories(DxOld SYSTEM INTERFACE DxOld/) export(TARGETS DxOld FILE DxOld.cmake) # googletest lib add_library(googletest googletest/googletest/src/gtest-all.cc googletest/googlemock/src/gmock-all.cc ) target_include_directories(googletest SYSTEM PUBLIC $ $ ) export(TARGETS googletest FILE googletest.cmake) set_property(TARGET googletest PROPERTY FOLDER "3rdParty")