File tree Expand file tree Collapse file tree 8 files changed +54
-19
lines changed Expand file tree Collapse file tree 8 files changed +54
-19
lines changed Original file line number Diff line number Diff line change 1
- [submodule "q_io/external/portaudio "]
2
- path = q_io/external/portaudio
3
- url = https://github.com/PortAudio/portaudio.git
4
- [submodule "q_io/external/portmidi "]
5
- path = q_io/external/portmidi
6
- url = https://github.com/PortMidi/portmidi.git
7
- [submodule "infra "]
8
- path = infra
9
- url = https://github.com/cycfi/infra.git
Original file line number Diff line number Diff line change 3
3
#
4
4
# Distributed under the MIT License (https://opensource.org/licenses/MIT)
5
5
###############################################################################
6
- cmake_minimum_required (VERSION 3.5.1 )
6
+ cmake_minimum_required (VERSION 3.16.0 )
7
7
8
8
project (q )
9
9
10
10
set (CMAKE_CXX_STANDARD 20 )
11
11
set (CMAKE_CXX_STANDARD_REQUIRED ON )
12
12
13
+ include (FetchContent )
14
+
13
15
option (Q_BUILD_EXAMPLES "build Q library examples" ON )
14
16
option (Q_BUILD_TEST "build Q library tests" ON )
15
17
option (Q_BUILD_IO "build Q IO library" ON )
16
18
19
+ ###############################################################################
20
+ # Cycfi Infra
21
+
22
+ FetchContent_Declare (
23
+ cycfi_infra
24
+ GIT_REPOSITORY https://github.com/cycfi/infra.git
25
+ GIT_TAG 2024_MAY
26
+ GIT_SUBMODULES_RECURSE ON
27
+ )
28
+
29
+ FetchContent_MakeAvailable (cycfi_infra )
30
+
31
+ ###############################################################################
32
+ # q_lib
33
+
17
34
add_subdirectory (q_lib )
18
- add_subdirectory (infra )
35
+
36
+ ###############################################################################
37
+ # q_io
19
38
20
39
if (Q_BUILD_IO )
21
40
add_subdirectory (q_io )
22
41
endif ()
23
42
43
+ ###############################################################################
44
+ # Examples and Tests
45
+
24
46
if (Q_BUILD_EXAMPLES )
25
47
add_subdirectory (example )
26
48
endif ()
Original file line number Diff line number Diff line change 1
1
name : q
2
2
title : Q Audio DSP Library
3
- version : v1.0
3
+ version : v1.5-dev
4
4
start_page : index.adoc
5
5
asciidoc :
6
6
attributes :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
#
4
4
# Distributed under the MIT License (https://opensource.org/licenses/MIT)
5
5
###############################################################################
6
- cmake_minimum_required (VERSION 3.5.1 )
6
+ cmake_minimum_required (VERSION 3.16.0 )
7
7
8
8
set (CMAKE_CXX_STANDARD 20 )
9
9
set (CMAKE_CXX_STANDARD_REQUIRED ON )
@@ -17,8 +17,33 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"
17
17
endif ()
18
18
19
19
option (BUILD_SHARED_LIBS "Build shared/dynamic library" OFF )
20
- add_subdirectory (external/portaudio )
21
- add_subdirectory (external/portmidi )
20
+
21
+ ###############################################################################
22
+ # portaudio
23
+
24
+ FetchContent_Declare (
25
+ portaudio
26
+ GIT_REPOSITORY https://github.com/PortAudio/portaudio.git
27
+ GIT_TAG master
28
+ GIT_SUBMODULES_RECURSE ON
29
+ )
30
+
31
+ FetchContent_MakeAvailable (portaudio )
32
+
33
+ ###############################################################################
34
+ # portmidi
35
+
36
+ FetchContent_Declare (
37
+ portmidi
38
+ GIT_REPOSITORY https://github.com/PortMidi/portmidi.git
39
+ GIT_TAG v2.0.4
40
+ GIT_SUBMODULES_RECURSE ON
41
+ )
42
+
43
+ FetchContent_MakeAvailable (portmidi )
44
+
45
+ ###############################################################################
46
+ # libqio
22
47
23
48
add_library (libqio STATIC
24
49
src/audio_file.cpp
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
#
4
4
# Distributed under the MIT License (https://opensource.org/licenses/MIT)
5
5
###############################################################################
6
- cmake_minimum_required (VERSION 3.5.1 )
6
+ cmake_minimum_required (VERSION 3.16.0 )
7
7
8
8
set (CMAKE_CXX_STANDARD 20 )
9
9
set (CMAKE_CXX_STANDARD_REQUIRED ON )
You can’t perform that action at this time.
0 commit comments