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
Michael Black
OpenXG-RAN
Commits
68836079
Commit
68836079
authored
Dec 02, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only force ASN.1 generation and build for certain targets
parent
35d5c432
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
CMakeLists.txt
CMakeLists.txt
+16
-14
No files found.
CMakeLists.txt
View file @
68836079
...
...
@@ -362,20 +362,6 @@ endif()
##################################################
# ASN.1 grammar C code generation & dependencies #
##################################################
# this custom target regroups all ASN.1 generation/compilation targets
# add_custom_target is always considered out-of-date, and will always force the
# generation of all ASN.1 definitions
add_custom_target
(
asn1
)
add_dependencies
(
asn1
asn1_lte_rrc
asn1_nr_rrc
asn1_s1ap
asn1_ngap
asn1_m2ap
asn1_m3ap
asn1_x2ap
asn1_f1ap
asn1_lpp
)
# RRC
######
...
...
@@ -2379,6 +2365,10 @@ target_link_libraries(oairu PRIVATE
target_link_libraries
(
oairu PRIVATE pthread m CONFIG_LIB rt
${
CMAKE_DL_LIBS
}
${
T_LIB
}
)
target_link_libraries
(
oairu PRIVATE asn1_nr_rrc asn1_lte_rrc
)
# force the generation of ASN.1 so that we don't need to wait during the build
target_link_libraries
(
lte-softmodem PRIVATE
asn1_lte_rrc asn1_s1ap asn1_m2ap asn1_m3ap asn1_x2ap asn1_f1ap
)
# lte-uesoftmodem is UE implementation
#######################################
...
...
@@ -2420,6 +2410,10 @@ target_link_libraries(lte-uesoftmodem PRIVATE ${LIB_LMS_LIBRARIES})
target_link_libraries
(
lte-uesoftmodem PRIVATE
${
T_LIB
}
)
target_link_libraries
(
lte-uesoftmodem PRIVATE asn1_nr_rrc asn1_lte_rrc
)
# force the generation of ASN.1 so that we don't need to wait during the build
target_link_libraries
(
lte-uesoftmodem PRIVATE
asn1_lte_rrc asn1_s1ap asn1_m2ap asn1_m3ap asn1_x2ap asn1_f1ap
)
# nr-softmodem
###################################################
...
...
@@ -2467,6 +2461,10 @@ if(T1_OFFLOAD_FOUND)
add_dependencies
(
nr-softmodem ldpc_offload
)
endif
()
# force the generation of ASN.1 so that we don't need to wait during the build
target_link_libraries
(
nr-softmodem PRIVATE
asn1_lte_rrc asn1_nr_rrc asn1_s1ap asn1_ngap asn1_m2ap asn1_m3ap asn1_x2ap asn1_f1ap asn1_lpp
)
# nr-uesoftmodem is UE implementation
#######################################
...
...
@@ -2511,6 +2509,10 @@ if (CUDA_FOUND)
add_dependencies
(
nr-softmodem ldpc_cuda
)
endif
(
CUDA_FOUND
)
# force the generation of ASN.1 so that we don't need to wait during the build
target_link_libraries
(
nr-uesoftmodem PRIVATE
asn1_lte_rrc asn1_nr_rrc asn1_s1ap asn1_ngap asn1_m2ap asn1_m3ap asn1_x2ap asn1_f1ap asn1_lpp
)
###################################"
# Addexecutables for tests
####################################
...
...
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