Skip to content

Commit 0aeb345

Browse files
tstennercboulay
authored andcommitted
Rename examples project so the package name is more expressive, add examples to CI
1 parent 8dd6bf8 commit 0aeb345

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ environment:
1212
build_script:
1313
- cmd: cmake -Dlslgitrevision=%APPVEYOR_REPO_COMMIT% -Dlslgitbranch=%APPVEYOR_REPO_BRANCH% -S . -B build -T v140,host=x86 -A %LSLARCH%
1414
- sh: cmake -Dlslgitrevision=${APPVEYOR_REPO_COMMIT} -Dlslgitbranch=${APPVEYOR_REPO_BRANCH} -S . -B build
15-
- cmake -DLSL_UNITTESTS=1 build
15+
- cmake -DLSL_UNITTESTS=ON -DLSL_BUILD_EXAMPLES=ON build
1616
- cmd: cmake --build build --config Release -j --target package
1717
- sh: /usr/bin/time -v cmake --build build -j 3 --target package
1818
- sh: cmake -DCPACK_DEBIAN_PACKAGE_SHLIBDEPS=ON build

.github/workflows/cppcmake.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
cmake --version
3131
cmake -E make_directory build
3232
cd build
33-
cmake -DLSL_UNITTESTS=1 -DCPACK_PACKAGE_DIRECTORY=${PWD}/package ..
33+
cmake -DLSL_UNITTESTS=ON -DLSL_BUILD_EXAMPLES=ON -DCPACK_PACKAGE_DIRECTORY=${PWD}/package ..
3434
- name: make
3535
run: cmake --build build --config Release -j --target install
3636
- name: package

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ before_script:
1212
- brew upgrade cmake
1313
script:
1414
- cmake --version
15-
- cmake -S . -B build ${CMakeArgs} -DLSL_UNITTESTS=1
15+
- cmake -S . -B build ${CMakeArgs} -DLSL_UNITTESTS=ON -DLSL_EXAMPLES=ON
1616
- cd build
17-
- cmake --build . --config Release --target install
17+
- cmake --build . --config Release -j --target install
1818
- testing/lsl_test_internal || true
1919
- testing/lsl_test_exported
2020
- cpack

examples/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
2-
project(Examples
2+
project(lslexamples
33
LANGUAGES C CXX
44
VERSION 0.2.0)
55
find_package(LSL REQUIRED

0 commit comments

Comments
 (0)