Major update to revamp development

This commit is contained in:
Hartmut Seichter 2022-01-04 23:09:32 +01:00
parent df12d68b22
commit 7479bfd625
12 changed files with 133 additions and 45 deletions

View file

@ -2,8 +2,8 @@
set(scripts_demo
${CMAKE_SOURCE_DIR}/src/scripts/demos/simple_000.lua
${CMAKE_SOURCE_DIR}/src/scripts/demos/simple_001.lua
${CMAKE_SOURCE_DIR}/src/scripts/demos/simple_002.lua
${CMAKE_SOURCE_DIR}/src/scripts/demos/simple_003.lua
${CMAKE_SOURCE_DIR}/src/scripts/demos/simple_002.lua
${CMAKE_SOURCE_DIR}/src/scripts/demos/simple_003.lua
)
set(scripts_test
@ -26,8 +26,8 @@ target_include_directories(pixwerx
${CMAKE_SOURCE_DIR}/src/scripting/include
)
target_link_libraries(pixwerx
pwbinding
# -Wl,--whole-archive -lpwscripting -Wl,--no-whole-archive
pwcore
pwsystem)
target_link_libraries(pixwerx
pwbinding
pwcore
pwsystem
)

View file

@ -15,19 +15,12 @@
#include <iostream>
#include <fstream>
//PW_RUNTIME_LUA_USE(core)
int main(int argc,const char** argv) {
argagg::parser argparser {{
{ "help", {"-h", "--help"},
"shows this help message", 0},
{ "file", {"-f", "--file"},
"load file to run", 1}
}
};
{ "help", {"-h", "--help"}, "shows this help message", 0},
{ "file", {"-f", "--file"}, "load file to run", 1}
}};
argagg::parser_results args;