Replies: 2 comments 1 reply
-
If you can clean it up and start developing out the return status codes in the format be awesome. A hypothetical Electron replacement will probably depend on oF so too much about removal of oF depends though but the actual parsing stuff should be focus and generation of rework. If you wanted to make it faster maybe we could build actual final static libraries (rolling on latest) for core on core and add release: macos/windows/linux with static library of Core as a release binary to link for the PG project after a download, action on of.yml on each at the end release binary We still gotta figure out how to integrate CMakeList generation too (once we merge in CMake core compiling). See Android PR for example. |
Beta Was this translation helpful? Give feedback.
-
scanFolder, I think it is covering everything needed for addons. |
Beta Was this translation helpful? Give feedback.
-
I'm in the process of rewriting Project Generator (CLI) and I'll share some ideas and thoughts here.
the idea is having a CLI app not depending on OF, so it build faster and can be compiled in a script in installation process.
I think the simplified lists of tasks are:
Project
adding the project src and paths, and additional folders to the project
Addons
Parse the list
check existence in local folder, and then in OF Addons folder
getting all the correct folders, the common ones and per platform ones (this is tricky because there are some variations on addons files organizational)
Separate in different lists of files according to usage (header files, source files, include paths, static libs, dynamic libs, xcframeworks/frameworks)
Parsing addons_config.mk in a simple key:value structure, like a map, without validating anything.
adding only the keys belonging to meta, common, and desired platforms.
filter all the folders list, applying exclusions and removing undesired files per platform (headers, sources, etc)
Templates
Until here we didn't even touch templates. so all information is already gathered independently of the template to be applied.
now we choose the templates, the list of files to be copied, the replacements, the renaming.
Beta Was this translation helpful? Give feedback.
All reactions