You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, after thinking about it, using the command line to run any source is not an option because:
1: It will break compatibility of previous projects already using "ctoy_argc" and "ctoy_argv".
2: It will break the ability to compile with other compiler (gcc etc) with "tool/build_native" and CMake.
Because the CMake script will have no way to know which c files to compile.
The only option I see would be to add a "CMakeLists.txt" file to "src/" and parse it.
The default CMakeLists.txt would be FILE(GLOB SOURCES main.c) and could be modified.
If parsing a basic FILE(GLOB SOURCES is not too hard, handling the complete syntax (recursion, *, etc) is not as simple.
No description provided.
The text was updated successfully, but these errors were encountered: