Skip to content
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

build: Fix rpserver and rpproxy CMake builds #2508

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

Jasinsky
Copy link
Contributor

@Jasinsky Jasinsky commented Aug 19, 2024

Summary

This fixes missing include directories for iperf application.

Make based build was able to proceed - CMake build had two aforementioned issues.

Impact

Hard to estimate.

Testing

Local playing around rpserver and rpproxy in sim flavor.

@Jasinsky
Copy link
Contributor Author

For your visibility @acassis @xiaoxiang781216

netutils/iperf/CMakeLists.txt Outdated Show resolved Hide resolved
system/argtable3/CMakeLists.txt Outdated Show resolved Hide resolved
@xuxin930
Copy link
Contributor

hi @Jasinsky @xiaoxiang781216 nice catch!
argtable3/src is set by Make.defs and takes effect in the whole context of apps.
lets make it takes effect globally in CMake by.

# in argtable3 CMakeLists
  set_property(
    TARGET nuttx
    APPEND
    PROPERTY NUTTX_INCLUDE_DIRECTORIES 
    ${NUTTX_APPS_DIR}/system/argtable3/argtable3/src)

@Jasinsky
Copy link
Contributor Author

@xiaoxiang781216 @xuxin930 - Thank you for your suggestion, applied - df744eb

argtable3 include directories are appended as NUTTX_INCLUDE_DIRECTORIES
property, symlink creation is no longer needed.

Signed-off-by: Daniel Jasinski <[email protected]>
@acassis acassis merged commit 7ff3bc4 into apache:master Aug 20, 2024
27 checks passed
@Jasinsky Jasinsky deleted the cmake_fix_rpserver_rpproxy branch August 20, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants