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
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KeitaYoshioka
ogs
Commits
4ed02067
Commit
4ed02067
authored
Apr 23, 2021
by
Norbert Grunwald
Committed by
Dmitri Naumov
Apr 26, 2021
Browse files
Options
Downloads
Patches
Plain Diff
[cmake] Add TH2M to ProcessLib and Tests CMake.
parent
8f6e5a6e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
ProcessLib/TH2M/CMakeLists.txt
+7
-0
7 additions, 0 deletions
ProcessLib/TH2M/CMakeLists.txt
Tests/CMakeLists.txt
+4
-0
4 additions, 0 deletions
Tests/CMakeLists.txt
scripts/cmake/ProcessesSetup.cmake
+1
-0
1 addition, 0 deletions
scripts/cmake/ProcessesSetup.cmake
with
12 additions
and
0 deletions
ProcessLib/TH2M/CMakeLists.txt
0 → 100644
+
7
−
0
View file @
4ed02067
get_source_files
(
SOURCES PhaseTransitionModels
)
ogs_add_library
(
TH2M
${
SOURCES
}
)
if
(
BUILD_SHARED_LIBS
)
install
(
TARGETS TH2M LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
endif
()
target_link_libraries
(
TH2M PUBLIC ProcessLib PRIVATE ParameterLib
)
This diff is collapsed.
Click to expand it.
Tests/CMakeLists.txt
+
4
−
0
View file @
4ed02067
...
...
@@ -34,6 +34,9 @@ set_source_files_properties(
set
(
TEST_SOURCES
${
TEST_SOURCES
}
${
TEST_SOURCES_NUMLIB
}
)
append_source_files
(
TEST_SOURCES ParameterLib
)
append_source_files
(
TEST_SOURCES ProcessLib
)
if
(
OGS_BUILD_PROCESS_TH2M
)
append_source_files
(
TEST_SOURCES ProcessLib/TH2M
)
endif
()
if
(
OGS_BUILD_GUI
)
append_source_files
(
TEST_SOURCES FileIO_Qt
)
...
...
@@ -73,6 +76,7 @@ target_link_libraries(
Threads::Threads
${
VTK_LIBRARIES
}
$<$<TARGET_EXISTS:LIE>:LIE>
$<$<TARGET_EXISTS:TH2M>:TH2M>
$<$<TARGET_EXISTS:MPI::MPI_CXX>:MPI::MPI_CXX>
$<$<TARGET_EXISTS:SwmmInterface>:SwmmInterface>
$<$<TARGET_EXISTS:InSituLib>:InSituLib>
...
...
This diff is collapsed.
Click to expand it.
scripts/cmake/ProcessesSetup.cmake
+
1
−
0
View file @
4ed02067
...
...
@@ -17,6 +17,7 @@ set(_processes_list
SmallDeformationNonlocal
SteadyStateDiffusion
TES
TH2M
ThermalTwoPhaseFlowWithPP
ThermoHydroMechanics
ThermoMechanicalPhaseField
...
...
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