CMakeLists.txt (606B)
1 cmake_minimum_required(VERSION 3.10) 2 3 project(bridgeLib) 4 5 add_library(bridgeLib STATIC) 6 7 set(SOURCES 8 audioBuffers.cpp audioBuffers.h 9 command.cpp command.h 10 commandReader.cpp commandReader.h 11 commands.cpp commands.h 12 commandStruct.cpp commandStruct.h 13 commandWriter.cpp commandWriter.h 14 error.cpp error.h 15 tcpConnection.cpp tcpConnection.h 16 types.h 17 ) 18 19 target_sources(bridgeLib PRIVATE ${SOURCES}) 20 21 source_group("source" FILES ${SOURCES}) 22 23 target_link_libraries(bridgeLib PUBLIC networkLib synthLib) 24 25 target_include_directories(bridgeLib PUBLIC ../) 26 set_property(TARGET bridgeLib PROPERTY FOLDER "Bridge")