Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/build/
/.vscode/
/fftw/
build/
fftw/
.cache/
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
11 changes: 6 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.22)

project(SpectroSpatialSynth)

######################### Compiler Settings ########################
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")

########################## Basic Settings ##########################
## First, we'll add the CMake folder, incase we'll need to find_package later:
Expand Down Expand Up @@ -46,15 +46,15 @@ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
## JUCE manually

## 1.) Adding JUCE locally by copying the whole JUCE Folder into the project folder
add_subdirectory(JUCE)
#add_subdirectory(JUCE)

## 2.) Using your installation of JUCE.
## Make sure the JUCE install path is in the shell PATH variable
## or add it manually in this file: set(CMAKE_PREFIX_PATH "path/to/JUCE/install")
#find_package(JUCE CONFIG REQUIRED)

## 3.) Using the CPM package manager, see CMake/Findjuce.cmake
#find_package(juce REQUIRED)
find_package(juce REQUIRED)


########################## Custom Modules ##########################
Expand All @@ -68,4 +68,5 @@ add_subdirectory(Plugin)

add_subdirectory(kfr)

add_subdirectory(SNR)
## Uncomment for benchmarks
#add_subdirectory(SNR)
92 changes: 92 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"version": 3,
"configurePresets": [
{
"name": "base",
"displayName": "Basic Config",
"description": "Basic build using Ninja generator",
"generator": "Ninja",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": { "CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}" }
},

{
"name": "x64",
"architecture": {
"value": "x64",
"strategy": "external"
},
"hidden": true
},
{
"name": "Debug",
"cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" },
"hidden": true
},
{
"name": "Release",
"cacheVariables":
{
"CMAKE_BUILD_TYPE": "Release"
},
"hidden": true
},
{
"name": "ClangWindows",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-cl.exe",
"CMAKE_CXX_COMPILER": "clang-cl.exe"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
}
},
{
"name": "Clang",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
}
},

{ "name": "x64-Debug-ClangWindows" , "description": "Clang for x64 (Debug)", "inherits": [ "base", "x64", "Debug", "ClangWindows" ] },
{ "name": "x64-Release-ClangWindows" , "description": "Clang for x64 (Release)", "inherits": [ "base", "x64", "Release", "ClangWindows" ] },
{ "name": "x64-Debug-Clang" , "description": "Clang for x64 (Debug)", "inherits": [ "base", "x64", "Debug", "Clang" ] },
{ "name": "x64-Release-Clang" , "description": "Clang for x64 (Release)", "inherits": [ "base", "x64", "Release", "Clang" ] }
],
"buildPresets": [
{
"name": "x64-Debug-ClangWindows-Build",
"displayName": "Default",
"configurePreset": "x64-Debug-ClangWindows",
"description": "Build with Clang for x64 (Debug)"
},
{
"name": "x64-Release-ClangWindows-Build",
"displayName": "Default",
"configurePreset": "x64-Release-ClangWindows",
"description": "Build with Clang for x64 (Release)"
},
{
"name": "x64-Debug-Clang-Build",
"displayName": "Default",
"configurePreset": "x64-Debug-Clang",
"description": "Build with Clang for x64 (Debug)"
},
{
"name": "x64-Release-Clang-Build",
"displayName": "Default",
"configurePreset": "x64-Release-Clang",
"description": "Build with Clang for x64 (Release)"
}
]
}

2 changes: 1 addition & 1 deletion JUCE
Submodule JUCE updated 1641 files
Loading