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
79226fe7
Commit
79226fe7
authored
May 01, 2014
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use DLL runtime for gtest.
parent
7bde2b3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
CMakeLists.txt
+2
-2
gtest/CMakeLists.txt
gtest/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
79226fe7
...
@@ -50,8 +50,6 @@ endif ()
...
@@ -50,8 +50,6 @@ endif ()
add_subdirectory
(
doc
)
add_subdirectory
(
doc
)
enable_testing
()
add_test
(
compile-test
${
CMAKE_CTEST_COMMAND
}
add_test
(
compile-test
${
CMAKE_CTEST_COMMAND
}
--build-and-test
--build-and-test
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/test"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/test"
...
@@ -81,6 +79,8 @@ if (HAVE_DUP)
...
@@ -81,6 +79,8 @@ if (HAVE_DUP)
add_definitions
(
-DFMT_USE_DUP=1
)
add_definitions
(
-DFMT_USE_DUP=1
)
endif
()
endif
()
enable_testing
()
include_directories
(
.
)
include_directories
(
.
)
add_executable
(
format-test test/format-test.cc
)
add_executable
(
format-test test/format-test.cc
)
target_link_libraries
(
format-test format gtest
)
target_link_libraries
(
format-test format gtest
)
...
...
gtest/CMakeLists.txt
View file @
79226fe7
...
@@ -14,7 +14,7 @@ option(BUILD_SHARED_LIBS "Build shared libraries (DLLs)." OFF)
...
@@ -14,7 +14,7 @@ option(BUILD_SHARED_LIBS "Build shared libraries (DLLs)." OFF)
option
(
option
(
gtest_force_shared_crt
gtest_force_shared_crt
"Use shared (DLL) run-time lib even when Google Test is built as static lib."
"Use shared (DLL) run-time lib even when Google Test is built as static lib."
O
FF
)
O
N
)
option
(
gtest_build_tests
"Build all of gtest's own tests."
OFF
)
option
(
gtest_build_tests
"Build all of gtest's own tests."
OFF
)
...
...
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