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
deacf439
Commit
deacf439
authored
May 07, 2024
by
Bartosz Podrygajlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMakeLists for common/utils/LOG
parent
d6f425ad
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
CMakeLists.txt
CMakeLists.txt
+3
-8
common/utils/CMakeLists.txt
common/utils/CMakeLists.txt
+1
-0
common/utils/LOG/CMakeLists.txt
common/utils/LOG/CMakeLists.txt
+10
-0
No files found.
CMakeLists.txt
View file @
deacf439
...
...
@@ -650,7 +650,6 @@ add_library(HASHTABLE
include_directories
(
${
OPENAIR_DIR
}
/common/utils/hashtable
)
add_library
(
UTIL
${
OPENAIR_DIR
}
/common/utils/LOG/log.c
${
OPENAIR_DIR
}
/common/utils/LOG/vcd_signal_dumper.c
${
OPENAIR2_DIR
}
/UTIL/MATH/oml.c
${
OPENAIR2_DIR
}
/UTIL/OPT/probe.c
...
...
@@ -662,8 +661,6 @@ add_library(UTIL
)
if
(
ENABLE_LTTNG
)
find_package
(
LTTngUST 2.3.8 EXACT REQUIRED
)
target_sources
(
UTIL PRIVATE common/utils/LOG/lttng-tp.c
)
target_link_libraries
(
UTIL PUBLIC lttng-ust
)
else
()
message
(
STATUS
"LTTNG support disabled"
)
endif
()
...
...
@@ -674,7 +671,7 @@ if (cap_FOUND)
target_link_libraries
(
UTIL PRIVATE cap
)
target_compile_definitions
(
UTIL PRIVATE HAVE_LIB_CAP
)
endif
()
target_link_libraries
(
UTIL PUBLIC
${
T_LIB
}
pthread
)
target_link_libraries
(
UTIL PUBLIC
${
T_LIB
}
pthread
LOG
)
set
(
SECURITY_SRC
${
OPENAIR3_DIR
}
/SECU/secu_defs.c
...
...
@@ -1207,10 +1204,9 @@ set(PHY_MEX_UE
${
OPENAIR1_DIR
}
/PHY/TOOLS/simde_operations.c
${
OPENAIR1_DIR
}
/PHY/LTE_UE_TRANSPORT/dlsch_llr_computation_avx2.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/lte_ue_measurements.c
${
OPENAIR_DIR
}
/common/utils/LOG/log.c
)
add_library
(
PHY_MEX
${
PHY_MEX_UE
}
)
target_link_libraries
(
PHY_MEX PRIVATE asn1_lte_rrc_hdrs
)
target_link_libraries
(
PHY_MEX PRIVATE asn1_lte_rrc_hdrs
LOG
)
#Layer 2 library
#####################
...
...
@@ -1949,10 +1945,9 @@ set(CMAKE_MODULE_PATH "${OPENAIR_DIR}/cmake_targets/tools/MODULES" "${CMAKE_MODU
# add executables for operation
#################################
add_library
(
minimal_lib
${
OPENAIR_DIR
}
/common/utils/LOG/log.c
${
OPENAIR_DIR
}
/common/utils/minimal_stub.c
)
target_link_libraries
(
minimal_lib
pthread dl
${
T_LIB
}
)
target_link_libraries
(
minimal_lib
PUBLIC pthread dl
${
T_LIB
}
LOG
)
add_executable
(
nfapi_test
${
OPENAIR_DIR
}
/openair2/NR_PHY_INTERFACE/nfapi_5g_test.c
...
...
common/utils/CMakeLists.txt
View file @
deacf439
...
...
@@ -11,3 +11,4 @@ endif()
add_subdirectory
(
T
)
add_subdirectory
(
nr
)
add_subdirectory
(
LOG
)
common/utils/LOG/CMakeLists.txt
0 → 100644
View file @
deacf439
set
(
log_sources log.c
)
if
(
ENABLE_LTTNG
)
set
(
log_sources
${
log_sources
}
lttng-tp.c
)
endif
()
add_library
(
LOG
${
log_sources
}
)
target_include_directories
(
LOG PUBLIC .
)
target_link_libraries
(
LOG PRIVATE
${
T_LIB
}
)
if
(
ENABLE_LTTNG
)
target_link_libraries
(
LOG PUBLIC lttng-ust
)
endif
()
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