mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:17:45 +00:00
HackStudio: Add ProjectBuilder component
ProjectBuilder takes care of building and running the current project from Hack Studio. The existing functionality of building javascript and Makefile projects remains, and in addition to it the ability to build standalone serenity components is added. If the Hack Studio project is the serenity repository itself, ProjectBuilder will attempt building the component that the currently active file belongs to. It does so by creating a new CMake file which adds the component as a build subdirectory. It also parses all CMake files in the serenity repository to gather all available libraries. It declares the libraries and their dependencies in this CMake file. It then uses the HACKSTUDIO_BUILD CMake option to direct the build system to use this CMake file instead of doing a full system build.
This commit is contained in:
parent
f464ae84ce
commit
bb6324a9a9
3 changed files with 262 additions and 0 deletions
|
@ -43,6 +43,7 @@ set(SOURCES
|
|||
LanguageClient.cpp
|
||||
Locator.cpp
|
||||
Project.cpp
|
||||
ProjectBuilder.cpp
|
||||
ProjectDeclarations.cpp
|
||||
ProjectFile.cpp
|
||||
ProjectTemplate.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue