Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
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
amdis
amdis-core
Commits
4ee463b4
Commit
4ee463b4
authored
6 years ago
by
Praetorius, Simon
Browse files
Options
Downloads
Patches
Plain Diff
fmt library added differently
parent
d2791619
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+3
-1
3 additions, 1 deletion
CMakeLists.txt
externals/CMakeLists.txt
+6
-5
6 additions, 5 deletions
externals/CMakeLists.txt
with
9 additions
and
6 deletions
CMakeLists.txt
+
3
−
1
View file @
4ee463b4
...
...
@@ -12,7 +12,7 @@ include(DuneMacros)
# start a dune project with information from dune.module
dune_project
()
dune_enable_all_packages
(
MODULE_LIBRARIES amdis
)
dune_enable_all_packages
(
MODULE_LIBRARIES amdis
fmt
)
add_subdirectory
(
"src"
)
add_subdirectory
(
"test"
)
...
...
@@ -21,5 +21,7 @@ add_subdirectory("doc")
add_subdirectory
(
"cmake/modules"
)
add_subdirectory
(
"externals"
)
target_link_libraries
(
amdis fmt
)
# finalize the dune project, e.g. generating config.h etc.
finalize_dune_project
(
GENERATE_CONFIG_H_CMAKE
)
This diff is collapsed.
Click to expand it.
externals/CMakeLists.txt
+
6
−
5
View file @
4ee463b4
target_include_directories
(
amdis PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_SOURCE_DIR
}
/externals/fmt/include>
)
dune_library_add_sources
(
amdis SOURCES
dune_library_add_sources
(
fmt SOURCES
fmt/src/format.cc
fmt/src/posix.cc
)
fmt/src/posix.cc
)
target_include_directories
(
fmt PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_SOURCE_DIR
}
/externals/fmt/include>
)
install
(
FILES
fmt/include/fmt/core.h
...
...
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