Skip to content

Commit 8005284

Browse files
committed
Merge branch 'master' into v1.0
2 parents 4996590 + c91f853 commit 8005284

File tree

8 files changed

+54
-19
lines changed

8 files changed

+54
-19
lines changed

.gitmodules

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +0,0 @@
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

CMakeLists.txt

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,46 @@
33
#
44
# Distributed under the MIT License (https://opensource.org/licenses/MIT)
55
###############################################################################
6-
cmake_minimum_required(VERSION 3.5.1)
6+
cmake_minimum_required(VERSION 3.16.0)
77

88
project(q)
99

1010
set(CMAKE_CXX_STANDARD 20)
1111
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1212

13+
include(FetchContent)
14+
1315
option(Q_BUILD_EXAMPLES "build Q library examples" ON)
1416
option(Q_BUILD_TEST "build Q library tests" ON)
1517
option(Q_BUILD_IO "build Q IO library" ON)
1618

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+
1734
add_subdirectory(q_lib)
18-
add_subdirectory(infra)
35+
36+
###############################################################################
37+
# q_io
1938

2039
if (Q_BUILD_IO)
2140
add_subdirectory(q_io)
2241
endif()
2342

43+
###############################################################################
44+
# Examples and Tests
45+
2446
if (Q_BUILD_EXAMPLES)
2547
add_subdirectory(example)
2648
endif()

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: q
22
title: Q Audio DSP Library
3-
version: v1.0
3+
version: v1.5-dev
44
start_page: index.adoc
55
asciidoc:
66
attributes:

infra

Lines changed: 0 additions & 1 deletion
This file was deleted.

q_io/CMakeLists.txt

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Distributed under the MIT License (https://opensource.org/licenses/MIT)
55
###############################################################################
6-
cmake_minimum_required(VERSION 3.5.1)
6+
cmake_minimum_required(VERSION 3.16.0)
77

88
set(CMAKE_CXX_STANDARD 20)
99
set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -17,8 +17,33 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"
1717
endif()
1818

1919
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
2247

2348
add_library(libqio STATIC
2449
src/audio_file.cpp

q_io/external/portaudio

Lines changed: 0 additions & 1 deletion
This file was deleted.

q_io/external/portmidi

Lines changed: 0 additions & 1 deletion
This file was deleted.

q_lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Distributed under the MIT License (https://opensource.org/licenses/MIT)
55
###############################################################################
6-
cmake_minimum_required(VERSION 3.5.1)
6+
cmake_minimum_required(VERSION 3.16.0)
77

88
set(CMAKE_CXX_STANDARD 20)
99
set(CMAKE_CXX_STANDARD_REQUIRED ON)

0 commit comments

Comments
 (0)