Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenFlipper-Free
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
65bbf1e3
Commit
65bbf1e3
authored
Dec 27, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only include ObjectType Directories containing cmake files
parent
e07b0075
Pipeline
#4055
canceled with stage
in 61 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
CMakeLists.txt
CMakeLists.txt
+8
-6
No files found.
CMakeLists.txt
View file @
65bbf1e3
...
...
@@ -297,14 +297,16 @@ file (
# add all found libs to the build
foreach
(
DATATYPE_DIR
${
_data_types
}
)
add_subdirectory
(
${
DATATYPE_DIR
}
)
if
(
EXISTS
${
CMAKE_SOURCE_DIR
}
/
${
DATATYPE_DIR
}
/CMakeLists.txt
)
add_subdirectory
(
${
DATATYPE_DIR
}
)
# Extract Name of type from directory
string
(
REGEX MATCH
"[^/
\\
]*$"
TYPENAME
${
DATATYPE_DIR
}
)
string
(
TOUPPER
${
TYPENAME
}
TYPENAME
)
list
(
APPEND TYPE_LIST
${
TYPENAME
}
)
# Extract Name of type from directory
string
(
REGEX MATCH
"[^/
\\
]*$"
TYPENAME
${
DATATYPE_DIR
}
)
string
(
TOUPPER
${
TYPENAME
}
TYPENAME
)
list
(
APPEND TYPE_LIST
${
TYPENAME
}
)
set
(
${
TYPENAME
}
_INCLUDE
${
CMAKE_SOURCE_DIR
}
/
${
DATATYPE_DIR
}
/../../
)
set
(
${
TYPENAME
}
_INCLUDE
${
CMAKE_SOURCE_DIR
}
/
${
DATATYPE_DIR
}
/../../
)
endif
()
endforeach
()
# info header for Available data types
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment