// $Id: wb30dll.mpt 1878 2010-08-06 14:13:57Z mitza $



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"
