summaryrefslogtreecommitdiff
path: root/examples/subdir
diff options
context:
space:
mode:
Diffstat (limited to 'examples/subdir')
-rw-r--r--examples/subdir/ctor.cc39
1 files changed, 21 insertions, 18 deletions
diff --git a/examples/subdir/ctor.cc b/examples/subdir/ctor.cc
index b5f5885..6e28733 100644
--- a/examples/subdir/ctor.cc
+++ b/examples/subdir/ctor.cc
@@ -1,11 +1,11 @@
// -*- c++ -*-
// Distributed under the BSD 2-Clause License.
// See accompanying file LICENSE for details.
-#include "../libctor.h"
+#include <libctor.h>
namespace
{
-BuildConfigurations myConfigs()
+BuildConfigurations myConfigs(const Settings&)
{
return
{
@@ -54,25 +54,28 @@ BuildConfigurations myConfigs()
"../drumgizmo/src/versionstr.cc",
"../drumgizmo/src/zrwrapper.cc",
},
- .cxxflags = {
- "-fPIC",
- "-DUI_X11",
- "-O3",
- "-g",
- "-Wall",
- "-Werror",
- "-std=c++11",
- "-I../drumgizmo/getoptpp",
- "-I../drumgizmo/",
- "-I../drumgizmo/hugin",
- "-I../drumgizmo/plugingui/",
- "-I ../drumgizmo/src/",
- "-I ../drumgizmo/zita-resampler/libs",
- "-I ../drumgizmo/pugixml/src",
+ .flags = {
+ .cxxflags = {
+ "-fPIC",
+ "-DUI_X11",
+ "-O3",
+ "-g",
+ "-Wall",
+ "-Werror",
+ "-std=c++11",
+ "-I../drumgizmo/getoptpp",
+ "-I../drumgizmo/",
+ "-I../drumgizmo/hugin",
+ "-I../drumgizmo/plugingui/",
+ "-I ../drumgizmo/src/",
+ "-I ../drumgizmo/zita-resampler/libs",
+ "-I ../drumgizmo/pugixml/src",
+ },
},
}
};
}
-int a = reg(__FILE__, myConfigs);
}
+
+REG(myConfigs);