From cc0a92618d546e93f8580900773228f6abb9c68d Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 15 Mar 2015 21:28:16 -0400 Subject: [PATCH] add initial main.cc and Rsconsfile --- Rsconsfile | 6 ++++++ main.cc | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 Rsconsfile create mode 100644 main.cc 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(); +}