Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Core Modules
dune-common
Merge requests
!70
Document that tests need to be build before running them and how to do that
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Document that tests need to be build before running them and how to do that
feature/doc-building-of-tests
into
master
Overview
0
Commits
16
Pipelines
0
Changes
9
Merged
Jö Fahlke
requested to merge
feature/doc-building-of-tests
into
master
9 years ago
Overview
0
Commits
16
Pipelines
0
Changes
-
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ddd08735
16 commits,
9 years ago
+
292
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
cmake/modules/AddVcFlags.cmake
0 → 100644
+
28
−
0
Options
# Defines the functions to use VC
#
# .. cmake_function:: add_dune_vc_flags
#
# .. cmake_param:: targets
# :positional:
# :single:
# :required:
#
# A list of targets to use VC with.
#
function
(
add_dune_vc_flags _targets
)
if
(
Vc_FOUND
)
foreach
(
_target
${
_targets
}
)
target_link_libraries
(
${
_target
}
${
Vc_LIBRARIES
}
)
target_compile_options
(
${
_target
}
PUBLIC
${
Vc_ALL_FLAGS
}
)
target_include_directories
(
${
_target
}
SYSTEM PUBLIC
${
Vc_INCLUDE_DIR
}
)
endforeach
(
_target
${
_targets
}
)
endif
(
Vc_FOUND
)
endfunction
(
add_dune_vc_flags
)
if
(
Vc_FOUND
)
dune_register_package_flags
(
COMPILE_OPTIONS
"
${
Vc_ALL_FLAGS
}
"
LIBRARIES
"
${
Vc_LIBRARIES
}
"
INCLUDE_DIRS
"
${
Vc_INCLUDE_DIR
}
"
)
endif
(
Vc_FOUND
)
set
(
HAVE_VC
${
Vc_FOUND
}
)
Loading