Deprecated the old style of selecting a config file (was a compile-time parameter). The config file is now a runtime parameter and can be changed without recompilation. Usage: ./ac_run -s <path/to/config/file/relative/to/ac_run/path>. config/astaroth.conf is selected by default if the custom path is not supplied to ac_run.

This commit is contained in:
jpekkila
2019-09-18 19:22:15 +03:00
parent 3bb6ca1712
commit 24f46324e0
10 changed files with 32 additions and 30 deletions

View File

@@ -26,10 +26,10 @@
*/
#pragma once
int run_autotest(void);
int run_autotest(const char* config_path);
int run_simulation(void);
int run_simulation(const char* config_path);
int run_benchmark(void);
int run_benchmark(const char* config_path);
int run_renderer(void);
int run_renderer(const char* config_path);