mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
cmake: Improve seperation between categories (NFC)
This commit is contained in:
parent
0b4f378d11
commit
e1fbb5b619
|
@ -18,7 +18,9 @@ target_link_libraries(
|
||||||
)
|
)
|
||||||
target_include_directories(target_lists PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
target_include_directories(target_lists PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
|
###
|
||||||
# Builders
|
# Builders
|
||||||
|
#
|
||||||
if(XRT_BUILD_DRIVER_REMOTE)
|
if(XRT_BUILD_DRIVER_REMOTE)
|
||||||
target_sources(target_lists PRIVATE target_builder_remote.c)
|
target_sources(target_lists PRIVATE target_builder_remote.c)
|
||||||
endif()
|
endif()
|
||||||
|
@ -35,7 +37,10 @@ if(XRT_BUILD_DRIVER_SIMULAVR)
|
||||||
target_sources(target_lists PRIVATE target_builder_simulavr.c)
|
target_sources(target_lists PRIVATE target_builder_simulavr.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
###
|
||||||
# Drivers
|
# Drivers
|
||||||
|
#
|
||||||
|
|
||||||
if(XRT_BUILD_DRIVER_ARDUINO)
|
if(XRT_BUILD_DRIVER_ARDUINO)
|
||||||
target_link_libraries(target_lists PRIVATE drv_arduino)
|
target_link_libraries(target_lists PRIVATE drv_arduino)
|
||||||
endif()
|
endif()
|
||||||
|
@ -141,6 +146,7 @@ endif()
|
||||||
####
|
####
|
||||||
# Instance
|
# Instance
|
||||||
#
|
#
|
||||||
|
|
||||||
if(XRT_FEATURE_COMPOSITOR_MAIN OR XRT_FEATURE_COMPOSITOR_NULL)
|
if(XRT_FEATURE_COMPOSITOR_MAIN OR XRT_FEATURE_COMPOSITOR_NULL)
|
||||||
add_library(target_instance STATIC target_instance.c)
|
add_library(target_instance STATIC target_instance.c)
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
|
|
Loading…
Reference in a new issue