- cmake_minimum_required (VERSION 2.8.0)
- project (launchpad-sequencer)
- include_directories("${CMAKE_SOURCE_DIR}")
- link_directories("${CMAKE_SOURCE_DIR}/midi/lib")
- file(GLOB srcfiles *.cpp)
- add_definitions(-pthread)
- add_definitions(-std=c++11)
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
- add_executable(launchpad-sequencer ${srcfiles})
- target_link_libraries(launchpad-sequencer midi)
|