Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
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
Libraries
fmt
Commits
ec0cdc46
Commit
ec0cdc46
authored
Sep 21, 2018
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround Windows slowness
parent
3e75ad98
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
test/CMakeLists.txt
test/CMakeLists.txt
+5
-2
No files found.
test/CMakeLists.txt
View file @
ec0cdc46
...
...
@@ -165,8 +165,11 @@ if (FMT_PEDANTIC)
"-DCXX_STANDARD_FLAG=
${
CXX_STANDARD_FLAG
}
"
"-DPEDANTIC_COMPILE_FLAGS=
${
PEDANTIC_COMPILE_FLAGS
}
"
"-DSUPPORTS_USER_DEFINED_LITERALS=
${
SUPPORTS_USER_DEFINED_LITERALS
}
"
)
endif
()
# test if the targets are findable from the build directory
# These tests are disabled on Windows because they take too long.
if
(
FMT_PEDANTIC AND NOT WIN32
)
# Test if the targets are found from the build directory.
add_test
(
find-package-test
${
CMAKE_CTEST_COMMAND
}
-C
${
CMAKE_BUILD_TYPE
}
--build-and-test
...
...
@@ -181,7 +184,7 @@ if (FMT_PEDANTIC)
"-DPEDANTIC_COMPILE_FLAGS=
${
PEDANTIC_COMPILE_FLAGS
}
"
"-DCMAKE_BUILD_TYPE=
${
CMAKE_BUILD_TYPE
}
"
)
#
test if the targets are findable when add_subdirectory is used
#
Test if the targets are found when add_subdirectory is used.
add_test
(
add-subdirectory-test
${
CMAKE_CTEST_COMMAND
}
-C
${
CMAKE_BUILD_TYPE
}
--build-and-test
...
...
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