From fe40378c24562a0db0d7329377761384724bdcb2 Mon Sep 17 00:00:00 2001 From: Jono Targett Date: Sat, 25 May 2024 12:13:05 +0930 Subject: [PATCH] Moved all dependencies as submodules --- .gitignore | 1 - .gitmodules | 9 +++++++++ CMakeLists.txt | 6 +++--- README.md | 3 --- external/argparse | 1 + external/fluidsynth | 1 + external/magic_enum | 1 + 7 files changed, 15 insertions(+), 7 deletions(-) create mode 160000 external/argparse create mode 160000 external/fluidsynth create mode 160000 external/magic_enum diff --git a/.gitignore b/.gitignore index e560931..567609b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ build/ -fluidsynth/ diff --git a/.gitmodules b/.gitmodules index aa4cffa..9e7a958 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,12 @@ [submodule "external/log4cxx"] path = external/log4cxx url = https://github.com/apache/logging-log4cxx.git +[submodule "external/argparse"] + path = external/argparse + url = https://github.com/p-ranav/argparse.git +[submodule "external/fluidsynth"] + path = external/fluidsynth + url = https://github.com/FluidSynth/fluidsynth.git +[submodule "external/magic_enum"] + path = external/magic_enum + url = https://github.com/Neargye/magic_enum.git diff --git a/CMakeLists.txt b/CMakeLists.txt index d0b7df3..64d0033 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,9 @@ cmake_minimum_required(VERSION 3.7.1) project(SELCALToneGenerator VERSION 0.1.0) set(CMAKE_CXX_STANDARD 17) -add_subdirectory(fluidsynth) -add_subdirectory(magic_enum) -add_subdirectory(argparse) +add_subdirectory(external/fluidsynth) +add_subdirectory(external/magic_enum) +add_subdirectory(external/argparse) add_subdirectory(external/log4cxx) file(GLOB_RECURSE sources src/*.cpp src/*.h) diff --git a/README.md b/README.md index af5ea6d..036e0cd 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,6 @@ Assumes that the fluidsynth sources are in the fluidsynth/ directory. ``` -git clone https://github.com/FluidSynth/fluidsynth.git -git clone https://github.com/Neargye/magic_enum.git -git clone https://github.com/p-ranav/argparse.git mkdir build cd build cmake .. diff --git a/external/argparse b/external/argparse new file mode 160000 index 0000000..eab1d75 --- /dev/null +++ b/external/argparse @@ -0,0 +1 @@ +Subproject commit eab1d75e49970857eba1fdef5afb68befa2fa16f diff --git a/external/fluidsynth b/external/fluidsynth new file mode 160000 index 0000000..f9bde41 --- /dev/null +++ b/external/fluidsynth @@ -0,0 +1 @@ +Subproject commit f9bde410216766c1117cd07b349740e9804773ca diff --git a/external/magic_enum b/external/magic_enum new file mode 160000 index 0000000..a2077c0 --- /dev/null +++ b/external/magic_enum @@ -0,0 +1 @@ +Subproject commit a2077c01c3071c12279b7ab40a19607647682d37