Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmtime
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
icon-libraries
libmtime
Commits
913f8453
Commit
913f8453
authored
4 months ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
cmake: remove redundant option
parent
48a40e04
No related branches found
No related tags found
1 merge request
!50
Refactor CMake scripts
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+0
-1
0 additions, 1 deletion
CMakeLists.txt
examples/CMakeLists.txt
+0
-3
0 additions, 3 deletions
examples/CMakeLists.txt
with
0 additions
and
4 deletions
CMakeLists.txt
+
0
−
1
View file @
913f8453
...
...
@@ -15,7 +15,6 @@ option(BUILD_TESTING "Build tests" ON)
option
(
BUILD_EXAMPLES
"Build examples"
ON
)
option
(
BUILD_DOCUMENTATION
"Build documentation"
OFF
)
option
(
MT_ENABLE_MIXED_PRECISION
"Use mixed precision"
OFF
)
option
(
MT_ENABLE_FORTRAN_HL
"Enable high-level interface"
ON
)
# Set line limit to none for GNU compiler (default is 132) to enable long
...
...
This diff is collapsed.
Click to expand it.
examples/CMakeLists.txt
+
0
−
3
View file @
913f8453
...
...
@@ -10,9 +10,6 @@ function(mtime_add_example test_name file_name)
add_executable
(
"
${
test_name
}
"
${
file_name
}
${
ARG_DEPENDS
}
)
target_link_libraries
(
"
${
test_name
}
"
PRIVATE mtime::mtime
${
ARG_LIBRARIES
}
)
set_target_properties
(
${
test_name
}
PROPERTIES Fortran_PREPROCESS ON
)
if
(
MT_ENABLE_MIXED_PRECISION
)
target_compile_definitions
(
${
test_name
}
PRIVATE __MIXED_PRECISION
)
endif
()
endfunction
()
mtime_add_example
(
callback_test callback_test.f90
)
...
...
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