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

请问Blade是否支持类似cmake的add_subdirectory功能? #1020

Open
mashoujiang opened this issue Sep 5, 2023 · 0 comments
Open

请问Blade是否支持类似cmake的add_subdirectory功能? #1020

mashoujiang opened this issue Sep 5, 2023 · 0 comments

Comments

@mashoujiang
Copy link

mashoujiang commented Sep 5, 2023

背景:
我们的项目目录结构可能是下面这样的:
-project
--|--subproject1
--|--subproject2
--|--subproject3
如果是cmake构建,可以在最上层通过CMakeLists.txt加入add_subdirectory,每个subproject有自己的CMakeLists.txt,然后cd build && cmake .. 即可完成所有目录编译。
如果是blade构建,想要的效果类似,直接在顶层根目录运行blade build。顶层BUILD, BLADE_ROOT只提供全局的一些环境配置。

请问不知道要怎么做呢?

@mashoujiang mashoujiang changed the title 请问Blade是否支持类似cmake的sub_directory功能? 请问Blade是否支持类似cmake的add_subdirectory功能? Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant