summaryrefslogtreecommitdiff
path: root/templates/wb30dll.mpt
diff options
context:
space:
mode:
authorAdam Mitz <mitza-oci@users.noreply.github.com>2010-08-05 17:01:36 +0000
committerAdam Mitz <mitza-oci@users.noreply.github.com>2010-08-05 17:01:36 +0000
commit4ef1a5f5e86aac9aa76c3fc6f2cee1f22c4f2c8e (patch)
tree6cdef8df8eaf81b71ef34427a595999ea2a44357 /templates/wb30dll.mpt
parentd8025ca319f632f81f35614d14a1e73d909beddd (diff)
downloadMPC-4ef1a5f5e86aac9aa76c3fc6f2cee1f22c4f2c8e.tar.gz
ChangeLogTag: Thu Aug 5 17:00:23 UTC 2010 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'templates/wb30dll.mpt')
-rw-r--r--templates/wb30dll.mpt70
1 files changed, 70 insertions, 0 deletions
diff --git a/templates/wb30dll.mpt b/templates/wb30dll.mpt
new file mode 100644
index 00000000..8feb4b00
--- /dev/null
+++ b/templates/wb30dll.mpt
@@ -0,0 +1,70 @@
+conditional_include "wb26dll"
+
+additional_natures = org.eclipse.cdt.core.cnature org.eclipse.cdt.core.ccnature
+project_prefix = wb_
+
+platform = Native
+
+// platforms
+
+Native {
+ no_platform_in_wrproject = 1
+ platform_name =
+ project_type = ApplicationProject
+ enable_subprojects = 1
+
+ exe_ext =
+ dll_ext = .so
+ dll_prefix = lib
+ ar = ar
+ ar_flags = crus
+ librarian_objects = %Objects%
+ exe_buildtool = C++-Linker
+ dll_buildtool = C++-Linker
+
+ buildspecs = Linux_gnu_native_3.x_4.x Windows_gnu_native_3.x_4.x
+ default_buildspec = Linux_gnu_native_3.x_4.x
+
+ wrprj_macros = TOOL_PATH LIBPATH LIBS ADAPT_DEPS
+}
+
+
+// buildspecs
+
+Linux_gnu_native_3.x_4.x {
+ cxx = g++
+ cc = gcc
+ platform_asflags = -MD -MP
+ platform_cxxflags = -MD -MP
+ platform_ccflags = -MD -MP
+ ass_flags = -x assembler -fno-builtin -Wall
+ cxx_flags = -ansi -fno-builtin -Wall
+ c_flags = -ansi -fno-builtin -Wall
+ ass_dbgflags = -g
+ cxx_dbgflags = -g
+ c_dbgflags = -g
+ pic = -fPIC
+ shflags = -shared
+}
+
+Windows_gnu_native_3.x_4.x {
+ exe_ext = .exe
+ cxxlnk_derivedsigs = *.exe
+ clnk_derivedsigs = *.exe
+ dll_prefix =
+ dll_ext = .dll
+ cxx = g++
+ cc = gcc
+ platform_asflags = -MD -MP
+ platform_cxxflags = -MD -MP
+ platform_ccflags = -MD -MP
+ ass_flags = -x assembler -fno-builtin -Wall
+ cxx_flags = -fno-builtin -Wall //-ansi not supported with MinGW
+ c_flags = -fno-builtin -Wall //-ansi not supported with MinGW
+ ass_dbgflags = -g
+ cxx_dbgflags = -g
+ c_dbgflags = -g
+ shflags = -shared
+}
+
+conditional_include "user_wb30dll"