Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jan Koniarik
emlabcpp
Commits
7317a6a6
Commit
7317a6a6
authored
Nov 05, 2021
by
Jan Koniarik
Browse files
Tests are now conditional
parent
f25d0d90
Pipeline
#101364
failed with stage
in 1 minute and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7317a6a6
...
...
@@ -2,13 +2,15 @@ cmake_minimum_required(VERSION 3.16)
project
(
emlabcpp
)
include
(
CTest
)
add_library
(
emlabcpp INTERFACE
)
target_include_directories
(
emlabcpp INTERFACE include/
)
if
(
BUILD_TESTING
)
include
(
tests/tests.cmake
)
if
(
CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME
)
include
(
CTest
)
if
(
BUILD_TESTING
)
include
(
tests/tests.cmake
)
endif
()
endif
()
install
(
TARGETS emlabcpp
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment