OpenOrbis / mira-project

mira rewrite in cxx
GNU General Public License v3.0
290 stars 65 forks source link

fixed: script now creates src folder #147

Open Asiern opened 3 years ago

Asiern commented 3 years ago

The python script now creates the necessary folders for the build

kiwidoggie commented 3 years ago

Is it possible to make this more dynamic? I try to avoid hardcoded paths to keep everything easy to use. Like scan a folder recursively for *.proto find the relative path, create the output folder at that path. I do this currently in the makefile. That way we can add/remove .cpp files where ever we want and it will still compile. The protobuf script should be similar.

Asiern commented 3 years ago

I modified the code so that now before moving the files it checks if the folder exists and creates it if it doesn't.