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
常顺宇
OpenXG-RAN
Commits
32055112
Commit
32055112
authored
Jul 20, 2018
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d89009be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+5
-5
No files found.
cmake_targets/CMakeLists.txt
View file @
32055112
...
@@ -330,7 +330,7 @@ endif (NOT ${ret} STREQUAL 0)
...
@@ -330,7 +330,7 @@ endif (NOT ${ret} STREQUAL 0)
file
(
GLOB rrc_source
${
RRC_FULL_DIR
}
/*.c
)
file
(
GLOB rrc_source
${
RRC_FULL_DIR
}
/*.c
)
file
(
GLOB rrc_h
${
RRC_FULL_DIR
}
/*.h
)
file
(
GLOB rrc_h
${
RRC_FULL_DIR
}
/*.h
)
set
(
rrc_h
${
rrc_h
}
${
RRC_FULL_DIR
}
/asn
1_constants
.h
)
set
(
rrc_h
${
rrc_h
}
${
RRC_FULL_DIR
}
/asn
_constant
.h
)
set_source_files_properties
(
${
rrc_source
}
PROPERTIES COMPILE_FLAGS -w
)
# suppress warnings from generated code
set_source_files_properties
(
${
rrc_source
}
PROPERTIES COMPILE_FLAGS -w
)
# suppress warnings from generated code
add_library
(
RRC_LIB
${
rrc_h
}
${
rrc_source
}
add_library
(
RRC_LIB
${
rrc_h
}
${
rrc_source
}
${
OPENAIR2_DIR
}
/RRC/LTE/MESSAGES/asn1_msg.c
${
OPENAIR2_DIR
}
/RRC/LTE/MESSAGES/asn1_msg.c
...
@@ -340,7 +340,7 @@ include_directories ("${RRC_FULL_DIR}")
...
@@ -340,7 +340,7 @@ include_directories ("${RRC_FULL_DIR}")
# add the command to generate the source code
# add the command to generate the source code
# Warning: if you modify ASN.1 source file to generate new C files, cmake should be re-run instead of make
# Warning: if you modify ASN.1 source file to generate new C files, cmake should be re-run instead of make
add_custom_command
(
add_custom_command
(
OUTPUT
${
RRC_FULL_DIR
}
/asn
1_constants
.h
OUTPUT
${
RRC_FULL_DIR
}
/asn
_constant
.h
COMMAND mkdir -p
${
RRC_FULL_DIR
}
COMMAND mkdir -p
${
RRC_FULL_DIR
}
COMMAND env asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D
${
RRC_FULL_DIR
}
${
RRC_GRAMMAR
}
COMMAND env asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D
${
RRC_FULL_DIR
}
${
RRC_GRAMMAR
}
DEPENDS
${
RRC_GRAMMAR
}
DEPENDS
${
RRC_GRAMMAR
}
...
@@ -1054,7 +1054,7 @@ set(PHY_TURBOIF
...
@@ -1054,7 +1054,7 @@ set(PHY_TURBOIF
add_library
(
coding MODULE
${
PHY_TURBOSRC
}
)
add_library
(
coding MODULE
${
PHY_TURBOSRC
}
)
set
(
PHY_SRC_COMMON
set
(
PHY_SRC_COMMON
# depend on code generation from asn1c
# depend on code generation from asn1c
${
RRC_FULL_DIR
}
/asn
1_constants
.h
${
RRC_FULL_DIR
}
/asn
_constant
.h
# actual source
# actual source
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/dci_tools_common.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/dci_tools_common.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/lte_mcs.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/lte_mcs.c
...
@@ -2230,13 +2230,13 @@ endif()
...
@@ -2230,13 +2230,13 @@ endif()
add_custom_command
(
add_custom_command
(
OUTPUT
${
OPENAIR_BIN_DIR
}
/messages.xml
OUTPUT
${
OPENAIR_BIN_DIR
}
/messages.xml
COMMAND
${
xml_command
}
COMMAND
${
xml_command
}
DEPENDS
${
S1AP_OAI_generated
}
${
RRC_FULL_DIR
}
/asn
1_constants
.h
DEPENDS
${
S1AP_OAI_generated
}
${
RRC_FULL_DIR
}
/asn
_constant
.h
)
)
add_custom_command
(
add_custom_command
(
OUTPUT
${
OPENAIR_BIN_DIR
}
/messages_xml.h
OUTPUT
${
OPENAIR_BIN_DIR
}
/messages_xml.h
COMMAND sed -e 's/ *//' -e 's/\"/\\\\\"/g' -e 's/^/\"/' -e 's/$$/\\\\n\"/'
${
OPENAIR_BIN_DIR
}
/messages.xml >
${
OPENAIR_BIN_DIR
}
/messages_xml.h
COMMAND sed -e 's/ *//' -e 's/\"/\\\\\"/g' -e 's/^/\"/' -e 's/$$/\\\\n\"/'
${
OPENAIR_BIN_DIR
}
/messages.xml >
${
OPENAIR_BIN_DIR
}
/messages_xml.h
DEPENDS
${
OPENAIR_BIN_DIR
}
/messages.xml
${
RRC_FULL_DIR
}
/asn
1_constants
.h
DEPENDS
${
OPENAIR_BIN_DIR
}
/messages.xml
${
RRC_FULL_DIR
}
/asn
_constant
.h
)
)
################
################
...
...
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