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
0544fb36
Commit
0544fb36
authored
Nov 05, 2021
by
Jan Koniarik
Browse files
Tests are now conditional
parent
4d512fcd
Pipeline
#101365
passed with stage
in 1 minute and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
0544fb36
...
...
@@ -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