Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
520f623c
Commit
520f623c
authored
Apr 22, 2010
by
zhanyong.wan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor improvement to hermetic build support in the CMake script, by Vlad Losev.
parent
e0548960
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CMakeLists.txt
CMakeLists.txt
+3
-1
No files found.
CMakeLists.txt
View file @
520f623c
...
...
@@ -8,9 +8,11 @@
# ctest. You can select which tests to run using 'ctest -R regex'.
# For more options, run 'ctest --help'.
# For hermetic builds, we may need to tell CMake to use
compiler
in a
# For hermetic builds, we may need to tell CMake to use
toolchain
in a
# specific location.
string
(
REPLACE
"
\\
"
"/"
CMAKE_RC_COMPILER
"
${
CMAKE_RC_COMPILER
}
"
)
if
(
gtest_compiler
)
string
(
REPLACE
"
\\
"
"/"
gtest_compiler
"
${
gtest_compiler
}
"
)
include
(
CMakeForceCompiler
)
cmake_force_c_compiler
(
"
${
gtest_compiler
}
"
""
)
cmake_force_cxx_compiler
(
"
${
gtest_compiler
}
"
""
)
...
...
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