Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
protobuf-c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
protobuf-c
Commits
33e1af96
Commit
33e1af96
authored
Apr 28, 2024
by
Clément Péron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: move to ctest
parent
4cb63c20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
build-cmake/CMakeLists.txt
build-cmake/CMakeLists.txt
+2
-6
No files found.
build-cmake/CMakeLists.txt
View file @
33e1af96
...
@@ -8,10 +8,6 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
...
@@ -8,10 +8,6 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
cmake_policy
(
SET CMP0074 NEW
)
cmake_policy
(
SET CMP0074 NEW
)
cmake_policy
(
SET CMP0091 NEW
)
cmake_policy
(
SET CMP0091 NEW
)
cmake_policy
(
SET CMP0112 NEW
)
cmake_policy
(
SET CMP0112 NEW
)
# TODO: Convert DART to CTEST
if
(
POLICY CMP0145
)
cmake_policy
(
SET CMP0145 OLD
)
endif
()
project
(
protobuf-c C CXX
)
project
(
protobuf-c C CXX
)
...
@@ -340,9 +336,9 @@ export(EXPORT protobuf-c-targets
...
@@ -340,9 +336,9 @@ export(EXPORT protobuf-c-targets
FILE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/protobuf-c-targets.cmake"
)
FILE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/protobuf-c-targets.cmake"
)
if
(
BUILD_TESTS
)
if
(
BUILD_TESTS
)
include
(
Dart
)
enable_testing
(
)
set
(
DART_TESTING
_TIMEOUT 5
)
set
(
CTEST_TEST
_TIMEOUT 5
)
add_test
(
test-generated-code test-generated-code
)
add_test
(
test-generated-code test-generated-code
)
add_test
(
test-generated-code2 test-generated-code2
)
add_test
(
test-generated-code2 test-generated-code2
)
add_test
(
test-generated-code3 test-generated-code3
)
add_test
(
test-generated-code3 test-generated-code3
)
...
...
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