From 747c0db7910414d2797e38b5a00efbdb0c5ee6a1 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sun, 2 Jun 2019 01:22:18 +0800 Subject: Basic CMake support --- CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..44cd5b6 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +project (smelt) + +cmake_minimum_required(VERSION 3.11) + +option (BUILD_DUMB "Disable sound support" OFF) +option (BUILD_EXTENSIONS "Build extensions" ON) + +add_subdirectory(smelt/glfw) + +if (BUILD_EXTENSIONS) + add_subdirectory(extensions) +endif () + -- cgit v1.2.3