Skip to content

Commit 3fb3c2a

Browse files
committed
Update build scripts
1 parent 0ac2b3d commit 3fb3c2a

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/linux-common.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
mkdir -p build
44
cd build
55

6-
cmake -DLABSOUND_ASOUND=1 -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_RULE_MESSAGES=OFF ..
6+
cmake -DLABSOUND_ASOUND=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_RULE_MESSAGES=OFF ..
77

8-
cmake --build . --target samplerate --config Release
9-
cmake --build . --target libnyquist --config Release
10-
cmake --build . --target LabSound --config Release
8+
cmake --build . --config Release
119
)
1210

1311
cp src/LabSound-1.2.0/build/bin/libLabSound.a src/build/libLabSound.a
12+
13+
ls src/LabSound-1.2.0/build/third_party
1414
cp src/LabSound-1.2.0/build/third_party/libsamplerate/src/libsamplerate.a src/build/libsamplerate.a

src/osx.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
mkdir -p build
44
cd build
55

6-
cmake -G "Xcode" ..
6+
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_RULE_MESSAGES=OFF ..
77

8-
cmake --build . --target samplerate --config Release
9-
cmake --build . --target libnyquist --config Release
10-
cmake --build . --target LabSound --config Release
8+
cmake --build . --config Release
119
)
1210

1311
cp src/LabSound-1.2.0/build/bin/Release/LabSound.framework/Versions/A/LabSound src/build/LabSound
12+
13+
ls src/LabSound-1.2.0/build/third_party
1414
cp src/LabSound-1.2.0/build/third_party/libnyquist/lib/Release/liblibnyquist.a src/build/liblibnyquist.a
1515
cp src/LabSound-1.2.0/build/third_party/libsamplerate/src/Release/libsamplerate.a src/build/libsamplerate.a

src/windows.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
mkdir -p build
44
cd build
55

6-
cmake -A x64 -D CMAKE_POLICY_DEFAULT_CMP0091=NEW -T v142 ..
6+
cmake -A x64 -DCMAKE_BUILD_TYPE=Release -T v142 -DCMAKE_RULE_MESSAGES=OFF ..
77

8-
cmake --build . --target samplerate --config Release
9-
cmake --build . --target libnyquist --config Release
10-
cmake --build . --target LabSound --config Release
8+
cmake --build . --config Release
119
)
1210

1311
cp src/LabSound-1.2.0/build/bin/Release/LabSound.lib src/build/LabSound.lib
12+
13+
ls src/LabSound-1.2.0/build/third_party
1414
cp src/LabSound-1.2.0/build/third_party/libnyquist/lib/Release/libnyquist.lib src/build/libnyquist.lib
1515
cp src/LabSound-1.2.0/build/third_party/libsamplerate/src/Release/samplerate.lib src/build/samplerate.lib

0 commit comments

Comments
 (0)