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

cmake:refine cmake build for apps/examples #1967

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

xuxin930
Copy link
Contributor

Summary

Enable the cmake build configuration of most examples directories applications

Impact

Testing

sim

@xuxin930
Copy link
Contributor Author

hi @xiaoxiang781216 this CI error is not caused by this patch, can it trigger it again?

@xiaoxiang781216
Copy link
Contributor

hi @xiaoxiang781216 this CI error is not caused by this patch, can it trigger it again?
but cmake generate some error message:

====================================================================================
Cmake in present: sim/rtptools
Configuration/Tool: sim/rtptools
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
CMake Error at cmake/nuttx_add_library.cmake:172 (add_library):
  Cannot find source file:

    /github/workspace/sources/apps/examples/ftpc/ftpc_cmds
Call Stack (most recent call first):
  /github/workspace/sources/apps/CMakeLists.txt:30 (nuttx_add_library)


CMake Generate step failed.  Build files cannot be regenerated correctly.
-- Configuring done (0.4s)
CMake Error at cmake/nuttx_add_library.cmake:172 (add_library):
  Cannot find source file:

    /github/workspace/sources/apps/examples/ftpc/ftpc_cmds
Call Stack (most recent call first):
  /github/workspace/sources/apps/CMakeLists.txt:30 (nuttx_add_library)


-- Generating done (0.2s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
  Building NuttX...
ninja: error: loading 'build.ninja': No such file or directory
ninja: error: loading 'build.ninja': No such file or directory
ninja: error: loading 'build.ninja': No such file or directory
ninja: error: loading 'build.ninja': No such file or directory

@xuxin930
Copy link
Contributor Author

hi @xiaoxiang781216 this CI error is not caused by this patch, can it trigger it again?
but cmake generate some error message:

====================================================================================
Cmake in present: sim/rtptools
Configuration/Tool: sim/rtptools
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
CMake Error at cmake/nuttx_add_library.cmake:172 (add_library):
  Cannot find source file:

    /github/workspace/sources/apps/examples/ftpc/ftpc_cmds
Call Stack (most recent call first):
  /github/workspace/sources/apps/CMakeLists.txt:30 (nuttx_add_library)


CMake Generate step failed.  Build files cannot be regenerated correctly.
-- Configuring done (0.4s)
CMake Error at cmake/nuttx_add_library.cmake:172 (add_library):
  Cannot find source file:

    /github/workspace/sources/apps/examples/ftpc/ftpc_cmds
Call Stack (most recent call first):
  /github/workspace/sources/apps/CMakeLists.txt:30 (nuttx_add_library)


-- Generating done (0.2s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
  Building NuttX...
ninja: error: loading 'build.ninja': No such file or directory
ninja: error: loading 'build.ninja': No such file or directory
ninja: error: loading 'build.ninja': No such file or directory
ninja: error: loading 'build.ninja': No such file or directory

Sorry i did not notice, i have fixed🙏

@xiaoxiang781216 xiaoxiang781216 merged commit 32b417a into apache:master Aug 16, 2023
25 checks passed
@xuxin930 xuxin930 deleted the cmake-additional branch October 17, 2024 04:02
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.

2 participants