Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mojtaba Abdolkhani
ogs
Commits
1174bd81
Commit
1174bd81
authored
8 years ago
by
Tom Fischer
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1590 from bilke/win-fixes
Some Windows fixes
parents
23edf8a8
907ad640
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MaterialLib/SolidModels/Ehlers.h
+0
-2
0 additions, 2 deletions
MaterialLib/SolidModels/Ehlers.h
Tests/CMakeLists.txt
+4
-0
4 additions, 0 deletions
Tests/CMakeLists.txt
scripts/cmake/Find.cmake
+8
-0
8 additions, 0 deletions
scripts/cmake/Find.cmake
with
12 additions
and
2 deletions
MaterialLib/SolidModels/Ehlers.h
+
0
−
2
View file @
1174bd81
...
...
@@ -164,10 +164,8 @@ public:
{
os
<<
"State:
\n
"
<<
"eps_p_D: "
<<
m
.
eps_p_D
<<
"
\n
"
<<
"e_p: "
<<
m
.
e_p
<<
"
\n
"
<<
"eps_p_eff: "
<<
m
.
eps_p_eff
<<
"
\n
"
<<
"eps_p_D_prev: "
<<
m
.
eps_p_D_prev
<<
"
\n
"
<<
"e_p_prev: "
<<
m
.
e_p_prev
<<
"
\n
"
<<
"eps_p_eff_prev: "
<<
m
.
eps_p_eff_prev
<<
"
\n
"
<<
"lambda: "
<<
m
.
lambda
<<
"
\n
"
;
return
os
;
...
...
This diff is collapsed.
Click to expand it.
Tests/CMakeLists.txt
+
4
−
0
View file @
1174bd81
...
...
@@ -90,6 +90,7 @@ set(TESTRUNNER_ADDITIONAL_ARGUMENTS ${TESTRUNNER_ADDITIONAL_ARGUMENTS}
--gtest_output=xml:./testrunner.xml
)
add_custom_target
(
tests-cleanup
${
CMAKE_COMMAND
}
-E remove testrunner.xml
)
set_target_properties
(
tests-cleanup PROPERTIES FOLDER Testing
)
if
(
OGS_USE_PETSC
)
set
(
TEST_FILTER_MPI --gtest_filter=-MPITest_Math.*
)
...
...
@@ -101,6 +102,7 @@ if(OGS_USE_PETSC)
mpirun -np 3 $<TARGET_FILE:testrunner> --gtest_filter=MPITest*
DEPENDS testrunner
)
set_target_properties
(
tests_mpi PROPERTIES FOLDER Testing
)
else
()
add_custom_target
(
tests
$<TARGET_FILE:testrunner>
${
TESTRUNNER_ADDITIONAL_ARGUMENTS
}
...
...
@@ -108,5 +110,7 @@ else()
)
endif
()
set_target_properties
(
tests PROPERTIES FOLDER Testing
)
# Creates one ctest entry for every googletest
#ADD_GOOGLE_TESTS ( ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/testrunner ${TEST_SOURCES})
This diff is collapsed.
Click to expand it.
scripts/cmake/Find.cmake
+
8
−
0
View file @
1174bd81
...
...
@@ -21,6 +21,14 @@ find_package(cppcheck QUIET)
find_package
(
PythonInterp QUIET
)
# Check for cmder git installed via chocolatey
find_program
(
GIT_EXECUTABLE
NAMES git
PATHS C:/tools/cmder/vendor/git-for-windows
PATH_SUFFIXES cmd bin
DOC
"Git command line client"
)
find_package
(
Git REQUIRED
)
string
(
REPLACE
"mingw64/"
""
GIT_EXECUTABLE
${
GIT_EXECUTABLE
}
)
# Windows git submodule fix
set
(
GIT_TOOL_PATH
${
GIT_EXECUTABLE
}
CACHE FILEPATH
"The git command line interface"
FORCE
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment