Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
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
mpim-sw
libcdi
Commits
9ac79595
Commit
9ac79595
authored
1 month ago
by
Mathieu Westphal
Browse files
Options
Downloads
Patches
Plain Diff
CMake: Add control for disabling cdi unknown sources
parent
d6391b75
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!137
CMake: Fix cdi-config.cmake for CMake compatibility
,
!134
CMake: Improvements from kitware
Pipeline
#98628
passed
1 month ago
Stage: basic
Stage: levante
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/CMakeLists.txt
+7
-1
7 additions, 1 deletion
src/CMakeLists.txt
with
7 additions
and
1 deletion
src/CMakeLists.txt
+
7
−
1
View file @
9ac79595
...
...
@@ -190,11 +190,17 @@ list( APPEND cdi_unknown
resource_unpack.h
)
option
(
CDI_BUILD_UNKNOWN
"Build unknown sources in libcdi"
ON
)
mark_as_advanced
(
CDI_BUILD_UNKNOWN
)
if
(
CDI_BUILD_UNKNOWN
)
list
(
APPEND cdi_src_files
${
cdi_unknown
}
)
endif
()
# Support exporting all symbolds on Windows
set
(
CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON
)
add_library
(
cdilib
${
cdi_src_files
}
${
cdi_unknown
}
${
cdi_src_files
}
# INSTALL_HEADERS_LIST cdi.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