commit cc0a92618d546e93f8580900773228f6abb9c68d Author: Josh Holtrop Date: Sun Mar 15 21:28:16 2015 -0400 add initial main.cc and Rsconsfile diff --git a/Rsconsfile b/Rsconsfile new file mode 100644 index 0000000..7c5e521 --- /dev/null +++ b/Rsconsfile @@ -0,0 +1,6 @@ +Rscons::Environment.new do |env| + sources = Dir["**/*.cc"] + env.parse_flags!("!pkg-config --cflags --libs Qt5Core Qt5Gui Qt5Widgets") + env.parse_flags!("-fPIE") + env.Program("app", sources) +end diff --git a/main.cc b/main.cc new file mode 100644 index 0000000..02dd7cc --- /dev/null +++ b/main.cc @@ -0,0 +1,9 @@ +#include +#include + +int main(int argc, char * argv[]) +{ + QApplication app(argc, argv); + + return app.exec(); +}