mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
More cmake build system cleanups
This commit is contained in:
parent
e8683ea9df
commit
e351937ea4
@ -275,6 +275,10 @@ endif (DOXYGEN_FOUND)
|
|||||||
# lwIP libraries
|
# lwIP libraries
|
||||||
add_library(lwipcore EXCLUDE_FROM_ALL ${lwipnoapps_SRCS})
|
add_library(lwipcore EXCLUDE_FROM_ALL ${lwipnoapps_SRCS})
|
||||||
target_compile_options(lwipcore PRIVATE ${LWIP_COMPILER_FLAGS})
|
target_compile_options(lwipcore PRIVATE ${LWIP_COMPILER_FLAGS})
|
||||||
|
target_compile_definitions(lwipcore PRIVATE ${LWIP_DEFINITIONS} ${LWIP_MBEDTLS_DEFINITIONS})
|
||||||
|
target_include_directories(lwipcore PRIVATE ${LWIP_INCLUDE_DIRS} ${LWIP_MBEDTLS_INCLUDE_DIRS})
|
||||||
|
|
||||||
add_library(lwipallapps EXCLUDE_FROM_ALL ${lwipallapps_SRCS})
|
add_library(lwipallapps EXCLUDE_FROM_ALL ${lwipallapps_SRCS})
|
||||||
target_compile_options(lwipallapps PRIVATE ${LWIP_COMPILER_FLAGS})
|
target_compile_options(lwipallapps PRIVATE ${LWIP_COMPILER_FLAGS})
|
||||||
|
target_compile_definitions(lwipallapps PRIVATE ${LWIP_DEFINITIONS} ${LWIP_MBEDTLS_DEFINITIONS})
|
||||||
|
target_include_directories(lwipallapps PRIVATE ${LWIP_INCLUDE_DIRS} ${LWIP_MBEDTLS_INCLUDE_DIRS})
|
||||||
|
Loading…
Reference in New Issue
Block a user