diff --git a/resources/testproject/project.c3p b/resources/testproject/project.json similarity index 84% rename from resources/testproject/project.c3p rename to resources/testproject/project.json index 04bf05b71..a8613401f 100644 --- a/resources/testproject/project.c3p +++ b/resources/testproject/project.json @@ -12,26 +12,27 @@ "./**" ], // libraries to use - "libs": [], + "dependencies": [], + // c compiler "cc": "cc", // c sources "targets": { "hello_world": { "type": "executable", - "csources-override": [ + "c-sources-override": [ "./csource/**" ] }, "hello_world_win32": { "type": "executable", - "csources-override": [ + "c-sources-override": [ "./csource/**" ] }, "hello_world_lib": { "type": "static-lib", - "csources-override": [ + "c-sources-override": [ "./csource/**" ] }, diff --git a/src/build/build_options.c b/src/build/build_options.c index 8486f4a71..d284afe5f 100644 --- a/src/build/build_options.c +++ b/src/build/build_options.c @@ -76,84 +76,85 @@ static void usage(void) OUTPUT(" headers [ ...] Analyse files and generate C headers for public methods."); OUTPUT(""); OUTPUT("Options:"); - OUTPUT(" --tinybackend - Use the TinyBackend for compilation."); - OUTPUT(" --stdlib - Use this directory as the C3 standard library path."); - OUTPUT(" --nostdlib - Do not include the standard library."); - OUTPUT(" --nolibc - Do not implicitly link libc nor any associated files."); - OUTPUT(" --libdir - Add this directory to the C3 library search paths."); - OUTPUT(" --lib - Add this library to the compilation."); - OUTPUT(" --path - Use this as the base directory for the current command."); - OUTPUT(" --template