CMakeLists.txt 407 B

1234567891011121314
  1. cmake_minimum_required (VERSION 2.8.0)
  2. project (launchpad-sequencer)
  3. include_directories("${CMAKE_SOURCE_DIR}")
  4. link_directories("${CMAKE_SOURCE_DIR}/midi/lib")
  5. file(GLOB srcfiles *.cpp)
  6. add_definitions(-pthread)
  7. add_definitions(-std=c++11)
  8. set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
  9. add_executable(launchpad-sequencer ${srcfiles})
  10. target_link_libraries(launchpad-sequencer midi)