Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
OpenXG-RAN
Commits
e666cf5e
Commit
e666cf5e
authored
Apr 11, 2022
by
Robert Schmidt
Committed by
Sakthivel Velumani
Sep 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create CMake E1AP_RELEASE variable from E1AP_VERSION
parent
1f841336
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
openair2/E1AP/MESSAGES/CMakeLists.txt
openair2/E1AP/MESSAGES/CMakeLists.txt
+1
-8
No files found.
openair2/E1AP/MESSAGES/CMakeLists.txt
View file @
e666cf5e
set
(
E1AP_VERSION 16 78 0
)
make_version
(
E1AP_cc
${
E1AP_VERSION
}
)
#add_definitions(-DE1AP_VERSION=${E1AP_cc})
# TODO from E1AP_VERSION
set
(
E1AP_RELEASE
"16.78.0"
)
string
(
REPLACE
";"
"."
E1AP_RELEASE
"
${
E1AP_VERSION
}
"
)
if
(
E1AP_RELEASE VERSION_EQUAL
"16.78.0"
)
include
(
ASN.1/38463-g80.R16.78.0.cmake
)
...
...
@@ -11,11 +9,6 @@ else()
message
(
FATAL_ERROR
"unknown E1AP_RELEASE
${
E1AP_RELEASE
}
"
)
endif
()
message
(
STATUS
"E1AP_VERSION
${
E1AP_VERSION
}
"
)
message
(
STATUS
"E1AP_cc
${
E1AP_cc
}
"
)
message
(
STATUS
"E1AP_RELEASE
${
E1AP_RELEASE
}
"
)
message
(
STATUS
"E1AP_GRAMMAR
${
E1AP_GRAMMAR
}
"
)
add_custom_command
(
OUTPUT
${
e1ap_source
}
${
e1ap_headers
}
COMMAND ASN1C_PREFIX=E1AP_ asn1c -gen-PER -no-gen-OER -fcompound-names -no-gen-example -findirect-choice -fno-include-deps -D
${
CMAKE_CURRENT_BINARY_DIR
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
E1AP_GRAMMAR
}
DEPENDS
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
E1AP_GRAMMAR
}
...
...
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