mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Another try to get CMake run on travis
This commit is contained in:
parent
22c1c4ec8d
commit
31dbc5722c
@ -13,8 +13,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL Linux OR ${CMAKE_SYSTEM_NAME} STREQUAL Darw
|
|||||||
add_subdirectory(${LWIP_DIR}/contrib/ports/unix/example_app)
|
add_subdirectory(${LWIP_DIR}/contrib/ports/unix/example_app)
|
||||||
else()
|
else()
|
||||||
message(WARNING "Host ${CMAKE_SYSTEM_NAME} is not supported to build example_app")
|
message(WARNING "Host ${CMAKE_SYSTEM_NAME} is not supported to build example_app")
|
||||||
include(src/Filelists.cmake)
|
endif()
|
||||||
endif()
|
|
||||||
|
|
||||||
# Source package generation
|
# Source package generation
|
||||||
set(CPACK_SOURCE_GENERATOR "ZIP")
|
set(CPACK_SOURCE_GENERATOR "ZIP")
|
||||||
@ -27,5 +26,6 @@ set(CPACK_SOURCE_PACKAGE_FILE_NAME "lwip-${LWIP_VERSION_MAJOR}.${LWIP_VERSION_MI
|
|||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
||||||
# Target for package generation
|
# Target for package generation
|
||||||
|
include(src/Filelists.cmake)
|
||||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||||
add_dependencies(dist lwipdocs)
|
add_dependencies(dist lwipdocs)
|
||||||
|
Loading…
Reference in New Issue
Block a user