Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tadah.MLIP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Tadah
Tadah.MLIP
Commits
3949c37d
Commit
3949c37d
authored
1 year ago
by
mkirsz
Browse files
Options
Downloads
Patches
Plain Diff
Update
parent
67ec16f2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
tests/CMakeLists.txt
+1
-4
1 addition, 4 deletions
tests/CMakeLists.txt
with
3 additions
and
6 deletions
CMakeLists.txt
+
2
−
2
View file @
3949c37d
...
...
@@ -160,12 +160,11 @@ add_library(tadah
$<TARGET_OBJECTS:tadah.core.obj>
$<TARGET_OBJECTS:tadah.models.obj>
$<TARGET_OBJECTS:tadah.mlip.obj>
$<TARGET_OBJECTS:config::rc>
)
add_executable
(
ta-dah bin/tadah.cpp
)
target_link_libraries
(
ta-dah PRIVATE tadah
)
target_link_libraries
(
tadah PRIVATE config::rc
)
target_link_libraries
(
ta-dah PRIVATE config::rc
)
#########################################################################
if
(
TADAH_MARCH_NATIVE
)
...
...
@@ -314,6 +313,7 @@ message(STATUS "${TADAH}: Build with OpenMP is ${TADAH_ENABLE_OPENMP}")
find_package
(
LAPACK
)
target_link_libraries
(
ta-dah PRIVATE
${
LAPACK_LIBRARIES
}
)
target_link_libraries
(
tadah PUBLIC
${
LAPACK_LIBRARIES
}
)
install
(
TARGETS ta-dah DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/bin
)
install
(
TARGETS tadah DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/lib
)
...
...
This diff is collapsed.
Click to expand it.
tests/CMakeLists.txt
+
1
−
4
View file @
3949c37d
...
...
@@ -3,10 +3,7 @@ file(GLOB tests_src "*.cpp")
#file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/tests_data DESTINATION .)
add_executable
(
test_tadah
${
tests_src
}
)
target_link_libraries
(
test_tadah PRIVATE
Catch2 tadah config::rc
)
find_package
(
LAPACK
)
target_link_libraries
(
test_tadah PRIVATE
${
LAPACK_LIBRARIES
}
)
target_link_libraries
(
test_tadah PRIVATE Catch2 tadah
)
include
(
Catch.cmake
)
catch_discover_tests
(
test_tadah
)
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