gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

CMakeLists.txt (720B)


      1 cmake_minimum_required(VERSION 3.10)
      2 project(hardwareLib)
      3 
      4 add_library(hardwareLib STATIC)
      5 
      6 set(SOURCES
      7 	am29f.cpp am29f.h
      8 	dspBootCode.cpp dspBootCode.h
      9 	haltDSP.cpp haltDSP.h
     10 	i2c.cpp i2c.h
     11 	i2cFlash.cpp i2cFlash.h
     12 	lcd.cpp lcd.h
     13 	lcdfonts.cpp lcdfonts.h
     14 	sciMidi.cpp sciMidi.h
     15 	syncUCtoDSP.h
     16 )
     17 
     18 target_sources(hardwareLib PRIVATE ${SOURCES})
     19 source_group("source" FILES ${SOURCES})
     20 
     21 target_link_libraries(hardwareLib PUBLIC 68kEmu dsp56kEmu synthLib)
     22 
     23 set_property(TARGET hardwareLib PROPERTY FOLDER "Gearmulator")
     24 
     25 target_include_directories(hardwareLib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/..)
     26 
     27 #target_compile_options(hardwareLib PRIVATE -fsanitize=thread)
     28 #target_link_options(hardwareLib PUBLIC -fsanitize=thread)