summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/example/example.cbp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/example/example.cbp b/plugins/example/example.cbp
index 64c5694..c36a3bf 100644
--- a/plugins/example/example.cbp
+++ b/plugins/example/example.cbp
@@ -13,7 +13,12 @@
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
+ <Add option="-fPIC `wx-config --unicode=yes --cflags`" />
+ <Add directory="../../api" />
</Compiler>
+ <Linker>
+ <Add option="-shared `wx-config --unicode=yes --libs`" />
+ </Linker>
</Target>
<Target title="Release">
<Option output="bin/Release/example" prefix_auto="1" extension_auto="1" />
@@ -31,6 +36,7 @@
<Compiler>
<Add option="-Wall" />
</Compiler>
+ <Unit filename="main.cpp" />
<Extensions>
<envvars />
<code_completion />