From a3f4ac00ee76f5e3b2dae7838a6c13ccae40ceac Mon Sep 17 00:00:00 2001 From: cflip Date: Sun, 20 Feb 2022 09:15:40 -0700 Subject: Set up CMake build system --- CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f9c8fa9 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 3.5) +set(CMAKE_CXX_STANDARD 17) + +project(fmseq) + +find_package(SDL2 REQUIRED) +include_directories(${SDL2_INCLUDE_DIRS}) + +set(SOURCES + src/audio.cpp + src/main.cpp + src/gui.cpp +) + +add_executable(fmseq ${SOURCES}) +target_link_libraries(fmseq ${SDL2_LIBRARIES}) \ No newline at end of file -- cgit v1.2.3