-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to disable examples apps #28
base: master
Are you sure you want to change the base?
Add option to disable examples apps #28
Conversation
CMakeLists.txt
Outdated
add_subdirectory(${LWIP_DIR}/contrib/ports/win32/example_app) | ||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") | ||
add_subdirectory(${LWIP_DIR}/contrib/ports/unix/example_app) | ||
OPTION(LWIP_OPTION_ENABLE_EXAMPLE_APPS "Build example apps on win32/unix/darwin" ON) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be win32/linux/darwin
not win32/unix/darwin
, since unix
is used for both Linux
and Darwin
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DmitriiKostrov fixed in latest commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DmitriiKostrov Is there anything else that needs done to get this in? Been sitting 2 weeks now with no action.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, all looks fine for me. But I'm not a maintainer and cannot fully aprove it. Sorry
Not everyone wants the example apps built on these platforms. For our specific use case we have an emulated build for tests and target platform is embedded, in the test environment we don't actually want real sockets. This PR adds an option to disable the example app builds for those that don't want it. The default is to retain the current behavior of building them by default on these platforms.