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
59a298f1
Commit
59a298f1
authored
Jun 10, 2021
by
Daniela Engert
Committed by
Victor Zverovich
Jun 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable `enforce-checks-test` for MSVC, too
parent
36c29482
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
test/CMakeLists.txt
test/CMakeLists.txt
+3
-7
No files found.
test/CMakeLists.txt
View file @
59a298f1
...
...
@@ -82,6 +82,9 @@ if (MSVC)
target_compile_options
(
unicode-test PRIVATE /utf-8
)
endif
()
add_fmt_test
(
xchar-test
)
add_fmt_test
(
enforce-checks-test
)
target_compile_definitions
(
enforce-checks-test PRIVATE
-DFMT_ENFORCE_COMPILE_STRING
)
if
(
FMT_CAN_MODULE
)
# The tests need {fmt} to be compiled as traditional library
...
...
@@ -101,13 +104,6 @@ if (FMT_CAN_MODULE)
endif
()
endif
()
if
(
NOT MSVC
)
# FMT_ENFORCE_COMPILE_STRING is not supported under MSVC due to compiler bugs.
add_fmt_test
(
enforce-checks-test
)
target_compile_definitions
(
enforce-checks-test PRIVATE
-DFMT_ENFORCE_COMPILE_STRING
)
endif
()
if
(
NOT DEFINED MSVC_STATIC_RUNTIME AND MSVC
)
foreach
(
flag_var
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
...
...
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