Damien Hedde
Builds for 1 pipeline passed in 9 minutes 50 seconds

qbox: fix & clean CMakeLists.txt

include(ExternalProject)
set(QBOX_CONFIGURE_COMMAND
${CMAKE_SOURCE_DIR}/libs/qbox/configure
${CMAKE_CURRENT_SOURCE_DIR}/configure
--target-list=aarch64-softmmu
--library
--qbox
--tlm2c-includedir="$<JOIN:$<TARGET_PROPERTY:Tlm2c::tlm2c,INTERFACE_INCLUDE_DIRECTORIES>, >"
--tlm2c-libdir="$<TARGET_FILE_DIR:Tlm2c::tlm2c>"
--prefix=${CMAKE_CURRENT_BINARY_DIR}/libs/qbox/install
--prefix=${CMAKE_CURRENT_BINARY_DIR}/install
--disable-pie
--extra-cflags=-fPIC\ -fpic\ -ftls-model=global-dynamic
)
... ... @@ -17,13 +17,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
endif()
ExternalProject_Add(qbox
SOURCE_DIR ${CMAKE_SOURCE_DIR}/libs/qbox
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/install
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}
TMP_DIR ${CMAKE_CURRENT_BINARY_DIR}/tmp
STAMP_DIR ${CMAKE_CURRENT_BINARY_DIR}/stampdir
CONFIGURE_COMMAND ${QBOX_CONFIGURE_COMMAND}
PREFIX ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS Tlm2c::tlm2c
BUILD_COMMAND $(MAKE)
)
... ...