├── .github ├── dependabot.yml └── workflows │ ├── cmake.yml │ ├── fuzz.yml │ ├── linux.yml │ ├── macosx.yml │ └── windows.yml ├── .gitignore ├── MPC.ico ├── PROBLEM-REPORT-FORM ├── _typos.toml ├── clone_build_tree.pl ├── combine_dsw.pl ├── config ├── bison.mpb ├── boost_base.mpb ├── boost_chrono.mpb ├── boost_date_time.mpb ├── boost_filesystem.mpb ├── boost_iostreams.mpb ├── boost_prg_exec_monitor.mpb ├── boost_program_options.mpb ├── boost_python.mpb ├── boost_regex.mpb ├── boost_serialization.mpb ├── boost_signals.mpb ├── boost_system.mpb ├── boost_test_exec_monitor.mpb ├── boost_thread.mpb ├── boost_unit_test_framework.mpb ├── boost_wave.mpb ├── bsoncxx.mpb ├── build_files.mpb ├── bzip2.mpb ├── coredx_ts_defaults.mpb ├── coredxlib.mpb ├── cppunit.mpb ├── default.rel ├── erlang.mpb ├── erlang_otp.mpb ├── flex.mpb ├── fuerte.mpb ├── gacutil.mpb ├── gdiplus.mpb ├── glib.mpb ├── global.features ├── global.mpb ├── gsl.mpb ├── iiopnet.mpb ├── iodbc.mpb ├── ixml.mpb ├── lex.mpb ├── libpng.mpb ├── log4cplus.mpb ├── loki.mpb ├── lzo1.mpb ├── lzo2.mpb ├── mfc.mpb ├── mongodb.mpb ├── mpb.mpb ├── mpich.mpb ├── mqttlib.mpb ├── msgfmt.mpb ├── msgpack.mpb ├── mysql.mpb ├── mysqlpp.mpb ├── ndds_cck_ts_defaults.mpb ├── ndds_example_ts_defaults.mpb ├── ndds_ts_defaults.mpb ├── nddsexe.mpb ├── nddslib.mpb ├── nddsmonitor.mpb ├── objectbox.mpb ├── objectivity.mpb ├── objectstore.mpb ├── odb_mysql.mpb ├── odbc.mpb ├── op_lite.mpb ├── opalorb.mpb ├── openmp.mpb ├── openmpi.mpb ├── openssl.mpb ├── pcre.mpb ├── pcreposix.mpb ├── pin.mpb ├── pin_base.mpb ├── pin_static.mpb ├── pintool.mpb ├── pintool_static.mpb ├── portico.mpb ├── python.mpb ├── qt.mpb ├── qt3.mpb ├── qt4_core.mpb ├── qt4_designer.mpb ├── qt4_designercomponents.mpb ├── qt4_gui.mpb ├── qt4_network.mpb ├── qt4_opengl.mpb ├── qt4_qt3support.mpb ├── qt4_sql.mpb ├── qt4_svg.mpb ├── qt4_test.mpb ├── qt4_xml.mpb ├── qt5_core.mpb ├── qt5_gui.mpb ├── qt5_network.mpb ├── qt5_opengl.mpb ├── qt5_qml.mpb ├── qt5_quick.mpb ├── qt5_sql.mpb ├── qt5_test.mpb ├── qt5_widgets.mpb ├── qt5_xml.mpb ├── qwt.mpb ├── rdfox.mpb ├── redisxx.mpb ├── rpc.mpb ├── ruby.mpb ├── splice_ts_defaults.mpb ├── spliceexe.mpb ├── spliceexe_with_idl.mpb ├── splicelib.mpb ├── splicelib_with_idl.mpb ├── sqlapi.mpb ├── sqlite3.mpb ├── swig_java.mpb ├── swig_perl.mpb ├── swig_php.mpb ├── swig_python.mpb ├── swig_ruby.mpb ├── swig_tcl.mpb ├── tena_base.mpb ├── tena_middleware.mpb ├── udm.mpb ├── unicode.mpb ├── unixodbc.mpb ├── upnp.mpb ├── velocypack.mpb ├── winapp.mpb ├── wireshark.mpb ├── wix.mpb ├── wix_ui.mpb ├── wix_xml.mpb ├── wxadvanced.mpb ├── wxaui.mpb ├── wxbase.mpb ├── wxcore.mpb ├── wxdbgrid.mpb ├── wxgl.mpb ├── wxhtml.mpb ├── wxmake.mpb ├── wxmedia.mpb ├── wxmsvs.mpb ├── wxnet.mpb ├── wxodbc.mpb ├── wxpropertygrid.mpb ├── wxqa.mpb ├── wxribbon.mpb ├── wxrichtext.mpb ├── wxstc.mpb ├── wxxml.mpb ├── wxxrc.mpb ├── xalanc.mpb ├── xerces.mpb ├── xscdefaults.mpb ├── yacc.mpb ├── ziparchive.mpb ├── zlib.mpb ├── zmqlib.mpb └── zzip.mpb ├── create_base.pl ├── depgen.pl ├── devtools ├── document_template.pl └── highlight_template.pl ├── docs ├── LICENSE ├── MPC.sgml ├── README ├── USAGE ├── html │ ├── CDT6.html │ ├── MakeProjectCreator.css │ ├── MakeProjectCreator.html │ ├── RpmSpec.html │ ├── WB26.html │ ├── WB30.html │ └── images │ │ ├── mpc.dot │ │ ├── mpc.png │ │ ├── mwc.dot │ │ ├── mwc.png │ │ ├── rpmworkflow.dot │ │ └── rpmworkflow.png └── templates │ ├── automake.txt │ ├── bmake.txt │ ├── cc.txt │ ├── cdt6cproject.txt │ ├── cdt6project.txt │ ├── cmake.txt │ ├── common.txt │ ├── ghs.txt │ ├── iar.txt │ ├── make.net.txt │ ├── make.txt │ ├── rpmspec.txt │ ├── uvis.txt │ ├── vc10.txt │ ├── vc7.txt │ ├── vc7csharp.txt │ ├── vc7java.txt │ ├── vc7vb.txt │ ├── vc8.txt │ ├── vc8csharp.txt │ ├── vc8java.txt │ ├── vc8vb.txt │ ├── wb26.txt │ ├── wb26wrmakefile.txt │ ├── wb26wrproject.txt │ └── wix.txt ├── generate_export_header.pl ├── history ├── ChangeLog-3_1 ├── ChangeLog-3_2 ├── ChangeLog-3_3 ├── ChangeLog-3_4 ├── ChangeLog-3_5 ├── ChangeLog-3_6 ├── ChangeLog-3_7 ├── ChangeLog-3_8 ├── ChangeLog-3_9 ├── ChangeLog-4_0 └── ChangeLog-4_1 ├── modules ├── AutomakeProjectCreator.pm ├── AutomakeWorkspaceCreator.pm ├── BCB2007ProjectCreator.pm ├── BCB2007WorkspaceCreator.pm ├── BCB2009ProjectCreator.pm ├── BCB2009WorkspaceCreator.pm ├── BDS4ProjectCreator.pm ├── BDS4WorkspaceCreator.pm ├── BMakeProjectCreator.pm ├── BMakeWorkspaceCreator.pm ├── BorlandProjectBase.pm ├── BorlandPropertyBase.pm ├── CCProjectCreator.pm ├── CCWorkspaceCreator.pm ├── CDT6ProjectCreator.pm ├── CDT6WorkspaceCreator.pm ├── CDT7ProjectCreator.pm ├── CDT7WorkspaceCreator.pm ├── CMakeProjectCreator.pm ├── CMakeWorkspaceCreator.pm ├── CommandHelper.pm ├── ConfigParser.pm ├── Creator.pm ├── Depgen │ ├── DependencyEditor.pm │ ├── DependencyGenerator.pm │ ├── DependencyWriter.pm │ ├── DependencyWriterFactory.pm │ ├── Driver.pm │ ├── MakeDependencyWriter.pm │ ├── MakeObjectGenerator.pm │ ├── NMakeDependencyWriter.pm │ ├── NMakeObjectGenerator.pm │ ├── ObjectGenerator.pm │ ├── ObjectGeneratorFactory.pm │ └── Preprocessor.pm ├── DirectoryManager.pm ├── Driver.pm ├── EM3ProjectCreator.pm ├── EM3WorkspaceCreator.pm ├── FeatureParser.pm ├── GHSProjectCreator.pm ├── GHSPropertyBase.pm ├── GHSWorkspaceCreator.pm ├── GUID.pm ├── HTMLProjectCreator.pm ├── HTMLWorkspaceCreator.pm ├── IARProjectCreator.pm ├── IARWorkspaceCreator.pm ├── MPC.pm ├── MWC.pm ├── MakeProjectBase.pm ├── MakeProjectCreator.pm ├── MakePropertyBase.pm ├── MakeWorkspaceBase.pm ├── MakeWorkspaceCreator.pm ├── NMakeProjectCreator.pm ├── NMakeWorkspaceCreator.pm ├── Options.pm ├── OutputMessage.pm ├── Parser.pm ├── ProjectCreator.pm ├── RpmSpecProjectCreator.pm ├── RpmSpecWorkspaceCreator.pm ├── SLEProjectCreator.pm ├── SLEWorkspaceCreator.pm ├── StringProcessor.pm ├── TemplateInputReader.pm ├── TemplateParser.pm ├── UVISProjectCreator.pm ├── UVISWorkspaceCreator.pm ├── VC10ProjectCreator.pm ├── VC10WorkspaceCreator.pm ├── VC11ProjectCreator.pm ├── VC11WorkspaceCreator.pm ├── VC12ProjectCreator.pm ├── VC12WorkspaceCreator.pm ├── VC14ProjectCreator.pm ├── VC14WorkspaceCreator.pm ├── VC6ProjectCreator.pm ├── VC6WorkspaceCreator.pm ├── VC71ProjectCreator.pm ├── VC71WorkspaceCreator.pm ├── VC7ProjectCreator.pm ├── VC7WorkspaceCreator.pm ├── VC8ProjectCreator.pm ├── VC8WorkspaceCreator.pm ├── VC9ProjectCreator.pm ├── VC9WorkspaceCreator.pm ├── VCProjectBase.pm ├── VCPropertyBase.pm ├── VS2017ProjectCreator.pm ├── VS2017WorkspaceCreator.pm ├── VS2019ProjectCreator.pm ├── VS2019WorkspaceCreator.pm ├── VS2022ProjectCreator.pm ├── VS2022WorkspaceCreator.pm ├── Version.pm ├── WB26ProjectCreator.pm ├── WB26WorkspaceCreator.pm ├── WB30ProjectCreator.pm ├── WB30WorkspaceCreator.pm ├── WinProjectBase.pm ├── WinPropertyBase.pm ├── WinVersionTranslator.pm ├── WinWorkspaceBase.pm ├── WixProjectCreator.pm ├── WixWorkspaceCreator.pm ├── WorkspaceCreator.pm ├── WorkspaceHelper.pm ├── XMLProjectBase.pm └── mpc_debug.pm ├── mpc.pl ├── mwc.pl ├── prj_install.pl ├── registry.pl ├── rpm ├── MPC.templ └── buildrpm.sh ├── templates ├── automake.mpd ├── automakedll.mpt ├── automakeexe.mpt ├── bcb2007.mpd ├── bcb2007dll.mpt ├── bcb2007exe.mpt ├── bcb2009.mpd ├── bcb2009dll.mpt ├── bcb2009exe.mpt ├── bds4.mpd ├── bds4dll.mpt ├── bds4exe.mpt ├── bmake.mpd ├── bmakecommon.mpt ├── bmakedll.mpt ├── bmakedllexe.mpt ├── bmakelib.mpt ├── bmakelibexe.mpt ├── cc.mpd ├── cccommon.mpt ├── ccexe.mpt ├── cclib.mpt ├── cdt6cproject.mpd ├── cdt6dll.mpt ├── cdt6exe.mpt ├── cdt6lib.mpt ├── cdt6platforms.mpt ├── cdt6project.mpd ├── cmake.mpd ├── cmakedll.mpt ├── cmakeexe.mpt ├── common.mpt ├── em3.mpd ├── em3vcpdll.mpt ├── em3vcpdllexe.mpt ├── em3vcplib.mpt ├── em3vcplibexe.mpt ├── ghs.mpd ├── ghscommon.mpt ├── ghsdll.mpt ├── ghsdllexe.mpt ├── ghslib.mpt ├── ghslibexe.mpt ├── html.mpd ├── iar.mpd ├── iar.mpt ├── make.mpd ├── make.net.mpd ├── make.net.mpt ├── makedll.mpt ├── makeexe.mpt ├── nmake.mpd ├── nmakedll.mpt ├── nmakeexe.mpt ├── sle.mpd ├── sledll.mpt ├── sleexe.mpt ├── unixcommon.mpt ├── uvis.mpd ├── uvis.mpt ├── vc10.mpd ├── vc10dll.mpt ├── vc10exe.mpt ├── vc10filters.mpd ├── vc10lib.mpt ├── vc10libexe.mpt ├── vc10platforms.mpt ├── vc11dll.mpt ├── vc11exe.mpt ├── vc11lib.mpt ├── vc11libexe.mpt ├── vc11platforms.mpt ├── vc12dll.mpt ├── vc12exe.mpt ├── vc12lib.mpt ├── vc12libexe.mpt ├── vc12platforms.mpt ├── vc14dll.mpt ├── vc14exe.mpt ├── vc14lib.mpt ├── vc14libexe.mpt ├── vc14platforms.mpt ├── vc1xdll.mpt ├── vc1xexe.mpt ├── vc1xlib.mpt ├── vc1xlibexe.mpt ├── vc6.mpd ├── vc6dspdll.mpt ├── vc6dspdllexe.mpt ├── vc6dsplib.mpt ├── vc6dsplibexe.mpt ├── vc7.mpd ├── vc7csharp.mpd ├── vc7csharp.mpt ├── vc7dll.mpt ├── vc7exe.mpt ├── vc7java.mpd ├── vc7java.mpt ├── vc7lib.mpt ├── vc7libexe.mpt ├── vc7vb.mpd ├── vc7vb.mpt ├── vc8.mpd ├── vc8csharp.mpd ├── vc8csharp.mpt ├── vc8dll.mpt ├── vc8exe.mpt ├── vc8java.mpd ├── vc8java.mpt ├── vc8lib.mpt ├── vc8libexe.mpt ├── vc8platforms.mpt ├── vc8vb.mpd ├── vc8vb.mpt ├── vccommon.mpt ├── vs2017dll.mpt ├── vs2017exe.mpt ├── vs2017lib.mpt ├── vs2017libexe.mpt ├── vs2017platforms.mpt ├── vs2019dll.mpt ├── vs2019exe.mpt ├── vs2019lib.mpt ├── vs2019libexe.mpt ├── vs2019platforms.mpt ├── vs2022dll.mpt ├── vs2022exe.mpt ├── vs2022lib.mpt ├── vs2022libexe.mpt ├── vs2022platforms.mpt ├── wb26.mpd ├── wb26dll.mpt ├── wb26exe.mpt ├── wb26wrmakefile.mpd ├── wb26wrproject.mpd ├── wb30cproject.mpd ├── wb30dll.mpt ├── wb30exe.mpt ├── windowscommon.mpt ├── wix.mpd ├── wix.mpt ├── wixcs.mpd └── wixcs.mpt └── vs_postclean.pl /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Set update schedule for GitHub Actions 2 | version: 2 3 | updates: 4 | - package-ecosystem: "github-actions" 5 | directory: "/" 6 | schedule: 7 | interval: "weekly" 8 | -------------------------------------------------------------------------------- /.github/workflows/fuzz.yml: -------------------------------------------------------------------------------- 1 | name: fuzz 2 | 3 | on: 4 | push: 5 | pull_request: 6 | schedule: 7 | - cron: '0 1 * * SUN' 8 | workflow_dispatch: 9 | 10 | concurrency: 11 | group: ${{ github.workflow }}-${{ github.ref }} 12 | cancel-in-progress: true 13 | 14 | permissions: 15 | contents: read 16 | 17 | env: 18 | DOC_ROOT: ${{ github.workspace }}/ACE 19 | ACE_ROOT: ${{ github.workspace }}/ACE/ACE 20 | TAO_ROOT: ${{ github.workspace }}/ACE/TAO 21 | 22 | jobs: 23 | build: 24 | runs-on: ubuntu-latest 25 | steps: 26 | - name: checkout MPC 27 | uses: actions/checkout@v4 28 | - name: checkout ACE_TAO 29 | uses: actions/checkout@v4 30 | with: 31 | repository: DOCGroup/ACE_TAO 32 | path: ${{ env.DOC_ROOT }} 33 | - name: Run fuzz 34 | run: | 35 | perl ${env:ACE_ROOT}/bin/fuzz.pl 36 | shell: pwsh 37 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | modules/.version 2 | -------------------------------------------------------------------------------- /MPC.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOCGroup/MPC/a7e38f3be2a2b765da180af1a5cde541013769b6/MPC.ico -------------------------------------------------------------------------------- /PROBLEM-REPORT-FORM: -------------------------------------------------------------------------------- 1 | Documentation for MPC can be found at the following location. 2 | 3 | http://downloads.ociweb.com/MPC/docs/html/MakeProjectCreator.html 4 | 5 | Please consult the documentation to ensure that you are using MPC correctly. 6 | 7 | When requesting MPC support please provide the following items: 8 | 9 | MPC version (using mwc.pl -version): 10 | 11 | Perl version (using perl --version): 12 | 13 | Operating System and Shell: 14 | 15 | ACE or TAO version (if using either): 16 | 17 | The contents of default.features (if any): 18 | 19 | MPC command line options: 20 | 21 | Problem description (please be as detailed as possible): 22 | 23 | Please go to 24 | https://objectcomputing.com/products/opendds/opendds-consulting-and-support 25 | for commercial support. Go to https://github.com/DOCGroup/MPC/issues for 26 | community support. 27 | -------------------------------------------------------------------------------- /_typos.toml: -------------------------------------------------------------------------------- 1 | [default.extend-words] 2 | mosquitto = "mosquitto" 3 | 4 | [files] 5 | extend-exclude = ["templates/*.*", "history/*"] 6 | -------------------------------------------------------------------------------- /config/bison.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += bison 3 | Define_Custom(BISON) { 4 | command = bison 5 | commandflags = -d 6 | pch_postrule = 1 7 | inputext = .yy, .y 8 | pre_extension = .tab 9 | source_outputext = .c, .cpp, .cxx, .cc, .C 10 | header_outputext = .h, .hpp, .hxx, .hh 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /config/boost_base.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | requires += boost 4 | includes += $(BOOST_ROOT)/include/$(BOOST_VERSION) $(BOOST_ROOT)/. 5 | 6 | // If the libraries for boost are not installed in a location relative to 7 | // the include files, set the BOOST_ROOT_LIB environment variable 8 | expand(BOOST_ROOT_LIB) { 9 | $BOOST_ROOT_LIB 10 | $(BOOST_ROOT)/lib 11 | } 12 | libpaths += $(BOOST_ROOT_LIB) 13 | } 14 | -------------------------------------------------------------------------------- /config/boost_chrono.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_chrono$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_date_time.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_date_time$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_filesystem.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_filesystem$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_iostreams.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_iostreams$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_prg_exec_monitor.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_prg_exec_monitor$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_program_options.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_program_options$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_python.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_python$(BOOST_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/boost_regex.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_regex$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_serialization.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_serialization$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_signals.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_signals$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_system.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_system$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_test_exec_monitor.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_test_exec_monitor$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_thread.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_thread$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/boost_unit_test_framework.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | // Starting with boost 1.34 auto linking is enabled. 4 | // vc6 and vc7 are added to this list because it is likely that 5 | // any vc6 or vc7 users are using an older pre-auto-linking version. 6 | specific(!prop:windows, vc6, vc7) { 7 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_unit_test_framework$(BOOST_CFG) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /config/boost_wave.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base { 3 | specific(!prop:windows) { 4 | lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_wave$(BOOST_CFG) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/bsoncxx.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(MONGODB_ROOT)/include 4 | lit_libs += bsoncxx bson-1.0 5 | 6 | specific (prop:microsoft) { 7 | Debug::libpaths += $(MONGODB_ROOT)/debug/lib $(MONGODB_ROOT)/lib 8 | Release::libpaths += $(MONGODB_ROOT)/lib 9 | } else { 10 | libpaths += $(MONGODB_ROOT)/lib 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /config/build_files.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | Define_Custom(Build) { 3 | inputext = .mpc, .mpb, .mwc 4 | } 5 | } 6 | 7 | -------------------------------------------------------------------------------- /config/bzip2.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(bzip2) { 3 | includes += $(BZIP2_ROOT)/include 4 | libpaths += $(BZIP2_ROOT)/lib 5 | macros += USE_BZIP2 6 | 7 | specific(prop:windows) { 8 | lit_libs += bzip2 9 | } else { 10 | lit_libs += bz2 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /config/coredx_ts_defaults.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(CoreDXTypeSupport) { 4 | command = $(COREDX_TOP)/host/$(COREDX_HOST)/bin/coredx_ddl 5 | commandflags = -l cpp -f 6 | dependent = $(COREDX_TOP)/host/$(COREDX_HOST)/bin/coredx_ddl 7 | source_pre_extension = , TypeSupport, DataReader, DataWriter 8 | source_outputext = .cc 9 | header_pre_extension = , TypeSupport, DataReader, DataWriter 10 | header_outputext = .hh 11 | keyword coredx_ts_flags = commandflags 12 | } 13 | 14 | requires += coredx 15 | } 16 | -------------------------------------------------------------------------------- /config/coredxlib.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | lit_libs += dds_cpp dds 4 | libpaths += $(COREDX_TOP)/target/$(COREDX_TARGET)/lib 5 | includes += $(COREDX_TOP)/target/include 6 | } 7 | -------------------------------------------------------------------------------- /config/cppunit.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(CPPUNIT_ROOT)/include 4 | libpaths += $(CPPUNIT_ROOT)/lib 5 | libs += cppunit 6 | } 7 | -------------------------------------------------------------------------------- /config/default.rel: -------------------------------------------------------------------------------- 1 | // This is the default relative definitions. Wildcards are acceptable. 2 | // 3 | // The first column is the name for which we create a relative definition. 4 | // The second (optional) column, which must be comma separated, is the value 5 | // to build up if it isn't defined as an environmenment variable. 6 | *_ROOT 7 | -------------------------------------------------------------------------------- /config/erlang.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += erlang 3 | 4 | Define_Custom(Erlang) { 5 | automatic_in = 1 6 | automatic_out = 1 7 | command = erlc 8 | inputext = .erl, .yrl, .mib, .bin, .rel, .asn1, .idl 9 | generic_outputext = .beam, .jam, .erl, .hrl, .bin, .rel, .boot, .asn1db 10 | keyword erlcflags = commandflags 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /config/erlang_otp.mpb: -------------------------------------------------------------------------------- 1 | project : erlang { 2 | erlcflags += -o ebin 3 | 4 | Modify_Custom(Erlang) { 5 | generic_pre_dirname = ebin/ 6 | output_follows_input = 0 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/flex.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += flex 3 | Define_Custom(FLEX) { 4 | command = flex 5 | commandflags = -t 6 | output_option = > 7 | pch_postrule = 1 8 | inputext = .ll, .l 9 | source_outputext = .c, .cpp, .cxx, .cc, .C 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /config/fuerte.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_date_time, openssl, velocypack { 3 | macros += NGHTTP2_STATICLIB 4 | includes += $(FUERTE_ROOT)/include 5 | libpaths += $(FUERTE_ROOT)/lib 6 | lit_libs += fuerte llhttp nghttp2 7 | } 8 | -------------------------------------------------------------------------------- /config/gacutil.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | specific(prop:microsoft) { 3 | postbuild += \ 4 | gacutil -nologo -i <%cwd%>\<%dllout%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%> -f 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/gdiplus.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | specific (prop:windows) { 4 | lit_libs += gdiplus 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/glib.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | // Support alternate versions of glib: 3 | expand(GLIB_VERSION) { 4 | $GLIB_VERSION 5 | 2.0 6 | } 7 | 8 | expand(GLIB_LIB_DIR) { 9 | $GLIB_LIB_DIR 10 | lib 11 | } 12 | 13 | libpaths += $(GLIB_ROOT)/lib 14 | 15 | lit_libs += glib-$(GLIB_VERSION) 16 | } 17 | 18 | feature(glib_versioned_includes) { 19 | includes += $(GLIB_ROOT)/include/glib-$(GLIB_VERSION) \ 20 | $(GLIB_ROOT)/$(GLIB_LIB_DIR)/glib-$(GLIB_VERSION)/include 21 | } 22 | 23 | feature(!glib_versioned_includes) { 24 | includes += $(GLIB_ROOT)/include 25 | libpaths -= $(GLIB_ROOT)/lib 26 | specific { 27 | Debug::libpaths += $(GLIB_ROOT)/debug/lib 28 | Release::libpaths += $(GLIB_ROOT)/lib 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /config/global.features: -------------------------------------------------------------------------------- 1 | // The global features file contains the default feature settings. 2 | // By default, if a feature isn't listed here then it is enabled. 3 | // If it is listed, then the value assigned to the feature is interpreted 4 | // as a boolean value. You really shouldn't have to edit this file except 5 | // to change the defaults. If you want to override these values you can do 6 | // one of two things. 7 | // 8 | // 1) Create a default.features in this directory with the features you 9 | // want enabled or disabled. 10 | // 2) Create a feature file anywhere you like with the features you want and 11 | // use the -feature_file option to specify where it is located. 12 | // 13 | // Feature definitions from this file are always overridden by the -features 14 | // option. 15 | // 16 | // By default we disable these. 17 | boost = 0 18 | bzip2 = 0 19 | erlang = 0 20 | java = 0 21 | mfc = 0 22 | libpng = 0 23 | openssl11 = 0 24 | python = 0 25 | qt = 0 // Qt3 26 | qt4 = 0 27 | qt5 = 0 28 | rpc = 0 29 | swig_java = 0 30 | swig_perl = 0 31 | swig_php = 0 32 | swig_python = 0 33 | swig_ruby = 0 34 | swig_tcl = 0 35 | uses_wchar = 0 // i.e., unicode 36 | wireshark_any = 0 37 | wireshark = 0 38 | wireshark_cmake = 0 39 | xalanc = 0 40 | xerces = 0 41 | xerces2 = 0 42 | xerces3 = 0 43 | ziparchive = 0 44 | zlib = 0 45 | zzip = 0 46 | -------------------------------------------------------------------------------- /config/global.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | // By default send all libraries to the same directory as the project 4 | libout = . 5 | 6 | // Automake doesn't need the project directory in the libpaths 7 | specific(!automake) { 8 | libpaths = . 9 | } 10 | 11 | } 12 | 13 | feature(threads) { 14 | specific(cdt6) { 15 | use_threads = 1 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /config/gsl.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(gsl) { 3 | lit_libs += gsl 4 | } 5 | -------------------------------------------------------------------------------- /config/iiopnet.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | custom_only = 1 3 | 4 | specific { 5 | IIOPNET_BIN = $(IIOPNET_ROOT)/bin/IDLToCLSCompiler 6 | IIOPNET_DEP = $(IIOPNET_ROOT)/bin/IDLToCLSCompiler 7 | } 8 | 9 | Define_Custom (IDL) { 10 | automatic_in = 0 11 | automatic_out = 0 12 | command = <%quote%>$(IIOPNET_BIN)<%quote%> 13 | dependent = <%quote%>$(IIOPNET_DEP)<%quote%> 14 | inputext = .idl 15 | generic_outputext = .dll 16 | keyword iiopnetflags = commandflags 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /config/iodbc.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | // Support for iODBC (http://www.iodbc.org). This is one 3 | // variant of porting ODBC to non-Windows systems. 4 | avoids += unixodbc 5 | 6 | libpaths += $(IODBC_ROOT)/lib 7 | includes += $(IODBC_ROOT)/include 8 | 9 | lit_libs += iodbc iodbcinst 10 | } 11 | -------------------------------------------------------------------------------- /config/ixml.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | includes += $(UPNP_ROOT)/include 3 | libpaths += $(UPNP_ROOT)/lib 4 | lit_libs += ixml 5 | } 6 | -------------------------------------------------------------------------------- /config/lex.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += lex 3 | Define_Custom(LEX) { 4 | command = lex 5 | commandflags = -t 6 | output_option = > 7 | pch_postrule = 1 8 | inputext = .ll, .l 9 | source_outputext = .c, .cpp, .cxx, .cc, .C 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /config/libpng.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(libpng): zlib { 3 | requires += zlib 4 | includes += "$(PNG_ROOT)/include/libpng" 5 | libpaths += "$(PNG_ROOT)/lib" 6 | lit_libs += png 7 | macros += PNG 8 | } 9 | -------------------------------------------------------------------------------- /config/log4cplus.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(LOG4CPLUS_ROOT)/include 4 | libpaths += $(LOG4CPLUS_ROOT)/lib 5 | libs += log4cplus 6 | } 7 | -------------------------------------------------------------------------------- /config/loki.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(LOKI_ROOT)/include 4 | libpaths += $(LOKI_ROOT)/lib 5 | lit_libs += loki 6 | } 7 | -------------------------------------------------------------------------------- /config/lzo1.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(lzo1) { 3 | // If the include files for lzo1 are not relative to the root (for 4 | // example, /usr/include/lzo), set the LZO1_INCDIR environment variable. 5 | expand(LZO1_INCDIR) { 6 | $LZO1_INCDIR 7 | $(LZO1_ROOT)/include 8 | } 9 | includes += $(LZO1_INCDIR) 10 | libpaths += $(LZO1_ROOT)/lib 11 | specific (prop:microsoft) { 12 | lit_libs += liblzo 13 | } else { 14 | lit_libs += lzo 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /config/lzo2.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(lzo2) { 3 | // If the include files for lzo2 are not relative to the root (for 4 | // example, /usr/include/lzo), set the LZO2_INCDIR environment variable. 5 | expand(LZO2_INCDIR) { 6 | $LZO2_INCDIR 7 | $(LZO2_ROOT)/include 8 | } 9 | includes += $(LZO2_INCDIR) 10 | libpaths += $(LZO2_ROOT)/lib 11 | lit_libs += lzo2 12 | } 13 | -------------------------------------------------------------------------------- /config/mfc.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: winapp { 3 | requires += mfc 4 | macros += _AFXDLL 5 | 6 | specific { 7 | use_mfc = 2 8 | unicode_mfc_entry = wWinMainCRTStartup 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /config/mongodb.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: bsoncxx { 3 | includes += $(MONGODB_ROOT)/include/mongocxx 4 | lit_libs += mongocxx mongoc-1.0 5 | } 6 | -------------------------------------------------------------------------------- /config/mpb.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | // Allow users to specify .mpb files in their project. This gives the 4 | // opportunity to see them in IDE's and to install them using 5 | // prj_install.pl. 6 | Define_Custom(MPB) { 7 | automatic_in = 0 8 | automatic_out = 0 9 | inputext = .mpb 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /config/mpich.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | includes += $(MPI_ROOT)/include $(MPI_ROOT)/include/mpi 3 | libpaths += $(MPI_ROOT)/lib 4 | requires += mpi 5 | 6 | specific(prop:windows) { 7 | lit_libs += mpi 8 | } else { 9 | lit_libs += mpich 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /config/mqttlib.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += mosquitto 3 | 4 | libpaths += $(MQTT_ROOT)/lib 5 | includes += $(MQTT_ROOT)/include 6 | specific(prop:windows) { 7 | lit_libs += mosquitto$(MQTT_LIBVERSION) 8 | } 9 | specific(!prop:windows) { 10 | libs += mosquitto 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /config/msgfmt.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | Define_Custom(PO) { 3 | command = msgfmt 4 | commandflags = -c 5 | output_option = -o 6 | inputext = .po 7 | generic_outputext = .mo 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /config/msgpack.mpb: -------------------------------------------------------------------------------- 1 | project: boost_base { 2 | includes += $(MSGPACK_ROOT)/include 3 | } 4 | -------------------------------------------------------------------------------- /config/mysql.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(MYSQL_ROOT)/include $(MYSQL_ROOT)/include/mysql 4 | libpaths += $(MYSQL_ROOT)/lib $(MYSQL_ROOT)/lib/mysql 5 | lit_libs += mysqlclient 6 | } 7 | -------------------------------------------------------------------------------- /config/mysqlpp.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: mysql { 3 | includes += $(MYSQLPLUS_ROOT)/include/mysql++ 4 | libpaths += $(MYSQLPLUS_ROOT)/lib 5 | lit_libs += mysqlpp 6 | } 7 | -------------------------------------------------------------------------------- /config/ndds_cck_ts_defaults.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project : ndds_ts_defaults { 3 | ndds_ts_flags += -corba <%input_noext%>C.h -orb ACE_TAO2.0 -enableEscapeChar -I$(TAO_ROOT) -I$(TAO_ROOT)/tao 4 | } 5 | -------------------------------------------------------------------------------- /config/ndds_example_ts_defaults.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project : ndds_ts_defaults { 3 | ndds_ts_flags += -example $(NDDSARCHITECTURE) 4 | } -------------------------------------------------------------------------------- /config/ndds_ts_defaults.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(NDDSTypeSupport) { 4 | command = <%quote%>$(NDDSHOME)/bin/rtiddsgen<%quote%> 5 | commandflags = $(PLATFORM_NDDS_FLAGS) 6 | 7 | source_pre_extension = , Support, Plugin 8 | source_outputext = .cxx 9 | header_pre_extension = , Support, Plugin 10 | header_outputext = .h 11 | keyword ndds_ts_flags = commandflags 12 | } 13 | 14 | requires += ndds 15 | 16 | verbatim(gnuace, macros, 1) { 17 | override no_hidden_visibility = 1 18 | override no_strict_aliasing = 1 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /config/nddsexe.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project : nddslib { 3 | } 4 | -------------------------------------------------------------------------------- /config/nddslib.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | requires += ndds 4 | libs += nddscpp nddsc nddscore 5 | libpaths += $(NDDSHOME)/lib/$(NDDSARCHITECTURE) 6 | includes += $(NDDSHOME)/include $(NDDSHOME)/include/ndds 7 | 8 | specific(prop:windows) { 9 | macros += RTI_WIN32 NDDS_DLL_VARIABLE WIN32_LEAN_AND_MEAN 10 | } 11 | 12 | verbatim(gnuace, circuit) { 13 | ifeq ($(buildbits),64) 14 | FLAGS_C_CC += -DRTI_64BIT 15 | endif 16 | ifeq ($(ACE_PLATFORM_CONFIG),config-linux.h) 17 | FLAGS_C_CC += -DRTI_LINUX 18 | ifeq ($(CXX),clang++) 19 | FLAGS_C_CC += -Wno-return-type-c-linkage -Wno-deprecated-register 20 | endif 21 | endif 22 | ifeq ($(ACE_PLATFORM_CONFIG),config-android.h) 23 | FLAGS_C_CC += -DRTI_LINUX 24 | endif 25 | ifeq ($(ACE_PLATFORM_CONFIG),config-win32.h) 26 | FLAGS_C_CC += -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN 27 | else 28 | FLAGS_C_CC += -DRTI_UNIX 29 | endif 30 | ifeq ($(ACE_PLATFORM_CONFIG),config-qnx.h) 31 | FLAGS_C_CC += -DRTI_QNX 32 | endif 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /config/nddsmonitor.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature (nddsmonitor) : nddslib { 3 | libs += rtimonitoring 4 | } 5 | 6 | -------------------------------------------------------------------------------- /config/objectbox.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(objectbox) { 4 | command = $(OBJECTBOX_ROOT)/bin/objectbox-generator 5 | commandflags = -cpp 6 | pch_postrule = 1 7 | inputext = .fbs 8 | pre_extension = .obx 9 | source_outputext = .cpp 10 | header_outputext = .hpp 11 | } 12 | 13 | includes += $(OBJECTBOX_ROOT)/include 14 | libpaths += $(OBJECTBOX_ROOT)/lib 15 | lit_libs += objectbox 16 | } 17 | -------------------------------------------------------------------------------- /config/objectivity.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | // For some reason, Objectivity names things differently on Windows 4 | specific(prop:windows) { 5 | lit_libs += oodbi ooco 6 | ooddl = ooddlx 7 | } else { 8 | lit_libs += oo ooco 9 | ooddl = ooddl_int 10 | } 11 | 12 | Define_Custom(ddl) { 13 | command = $(OBJECTIVITY_ROOT)/bin/$(OODDL) 14 | commandflags = -I$(OBJECTIVITY_ROOT)/include 15 | pch_postrule = 1 16 | inputext = .ddl 17 | source_pre_extension = _ddl 18 | header_pre_extension = , _ref 19 | source_outputext = .cpp 20 | header_outputext = .h 21 | } 22 | 23 | includes += $(OBJECTIVITY_ROOT)/include 24 | libpaths += $(OBJECTIVITY_ROOT)/lib 25 | 26 | specific(prop:microsoft) { 27 | // Including causes this warning 28 | DisableSpecificWarnings += 4251 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /config/objectstore.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(Schema) { 4 | automatic_in = 1 5 | automatic_out = 1 6 | command = $(OS_ROOTDIR)/bin/ossg 7 | commandflags = -I $(OS_ROOTDIR)/include \ 8 | -asdb <%input_noext%>.adb -asof <%input_noext%>.obj 9 | inputext = .imp 10 | generic_outputext = .obj, .adb 11 | keyword schemaflags = commandflags 12 | } 13 | 14 | includes += $(OS_ROOTDIR)/include 15 | libpaths += $(OS_ROOTDIR)/lib 16 | libs += ostore 17 | 18 | specific(prop:microsoft) { 19 | macros += _CRT_SECURE_NO_WARNINGS 20 | exceptionhandling = Async 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /config/odb_mysql.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: mysql { 3 | Define_Custom(odb) { 4 | automatic_in = 0 5 | output_follows_input = 0 6 | command = $(ODB_ROOT)/bin/odb 7 | commandflags = -d mysql --generate-query --generate-schema \ 8 | --odb-file-suffix .odb --sql-file-suffix .odb 9 | pch_postrule = 1 10 | inputext = .h, .hpp, .hxx, .hh 11 | pre_extension = .odb 12 | source_outputext = .cxx 13 | inline_outputext = .ixx 14 | header_outputext = .hxx 15 | documentation_outputext = .sql 16 | } 17 | 18 | macros += DATABASE_MYSQL LIBODB_MYSQL_INCLUDE_SHORT 19 | includes += $(ODB_ROOT) 20 | libpaths += $(ODB_ROOT)/lib64 $(ODB_ROOT)/lib 21 | 22 | specific(prop:windows) { 23 | macros += WIN32_LEAN_AND_MEAN 24 | Debug::lit_libs += odb-d odb-mysql-d 25 | Release::lit_libs += odb odb-mysql 26 | } else { 27 | lit_libs += odb odb-mysql 28 | } 29 | 30 | specific(prop:microsoft) { 31 | // Ignore unrecognized pragma's and non-exported base class 32 | DisableSpecificWarnings += 4068 4275 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /config/odbc.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | specific(prop:windows) { 3 | // Out of the box, Windows supports ODBC since ODBC originated 4 | // on Windows. We, however, need to ensure that UnixODBC and 5 | // iODBC are not enabled. We may be able to drop the 'avoids' 6 | // statement. 7 | avoids += unixodbc iodbc 8 | lit_libs += odbc32 odbcbcp odbcCP32 9 | } 10 | } 11 | 12 | //============================================================================= 13 | // Non-Windows support 14 | 15 | feature(unixodbc) : unixodbc { 16 | avoids += iodbc 17 | } 18 | 19 | feature(iodbc) : iodbc { 20 | avoids += unixodbc 21 | } 22 | -------------------------------------------------------------------------------- /config/op_lite.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: boost_base, msgpack { 3 | includes += $(OP_LITE_ROOT) 4 | libpaths += $(OP_LITE_ROOT)/lib 5 | libs += op_lite 6 | } 7 | -------------------------------------------------------------------------------- /config/opalorb.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(Perl_IDL) { 4 | command = perl <%quote%>$(OPALORB_ROOT)/idl/idl.pl<%quote%> 5 | inputext = .idl 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /config/openmp.mpb: -------------------------------------------------------------------------------- 1 | feature(openmp) { 2 | verbatim(gnuace, top) { 3 | openmp ?= 1 4 | } 5 | } -------------------------------------------------------------------------------- /config/openmpi.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(MPI_ROOT)/include 4 | libpaths += $(MPI_ROOT)/lib 5 | lit_libs += mpi 6 | requires += mpi 7 | } 8 | -------------------------------------------------------------------------------- /config/openssl.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // openssl is a completely different feature than ssl. 3 | // Currently ssl uses openssl, and openssl is enabled by 4 | // default. If we ever add a new ssl library, then you 5 | // would likely enable only one ssl library feature. 6 | feature(openssl) { 7 | expand(SSL_INCDIR) { 8 | $SSL_INCDIR 9 | $(SSL_ROOT)/include 10 | } 11 | expand(SSL_LIBDIR) { 12 | $SSL_LIBDIR 13 | $(SSL_ROOT)/lib 14 | } 15 | 16 | specific(!cmake) { 17 | includes += $(SSL_INCDIR) 18 | libpaths += $(SSL_LIBDIR) 19 | } 20 | 21 | specific(prop:windows) { 22 | lit_libs += libeay32 ssleay32 23 | includes += $(SSL_ROOT)/inc32 24 | libpaths += $(SSL_ROOT)/out32dll $(SSL_ROOT)/out32 25 | } else { 26 | lit_libs += ssl crypto 27 | 28 | // Some Linux OpenSSL installations compile in Kerberos support. Add 29 | // the Kerberos include path to preprocessor include path. 30 | includes += /usr/kerberos/include 31 | } 32 | 33 | // Some prepackaged installations of OpenSSL have libraries in different 34 | // locations. 35 | specific(prop:borland) { 36 | libpaths += $(SSL_ROOT)/lib/Builder5 37 | } 38 | specific(prop:microsoft) { 39 | libpaths += $(SSL_ROOT)/lib/VC 40 | } 41 | 42 | specific(cmake) { 43 | // Undo the else of the !prop:windows above. 44 | lit_libs -= ssl crypto 45 | includes -= /usr/kerberos/include 46 | 47 | lit_libs += ${OPENSSL_LIBRARIES} 48 | includes += ${OPENSSL_INCLUDE_DIR} 49 | } 50 | } 51 | 52 | feature(openssl11) { 53 | specific(prop:windows) { 54 | lit_libs -= libeay32 ssleay32 55 | lit_libs += libssl libcrypto 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /config/pcre.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += pcre 3 | includes += $(PCRE_ROOT)/include 4 | libpaths += $(PCRE_ROOT)/lib 5 | 6 | // At this point in time (9/17/2009) the windows version of pcre does not 7 | // have a version number. And since Visual Studio complains about empty 8 | // environment variables, we're not adding the version variable to the 9 | // library. This may have to change in the future. 10 | specific(prop:microsoft) { 11 | lit_libs += pcre 12 | } else { 13 | lit_libs += pcre$(PCRE_VERSION) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /config/pcreposix.mpb: -------------------------------------------------------------------------------- 1 | project: pcre { 2 | lit_libs += pcreposix$(PCRE_VERSION) 3 | } 4 | -------------------------------------------------------------------------------- /config/pin.mpb: -------------------------------------------------------------------------------- 1 | project : pin_base { 2 | specific (!prop:windows) { 3 | libs += pin 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /config/pin_static.mpb: -------------------------------------------------------------------------------- 1 | project : pin { 2 | requires += static 3 | specific (!prop:windows) { 4 | libs += sapin 5 | libs -= pin 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /config/pintool.mpb: -------------------------------------------------------------------------------- 1 | project : pin { 2 | specific (prop:windows) { 3 | link_options += /EXPORT:main 4 | } 5 | 6 | verbatim (make, top) { 7 | no_hidden_visibility = 1 8 | } 9 | 10 | verbatim (gnuace, top) { 11 | no_hidden_visibility = 1 12 | } 13 | 14 | verbatim (make, macros) { 15 | ifeq ($(shell uname -s), Darwin) 16 | CPPFLAGS += -DTARGET_MAC 17 | LDFLAGS += -nostdlib -lpin3dwarf -Wl,-exported_symbols_list -Wl,$(PIN_ROOT)/source/include/pin/pintool.exp 18 | LDFLAGS -= -lpthread 19 | else 20 | CPPFLAGS += -DTARGET_LINUX -fno-rtti -Wl,--hash-style=sysv 21 | LDLIBS += -nostdlib -ldl-dynamic -lpindwarf 22 | LDFLAGS += -Wl,-Bsymbolic -Wl,$(PIN_ROOT)/intel64/runtime/pincrt/crtbeginS.o $(PIN_ROOT)/intel64/runtime/pincrt/crtendS.o 23 | endif 24 | } 25 | 26 | verbatim (gnuace, macros) { 27 | ifeq ($(shell uname -s), Darwin) 28 | CPPFLAGS += -DTARGET_MAC 29 | LDFLAGS += -lpinpthread -Wl,-exported_symbols_list -Wl,$(PIN_ROOT)/source/include/pin/pintool.exp 30 | LDFLAGS -= -lpthread 31 | else 32 | CPPFLAGS += -DTARGET_LINUX -Wl,--hash-style=sysv 33 | LIBS += -lpindwarf 34 | LDFLAGS += -Wl,-Bsymbolic -Wl,--version-script=$(PIN_ROOT)/source/include/pin/pintool.ver 35 | endif 36 | } 37 | } 38 | 39 | feature (ia32) { 40 | specific (vc9) { 41 | link_options += /ENTRY:Ptrace_DllMainCRTStartup@12 42 | } 43 | 44 | specific (prop:microsoft) { 45 | EntryPointSymbol = Ptrace_DllMainCRTStartup@12 46 | } 47 | } 48 | 49 | feature (intel64) { 50 | specific (vc9) { 51 | link_options += /ENTRY:Ptrace_DllMainCRTStartup 52 | } 53 | 54 | specific (prop:microsoft) { 55 | EntryPointSymbol = Ptrace_DllMainCRTStartup 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /config/pintool_static.mpb: -------------------------------------------------------------------------------- 1 | project : pin_static { 2 | verbatim (make, top) { 3 | no_hidden_visibility = 1 4 | } 5 | 6 | verbatim (gnuace, top) { 7 | no_hidden_visibility = 1 8 | } 9 | 10 | verbatim (make, macros) { 11 | ifeq ($(shell uname -s), Darwin) 12 | CPPFLAGS += -DTARGET_MAC 13 | LDFLAGS -= -lpthread 14 | else 15 | CPPFLAGS += -DTARGET_LINUX 16 | LDFLAGS += -Wl,--hash-style=sysv -Wl,-Bsymbolic,$(PIN_ROOT)/intel64/runtime/pincrt/crtbegin.o $(PIN_ROOT)/intel64/runtime/pincrt/crtend.o 17 | LDLIBS += -nostdlib -ldl-dynamic -lpindwarf 18 | endif 19 | } 20 | 21 | verbatim (gnuace, macros) { 22 | ifeq ($(shell uname -s), Darwin) 23 | CPPFLAGS += -DTARGET_MAC 24 | LDFLAGS -= -lpthread 25 | else 26 | # TODO Add support for linking against gcc libraries included with Pin 27 | CPPFLAGS += -DTARGET_LINUX 28 | LDFLAGS += -Wl,--hash-style=sysv -Wl,-Bsymbolic 29 | endif 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /config/portico.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += portico 3 | 4 | includes += $(RTI_HOME)/include/ng6 5 | libpaths += $(RTI_HOME)/lib 6 | 7 | macros += RTI_USES_STD_FSTREAM 8 | 9 | specific (prop:windows) { 10 | lit_libs += libRTI-NG libFedTime 11 | 12 | DisableSpecificWarnings += 4996 13 | } else { 14 | libs += RTI-NG 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /config/python.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | requires += python 4 | includes += $(PYTHON_INCLUDE)/. 5 | libpaths += $(PYTHON_LIBDIR)/. 6 | } 7 | -------------------------------------------------------------------------------- /config/qt.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | requires += qt 4 | includes += $(QTDIR)/include 5 | libpaths += $(QTDIR)/lib $(QTDIR)/lib64 6 | macros += QT_THREAD_SUPPORT 7 | lit_libs += qt-mt$(QT_VERSION) 8 | 9 | // Some Linux installations have the includes here. 10 | specific(!prop:windows) { 11 | includes += /usr/include/qt3 12 | } 13 | 14 | Define_Custom(UIC) { 15 | command = $(QTDIR)/bin/uic 16 | output_option = -o 17 | inputext = .ui 18 | header_outputext = .h 19 | } 20 | 21 | Define_Custom(UIC_Impl) { 22 | command = $(QTDIR)/bin/uic 23 | commandflags = -impl <%quote%><%output_noext%>.h<%quote%> 24 | dependent = <%output_noext%>.h 25 | output_option = -o 26 | pch_postrule = 1 27 | inputext = .ui 28 | source_outputext = .cpp 29 | } 30 | 31 | Define_Custom(MOC) { 32 | automatic_in = 0 33 | automatic_out = 0 34 | command = $(QTDIR)/bin/moc 35 | output_option = -o 36 | pch_postrule = 1 37 | inputext = .h 38 | pre_extension = _moc 39 | source_outputext = .cpp 40 | } 41 | 42 | Define_Custom(QRC) { 43 | command = $(QTDIR)/bin/rcc 44 | output_option = -o 45 | commandflags = -name <%input_noext%> 46 | pch_postrule = 1 47 | inputext = .qrc 48 | pre_extension = _qrc 49 | source_outputext = .cpp 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /config/qt3.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt { 3 | } 4 | -------------------------------------------------------------------------------- /config/qt4_core.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | // If the include files for QT are not relative to the root (for 4 | // example, /usr/include/qt4), set the QT4_INCDIR environment variable. 5 | expand(QT4_INCDIR) { 6 | $QT4_INCDIR 7 | $(QTDIR)/include 8 | } 9 | 10 | requires += qt4 11 | includes += $(QT4_INCDIR) 12 | libpaths += $(QTDIR)/lib 13 | lit_libs += QtCore$(QT_CFG) 14 | } 15 | -------------------------------------------------------------------------------- /config/qt4_designer.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_xml { 3 | lit_libs += QtDesigner$(QT_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/qt4_designercomponents.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_designer { 3 | lit_libs += QtDesignerComponents$(QT_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/qt4_gui.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_core { 3 | lit_libs += QtGui$(QT_CFG) 4 | 5 | // On some linux systems with both Qt3 and Qt4 installed, the uic and moc 6 | // executables for Qt4 need to be run as "uic-qt4" (doesn't apply to rcc). 7 | // Expand the variable here to avoid the "undefined" warning from msvc. 8 | expand(QT4_SUFFIX) { 9 | $QT4_SUFFIX 10 | "" 11 | } 12 | 13 | Define_Custom(UIC) { 14 | command = $(QTDIR)/bin/uic$(QT4_SUFFIX) 15 | output_option = -o 16 | inputext = .ui 17 | pre_filename = ui_ 18 | header_outputext = .h 19 | } 20 | 21 | Define_Custom(MOC) { 22 | automatic_in = 0 23 | automatic_out = 0 24 | command = $(QTDIR)/bin/moc$(QT4_SUFFIX) 25 | output_option = -o 26 | pch_postrule = 1 27 | inputext = .h 28 | pre_extension = _moc 29 | source_outputext = .cpp 30 | } 31 | 32 | Define_Custom(QRC) { 33 | command = $(QTDIR)/bin/rcc 34 | output_option = -o 35 | commandflags = -name <%input_noext%> 36 | pch_postrule = 1 37 | inputext = .qrc 38 | pre_extension = _qrc 39 | source_outputext = .cpp 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /config/qt4_network.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_core { 3 | lit_libs += QtNetwork$(QT_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/qt4_opengl.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_gui { 3 | lit_libs += QtOpenGL$(QT_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/qt4_qt3support.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_gui { 3 | lit_libs += Qt3Support$(QT_CFG) 4 | macros += QT3_SUPPORT 5 | } 6 | -------------------------------------------------------------------------------- /config/qt4_sql.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_core { 3 | lit_libs += QtSql$(QT_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/qt4_svg.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_xml { 3 | lit_libs += QtSvg$(QT_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/qt4_test.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_core { 3 | lit_libs += QtTest$(QT_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/qt4_xml.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: qt4_core { 3 | lit_libs += QtXml$(QT_CFG) 4 | } 5 | -------------------------------------------------------------------------------- /config/qt5_gui.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_core { 2 | lit_libs += Qt5Gui$(QT5_LIBSUFFIX) 3 | } 4 | 5 | -------------------------------------------------------------------------------- /config/qt5_network.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_core { 2 | lit_libs += Qt5Network$(QT5_LIBSUFFIX) 3 | } 4 | 5 | -------------------------------------------------------------------------------- /config/qt5_opengl.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_widgets { 2 | lit_libs += Qt5OpenGL$(QT5_LIBSUFFIX) 3 | } 4 | 5 | -------------------------------------------------------------------------------- /config/qt5_qml.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_gui { 2 | libs += Qt5Qml 3 | includes += $(QT5_INCDIR)/QtQml 4 | } 5 | 6 | -------------------------------------------------------------------------------- /config/qt5_quick.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_gui { 2 | libs += Qt5Quick 3 | includes += $(QT5_INCDIR)/QtQuick 4 | } 5 | 6 | -------------------------------------------------------------------------------- /config/qt5_sql.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_core { 2 | lit_libs += Qt5Sql$(QT5_LIBSUFFIX) 3 | } 4 | 5 | -------------------------------------------------------------------------------- /config/qt5_test.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_core { 2 | lit_libs += Qt5Test$(QT5_LIBSUFFIX) 3 | } 4 | 5 | -------------------------------------------------------------------------------- /config/qt5_widgets.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_gui { 2 | lit_libs += Qt5Widgets$(QT5_LIBSUFFIX) 3 | } 4 | 5 | -------------------------------------------------------------------------------- /config/qt5_xml.mpb: -------------------------------------------------------------------------------- 1 | project: qt5_core { 2 | lit_libs += Qt5Xml$(QT5_LIBSUFFIX) 3 | } 4 | 5 | -------------------------------------------------------------------------------- /config/qwt.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // This project also requires Qt, however it will work with both 3 | // Qt 3.3.x and Qt 4.x so we will leave it up to the user to pull 4 | // in the right Qt base projects. 5 | project { 6 | includes += $(QWT_ROOT)/include 7 | libpaths += $(QWT_ROOT)/lib 8 | lit_libs += qwt 9 | } 10 | -------------------------------------------------------------------------------- /config/rdfox.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(RDFOX_ROOT)/include 4 | libpaths += $(RDFOX_ROOT)/lib 5 | lit_libs += libRDFox 6 | 7 | specific(prop:microsoft) { 8 | exceptionhandling = Async 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /config/redisxx.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(REDIS_ROOT)/include 4 | libpaths += $(REDIS_ROOT)/lib 5 | lit_libs += redis++ 6 | libs += hiredis 7 | 8 | specific(prop:microsoft) { 9 | LanguageStandard = stdcpp17 10 | DisableSpecificWarnings += 4200 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /config/rpc.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | requires += rpc 4 | Define_Custom(rpcgen) { 5 | command = rpcgen 6 | commandflags = -C 7 | pch_postrule = 1 8 | inputext = .x 9 | source_pre_extension = _svc, _clnt 10 | source_outputext = .c 11 | header_outputext = .h 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /config/ruby.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(ruby) { 3 | lit_libs += ruby 4 | } 5 | -------------------------------------------------------------------------------- /config/splice_ts_defaults.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project : taoidldefaults { 3 | Define_Custom(SpliceTypeSupport) { 4 | command = $(OSPL_HOME)/bin/idlpp 5 | dependent = $(OSPL_HOME)/bin/idlpp 6 | source_pre_extension = SplDcps, Dcps_impl 7 | source_outputext = .cpp 8 | header_pre_extension = , SplDcps, Dcps_impl 9 | header_pre_filename = ccpp_ 10 | header_outputext = .h 11 | generic_pre_extension = Dcps 12 | generic_outputext = .idl 13 | keyword splice_ts_flags = commandflags 14 | } 15 | 16 | splice_ts_flags += \ 17 | -I $(OSPL_HOME)/include/dcps/C++/CCPP/$(SPLICE_ORB) \ 18 | -C -l cpp -b CCPP/$(SPLICE_ORB) 19 | 20 | idlflags += -I $(OSPL_HOME)/custom_lib/ccpp \ 21 | -I $(OSPL_HOME)/etc/idl 22 | } 23 | -------------------------------------------------------------------------------- /config/spliceexe.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project : splicelib { 3 | } 4 | -------------------------------------------------------------------------------- /config/spliceexe_with_idl.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project : spliceexe, splice_ts_defaults { 3 | } 4 | -------------------------------------------------------------------------------- /config/splicelib.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | libs += dcpsccpp 4 | lit_libs += dcpsgapi ddsdatabase ddsos 5 | libpaths += $(OSPL_HOME)/lib 6 | includes += $(OSPL_HOME)/include \ 7 | $(OSPL_HOME)/include/sys \ 8 | $(OSPL_HOME)/include/dcps/C++/CCPP \ 9 | $(OSPL_HOME)/include/dcps/C++/CCPP/$(SPLICE_ORB) \ 10 | $(OSPL_HOME)/custom_lib/ccpp 11 | 12 | specific(prop:microsoft) { 13 | DisableSpecificWarnings += 4101 14 | } 15 | 16 | verbatim(gnuace, macros) { 17 | override no_hidden_visibility = 1 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /config/splicelib_with_idl.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project : splicelib, splice_ts_defaults { 3 | } 4 | -------------------------------------------------------------------------------- /config/sqlapi.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | includes += $(SQLAPI_ROOT)/include 3 | libpaths += $(SQLAPI_ROOT)/lib 4 | lit_libs += sqlapi 5 | } 6 | -------------------------------------------------------------------------------- /config/sqlite3.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += sqlite3 3 | includes += $(SQLITE_ROOT)/include 4 | libpaths += $(SQLITE_ROOT)/lib 5 | lit_libs += sqlite3 6 | } 7 | -------------------------------------------------------------------------------- /config/swig_java.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(SWIG) { 4 | command = swig 5 | commandflags = -java -c++ 6 | inputext = .swg, .swig, .i 7 | source_outputext = _wrap.cxx 8 | generic_pre_extension = , JNI 9 | generic_outputext = .java 10 | } 11 | requires += swig_java 12 | includes += $(JAVA_ROOT)/include $(JAVA_ROOT)/include/$(JAVA_PLATFORM) 13 | } 14 | -------------------------------------------------------------------------------- /config/swig_perl.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(SWIG) { 4 | command = swig 5 | commandflags = -perl -c++ 6 | inputext = .swg, .swig, .i 7 | source_outputext = _wrap.cxx 8 | generic_outputext = .pm 9 | } 10 | requires += swig_perl 11 | includes += $(PERL5_INCLUDE)/. 12 | libpaths += $(PERL5_INCLUDE)/. 13 | specific(prop:windows) { 14 | lit_libs += $(PERL5_LIB) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /config/swig_php.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(SWIG) { 4 | command = swig 5 | commandflags = -php -c++ 6 | inputext = .swg, .swig, .i 7 | source_outputext = _wrap.cpp 8 | header_pre_filename = php_ 9 | header_outputext = .h 10 | generic_outputext = .php 11 | } 12 | requires += swig_php 13 | includes += $(PHP_INCLUDE)/. $(PHP_INCLUDE)/main $(PHP_INCLUDE)/Zend \ 14 | $(PHP_INCLUDE)/TSRM 15 | libpaths += $(PHP_LIBPATH)/. 16 | } 17 | -------------------------------------------------------------------------------- /config/swig_python.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(SWIG) { 4 | command = swig 5 | commandflags = -python -c++ 6 | inputext = .swg, .swig, .i 7 | source_outputext = _wrap.cxx 8 | generic_outputext = .py 9 | } 10 | requires += swig_python 11 | includes += $(PYTHON_INCLUDE)/. 12 | libpaths += $(PYTHON_LIBPATH)/. 13 | 14 | specific { 15 | lib_prefix = 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /config/swig_ruby.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(SWIG) { 4 | command = swig 5 | commandflags = -ruby -c++ 6 | inputext = .swg, .swig, .i 7 | source_outputext = _wrap.cxx 8 | } 9 | requires += swig_ruby 10 | includes += $(RUBY_INCLUDE)/. 11 | libpaths += $(RUBY_LIBPATH)/. 12 | 13 | specific { 14 | lib_prefix = 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /config/swig_tcl.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | Define_Custom(SWIG) { 4 | command = swig 5 | commandflags = -tcl -c++ 6 | inputext = .swg, .swig, .i 7 | source_outputext = _wrap.cxx 8 | } 9 | requires += swig_tcl 10 | includes += $(TCL_INCLUDE)/. 11 | libpaths += $(TCL_LIBPATH)/. 12 | } 13 | -------------------------------------------------------------------------------- /config/tena_base.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += tena 3 | 4 | includes += $(TENA_HOME)/$(TENA_VERSION)/include 5 | libpaths += $(TENA_HOME)/lib 6 | } 7 | -------------------------------------------------------------------------------- /config/tena_middleware.mpb: -------------------------------------------------------------------------------- 1 | project : tena_base { 2 | macros += TENA_PLATFORM=$(TENA_PLATFORM) 3 | 4 | specific (prop:windows) { 5 | lit_libs += libTENA_Middleware-$(TENA_PLATFORM)-v$(TENA_VERSION) 6 | } else { 7 | libs += TENA_Middleware-$(TENA_PLATFORM)-v$(TENA_VERSION) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /config/udm.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project : xerces { 3 | includes += . \ 4 | $(GME_ROOT)/SDK/BON/Common \ 5 | $(UDM_PATH)/include \ 6 | $(GME_ROOT)/SDK/BON \ 7 | $(GME_ROOT)/Interfaces 8 | 9 | libpaths += $(UDM_PATH)/lib 10 | 11 | specific { 12 | midl_flags += /server none /client none 13 | midl_includes += $(GME_ROOT) $(GME_ROOT)/Interfaces . 14 | 15 | Release::lit_libs += UdmDll 16 | Debug::lit_libs += UdmDllD 17 | } 18 | 19 | specific(prop:microsoft) { 20 | DisableSpecificWarnings += 4251 21 | } 22 | 23 | specific(vc10) { 24 | // Link against vc10 specific libraries instead of the generic ones 25 | Release::lit_libs -= UdmDll 26 | Debug::lit_libs -= UdmDllD 27 | 28 | Release::lit_libs += UdmDll_VS10 29 | Debug::lit_libs += UdmDll_VS10D 30 | } 31 | 32 | specific(vc11) { 33 | // Link against vc11 specific libraries instead of the generic ones 34 | Release::lit_libs -= UdmDll 35 | Debug::lit_libs -= UdmDllD 36 | 37 | Release::lit_libs += UdmDll_v110_Win32 38 | Debug::lit_libs += UdmDll_v110_Win32D 39 | } 40 | 41 | Define_Custom(UDM) { 42 | dependent = $(UDM_PATH)/bin/Udm 43 | command = <%quote%>$(UDM_PATH)<%quote%>/bin/Udm 44 | inputext = .xml 45 | header_outputext = .h 46 | source_outputext = .cpp 47 | generic_outputext = .xsd 48 | 49 | keyword udmflags = commandflags 50 | } 51 | } 52 | 53 | feature (zlib) { 54 | libpaths += $(UDM_3RDPARTY_PATH)/zlib 55 | } 56 | -------------------------------------------------------------------------------- /config/unicode.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature (uses_wchar) { 3 | specific { 4 | unicode = 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/unixodbc.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | // Support for UnixODBC (http://www.unixodbc.org). This is one 3 | // variant of porting ODBC to non-Windows systems. 4 | libpaths += $(UNIXODBC_ROOT)/lib 5 | includes += $(UNIXODBC_ROOT)/include 6 | 7 | lit_libs += odbc odbcinst 8 | } 9 | -------------------------------------------------------------------------------- /config/upnp.mpb: -------------------------------------------------------------------------------- 1 | project: ixml { 2 | lit_libs += threadutil upnp 3 | } 4 | -------------------------------------------------------------------------------- /config/velocypack.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | includes += $(VELOCYPACK_ROOT)/include 4 | libpaths += $(VELOCYPACK_ROOT)/lib 5 | lit_libs += velocypack 6 | 7 | specific(prop:microsoft) { 8 | LanguageStandard = stdcpp20 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /config/winapp.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | specific(nmake) { 4 | subsystem = windows 5 | } else { 6 | subsystem = Windows 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wix.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | custom_only = 1 3 | 4 | Define_Custom (WXS) { 5 | command = <%quote%>$(WIX_ROOT)/bin/candle.exe<%quote%> 6 | inputext = .wxs 7 | output_option = -out 8 | commandflags = -nologo 9 | generic_outputext = .wixobj 10 | keyword wix_flags = commandflags 11 | } 12 | 13 | Define_Custom (WXI) { 14 | inputext = .wxi 15 | } 16 | 17 | 18 | specific { 19 | wix_flags += -dtype=<%prj_type%> 20 | 21 | prebuild += <%rm%> <%project_name%>.msi 22 | postbuild += \ 23 | <%quote%>$(WIX_ROOT)/bin/light.exe<%quote%> -out <%project_name%>.msi \ 24 | <%light_flags%> <%foreach(wxs_files)%><%noextension(wxs_file)%>.wixobj <%endfor%> 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /config/wix_ui.mpb: -------------------------------------------------------------------------------- 1 | project : wix { 2 | specific { 3 | wix_flags += -ext WixUIExtension 4 | light_flags += '-ext WixUIExtension' 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/wix_xml.mpb: -------------------------------------------------------------------------------- 1 | project : wix { 2 | specific { 3 | wix_flags += -ext WixUtilExtension 4 | light_flags += '-ext WixUtilExtension' 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /config/wxadvanced.mpb: -------------------------------------------------------------------------------- 1 | project: wxcore { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_adv 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_adv 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_adv$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxaui.mpb: -------------------------------------------------------------------------------- 1 | project: wxadvanced, wxhtml, wxxml { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_aui 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_aui 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_aui$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxbase.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | // wxWindows specific variables used by this and other wxWindows related 3 | // base projects. You must always set WXWINDOWS_ROOT to the full path of 4 | // the installation of wxWindows. 5 | // 6 | // If you have a project that inherits from this project, you can do one 7 | // of two things to get the following variable settings: 8 | // 1) You can set them as environment variables before you begin building. 9 | // 2) You can have your project also inherit from one of the base projects 10 | // to automatically set them. Use 'wxmake' for use with the 'make' 11 | // project type. Or use 'wxmsvs' for use with Visual Studio related 12 | // project types (e.g., vc71, vc8, vc9, vc10, etc.). You may need to 13 | // edit wxmsvs.mpb to correspond to the values of your version of 14 | // wxWindows. 15 | // 16 | // WX_PORT - e.g., gtk2, msw 17 | // WX_PORT_MACRO - e.g., __WXGTK__ 18 | // WX_VERSION - e.g., -2.9, 29 19 | // WX_UNICODE - e.g., u 20 | // WX_BUILD_CONFIG - e.g., gtk2-unicode 21 | 22 | requires += wxwindows 23 | includes += $(WXWINDOWS_ROOT)/include/wx$(WX_VERSION) \ 24 | $(WXWINDOWS_ROOT)/lib/wx/include/$(WX_BUILD_CONFIG)$(WX_VERSION) 25 | macros += WXUSINGDLL $(WX_PORT_MACRO) 26 | libpaths += $(WXWINDOWS_ROOT)/lib 27 | 28 | specific(prop:windows) { 29 | Debug::lit_libs += wxbase$(WX_VERSION)$(WX_UNICODE)d 30 | Release::lit_libs += wxbase$(WX_VERSION)$(WX_UNICODE) 31 | } else { 32 | lit_libs += wx_base$(WX_UNICODE)$(WX_VERSION) 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /config/wxcore.mpb: -------------------------------------------------------------------------------- 1 | project: wxbase, winapp { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_core 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_core 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_core$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxdbgrid.mpb: -------------------------------------------------------------------------------- 1 | project: wxodbc, wxadvanced { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_dbgrid 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_dbgrid 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_dbgrid$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxgl.mpb: -------------------------------------------------------------------------------- 1 | project: wxcore { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_gl 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_gl 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_gl$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxhtml.mpb: -------------------------------------------------------------------------------- 1 | project: wxcore { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_html 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_html 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_html$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxmake.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | verbatim(make, macros) { 3 | WX_PORT = $(shell $(WXWINDOWS_ROOT)/bin/wx-config --query-toolkit) 4 | WX_PORT_MACRO = $(shell $(WXWINDOWS_ROOT)/bin/wx-config --cflags | sed 's/.*\-D__/__/; s/__ .*/__/') 5 | WX_VERSION = -$(shell $(WXWINDOWS_ROOT)/bin/wx-config --version | sed 's/^\\([0-9]*\\)\\.\\([0-9]*\\)\\.[0-9]*/\\1.\\2/') 6 | WX_CHARTYPE = $(shell $(WXWINDOWS_ROOT)/bin/wx-config --query-chartype) 7 | WX_UNICODE = $(shell echo $(WX_CHARTYPE) | sed 's!unicode!u!;s!ansi!!') 8 | WX_BUILD_CONFIG = $(WX_PORT)-$(WX_CHARTYPE) 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /config/wxmedia.mpb: -------------------------------------------------------------------------------- 1 | project: wxcore { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_media 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_media 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)media$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxmsvs.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | // These settings are specific to wxWindows 2.9.X on Visual Studio. 3 | // If you are using a different version of wxWindows, feel free to change 4 | // the version number to match your version. 5 | 6 | expand(WX_PORT) { 7 | msw 8 | } 9 | expand(WX_PORT_MACRO) { 10 | __WXMSW__ 11 | } 12 | expand(WX_VERSION) { 13 | 29 14 | } 15 | expand(WX_UNICODE) { 16 | u 17 | } 18 | expand(WX_BUILD_CONFIG) { 19 | msw-unicode 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /config/wxnet.mpb: -------------------------------------------------------------------------------- 1 | project: wxbase { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_VERSION)$(WX_UNICODE)d_net 4 | Release::lit_libs += wx$(WX_VERSION)$(WX_UNICODE)_net 5 | } else { 6 | lit_libs += wx_base$(WX_UNICODE)_net$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxodbc.mpb: -------------------------------------------------------------------------------- 1 | project: wxbase { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_VERSION)$(WX_UNICODE)d_odbc 4 | Release::lit_libs += wx$(WX_VERSION)$(WX_UNICODE)_odbc 5 | } else { 6 | lit_libs += wx_base$(WX_UNICODE)_odbc$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxpropertygrid.mpb: -------------------------------------------------------------------------------- 1 | project: wxadvanced { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_propgrid 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_propgrid 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_propgrid$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxqa.mpb: -------------------------------------------------------------------------------- 1 | project: wxcore, wxxml { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_qa 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_qa 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_qa$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxribbon.mpb: -------------------------------------------------------------------------------- 1 | project: wxadvanced, wxhtml, wxxml { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_ribbon 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_ribbon 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_ribbon$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxrichtext.mpb: -------------------------------------------------------------------------------- 1 | project: wxadvanced, wxhtml, wxxml { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_richtext 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_richtext 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_richtext$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxstc.mpb: -------------------------------------------------------------------------------- 1 | project: wxcore { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_stc 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_stc 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_stc$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxxml.mpb: -------------------------------------------------------------------------------- 1 | project: wxbase { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_VERSION)$(WX_UNICODE)d_xml 4 | Release::lit_libs += wx$(WX_VERSION)$(WX_UNICODE)_xml 5 | } else { 6 | lit_libs += wx_base$(WX_UNICODE)_xml$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/wxxrc.mpb: -------------------------------------------------------------------------------- 1 | project: wxadvanced, wxhtml, wxxml { 2 | specific(prop:windows) { 3 | Debug::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)d_xrc 4 | Release::lit_libs += wx$(WX_PORT)$(WX_VERSION)$(WX_UNICODE)_xrc 5 | } else { 6 | lit_libs += wx_$(WX_PORT)$(WX_UNICODE)_xrc$(WX_VERSION) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /config/xalanc.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project: xerces { 3 | requires += xalanc 4 | includes += $(XALANCROOT)/include 5 | libpaths += $(XALANCROOT)/lib 6 | lit_libs += xalan-c xalanMsg 7 | } 8 | -------------------------------------------------------------------------------- /config/xerces.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(!xerces2, !xerces3) { 3 | requires += xerces 4 | } 5 | 6 | feature(xerces2) { 7 | includes += $(XERCESCROOT)/include 8 | libpaths += $(XERCESCROOT)/lib 9 | 10 | specific(prop:microsoft) { 11 | xerceslib = xerces-c_2 12 | 13 | // Linking the optimized version of xerces-c_2 into a debug application 14 | // has been known to cause run-time issues (as of 4/25/2005), so we 15 | // will link in the debug version for the "Debug" configuration. 16 | Debug::xerceslib = xerces-c_2D 17 | } 18 | specific(prop:borland) { 19 | xerceslib = XercesLib 20 | } 21 | specific(!prop:windows) { 22 | macros += XML_USE_PTHREADS 23 | xerceslib = xerces-c 24 | } 25 | 26 | // We have to use lit_libs here as the library decorator 27 | // does not necessarily match what MPC uses (particularly for 28 | // static builds). 29 | lit_libs += $(XERCESLIB) 30 | } 31 | feature(xerces3) { 32 | expand(XERCESC_INCDIR) { 33 | $XERCESC_INCDIR 34 | $(XERCESCROOT)/include 35 | } 36 | expand(XERCESC_LIBDIR) { 37 | $XERCESC_LIBDIR 38 | $(XERCESCROOT)/lib 39 | } 40 | 41 | specific(prop:microsoft) { 42 | xerceslib = xerces-c_3 43 | 44 | // Support (but don't require) installation layouts that have 45 | // the debug libraries in a subdirectory. vcpkg uses this. 46 | Debug::libpaths += $(XERCESCROOT)<%slash%>debug<%slash%>lib 47 | 48 | Debug::xerceslib = xerces-c_3D 49 | } 50 | specific(prop:borland) { 51 | xerceslib = XercesLib 52 | } 53 | specific(!prop:windows) { 54 | macros += XML_USE_PTHREADS 55 | xerceslib = xerces-c 56 | } 57 | 58 | specific(cmake) { 59 | includes += ${XercesC_INCLUDE_DIRS} 60 | xerceslib = ${XercesC_LIBRARIES} 61 | } else { 62 | includes += $(XERCESC_INCDIR) 63 | libpaths += $(XERCESC_LIBDIR) 64 | } 65 | 66 | // We have to use lit_libs here as the library decorator 67 | // does not necessarily match what MPC uses (particularly for 68 | // static builds). 69 | lit_libs += $(XERCESLIB) 70 | } 71 | 72 | -------------------------------------------------------------------------------- /config/xscdefaults.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | project { 3 | specific { 4 | xsc_bin = $(XSC_ROOT)/bin/xsc 5 | xsc_dep = $(XSC_ROOT)/bin/xsc 6 | xsc_flags = --backend cxx 7 | } 8 | 9 | verbatim(gnuace,macros,1) { 10 | XSC_BIN = $(XSC_ROOT)/bin/xsc 11 | XSC_DEP = $(XSC_ROOT)/bin/xsc$(EXEEXT) 12 | XSC_FLAGS = --backend cxx 13 | } 14 | 15 | Define_Custom(XSC) { 16 | automatic = 0 17 | dependent = $(XSC_DEP) 18 | command = $(XSC_BIN) 19 | commandflags = $(XSC_FLAGS) 20 | inputext = .xsd 21 | source_outputext = .cpp 22 | header_outputext = .hpp 23 | keyword xscflags = commandflags 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /config/yacc.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += yacc 3 | Define_Custom(YACC) { 4 | command = yacc 5 | commandflags = -d 6 | postcommand = <%mv%> y.tab.c <%source_file%> <%and%> <%mv%> y.tab.h <%header_file%> 7 | pch_postrule = 1 8 | inputext = .yy, .y 9 | pre_extension = .tab 10 | source_outputext = .c, .cpp, .cxx, .cc, .C 11 | header_outputext = .h, .hpp, .hxx, .hh 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /config/ziparchive.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(ziparchive) { 3 | includes += $(ZIPARCHIVEROOT)/. 4 | libpaths += $(ZIPARCHIVEROOT)/lib 5 | lit_libs += ziparch 6 | } -------------------------------------------------------------------------------- /config/zlib.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(zlib) { 3 | expand(ZLIB_INCDIR) { 4 | $ZLIB_INCDIR 5 | $(ZLIB_ROOT)/include 6 | } 7 | expand(ZLIB_LIBDIR) { 8 | $ZLIB_LIBDIR 9 | $(ZLIB_ROOT)/lib 10 | } 11 | 12 | includes += "$(ZLIB_INCDIR)" 13 | libpaths += "$(ZLIB_LIBDIR)" 14 | macros += ZLIB 15 | 16 | specific(prop:windows) { 17 | Debug::lit_libs += zlibd 18 | Release::lit_libs += zlib 19 | } else { 20 | lit_libs += z 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /config/zmqlib.mpb: -------------------------------------------------------------------------------- 1 | project { 2 | requires += zmq 3 | 4 | libpaths += $(ZMQ_ROOT)/lib 5 | includes += $(ZMQ_ROOT)/include 6 | specific(prop:windows) { 7 | lit_libs += libzmq$(ZMQ_LIBVERSION) 8 | } 9 | specific(!prop:windows) { 10 | libs += zmq 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /config/zzip.mpb: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | feature(zzip): zlib { 3 | requires += zlib 4 | includes += $(ZZIP_ROOT)/include 5 | macros += USE_ZZIP 6 | libpaths += $(ZZIP_ROOT)/lib 7 | 8 | // @@ Notice: If you are building with Cygwin, you may need to manually 9 | // change the following library to zziplib. 10 | specific(prop:windows) { 11 | libs += zziplib 12 | } else { 13 | lit_libs += zzip 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /depgen.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' 3 | & eval 'exec perl -w -S $0 $argv:q' 4 | if 0; 5 | 6 | # ************************************************************ 7 | # Description : Generate dependencies for Make and NMake. 8 | # Author : Chad Elliott 9 | # Create Date : 5/06/2002 10 | # 11 | # ************************************************************ 12 | 13 | # ************************************************************ 14 | # Pragma Section 15 | # ************************************************************ 16 | 17 | use strict; 18 | use FindBin; 19 | use File::Spec; 20 | use File::Basename; 21 | 22 | my $basePath = $FindBin::Bin; 23 | if ($^O eq 'VMS') { 24 | $basePath = File::Spec->rel2abs(dirname($0)) if ($basePath eq ''); 25 | $basePath = VMS::Filespec::unixify($basePath); 26 | } 27 | unshift(@INC, $basePath . '/modules/Depgen', $basePath . '/modules'); 28 | 29 | require Driver; 30 | 31 | # ************************************************************ 32 | # Main Section 33 | # ************************************************************ 34 | 35 | my $driver = new Driver(); 36 | exit($driver->run(\@ARGV)); 37 | -------------------------------------------------------------------------------- /docs/html/images/mpc.dot: -------------------------------------------------------------------------------- 1 | // dot mpc.dot -Tpng -o mpc.png 2 | digraph project { 3 | rankdir=LR; 4 | splines="ortho"; 5 | 6 | mpcfile [shape="cylinder" height="1" label="MPC\nFile"]; 7 | tfile [shape="cylinder" height="1" label="Template\nFile"]; 8 | tifile [shape="cylinder" height="1" label="Template\nInput File"]; 9 | 10 | p [shape="point" width="0"]; 11 | 12 | mpc [shape="box" height="1" style="rounded" label="Make Project\nCreator"]; 13 | out [shape="box" height="1" label="Project File\n(Makefile, vcxproj, etc.)"]; 14 | 15 | // Send all three into the point with no arrowhead 16 | {mpcfile, tfile, tifile} -> p [dir="none"]; 17 | 18 | // Go from the point to the rest 19 | p -> mpc -> out; 20 | } 21 | -------------------------------------------------------------------------------- /docs/html/images/mpc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOCGroup/MPC/a7e38f3be2a2b765da180af1a5cde541013769b6/docs/html/images/mpc.png -------------------------------------------------------------------------------- /docs/html/images/mwc.dot: -------------------------------------------------------------------------------- 1 | // dot mwc.dot -Tpng -o mwc.png 2 | digraph workspace { 3 | rankdir=LR; 4 | 5 | mwcfile [shape="cylinder" height="1" label="MWC\nFile"]; 6 | mwc [shape="box" height="1" style="rounded" label="Make Workspace\nCreator"]; 7 | out [shape="box" height="1" label="Workspace File\n(Makefile, sln, etc.)"]; 8 | 9 | mwcfile -> mwc -> out; 10 | } 11 | -------------------------------------------------------------------------------- /docs/html/images/mwc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOCGroup/MPC/a7e38f3be2a2b765da180af1a5cde541013769b6/docs/html/images/mwc.png -------------------------------------------------------------------------------- /docs/html/images/rpmworkflow.dot: -------------------------------------------------------------------------------- 1 | digraph rpmpackaging { 2 | rankdir=LR; 3 | 4 | subgraph cluster_completeprocess { 5 | // rpmbuild output 6 | rpmbuild [shape="box"]; 7 | 8 | rpmbuild -> SRPM; 9 | rpmbuild -> bRPM; 10 | 11 | 12 | // inputs to rpmbuild 13 | specfile -> rpmbuild ; 14 | tarball -> rpmbuild ; 15 | 16 | mwc [shape="box" label="mwc.pl"]; 17 | rpmscript [shape="box" label="*_rpm.sh script"]; 18 | 19 | mwc -> specfile; 20 | mwc -> rpmscript; 21 | rpmscript -> tarball; 22 | 23 | mwcfiles [label=".mwc files"]; 24 | 25 | mwcfiles -> mwc; 26 | 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /docs/html/images/rpmworkflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOCGroup/MPC/a7e38f3be2a2b765da180af1a5cde541013769b6/docs/html/images/rpmworkflow.png -------------------------------------------------------------------------------- /docs/templates/automake.txt: -------------------------------------------------------------------------------- 1 | // Current as of 2/2/2007 2 | // This defines the role of all the template variables specific to the 3 | // 'automake' project type. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | am_release = Provides the value to use with the -release option when creating a shared library. 8 | am_version = Provides an automake'ized version string based on the 'version' project variable. 9 | common_defines = Specifies macros that are common to all target types. 10 | defines = Macros that are specific to a particular configuration. 11 | idl_files = When a Define_Custom(IDL) is used, they will be accessible through this variable name. 12 | includedir = Specifies the include directory for the specific project. 13 | install_headers = If set, header, inline, template, idl, and pidl files will be installed. 14 | install_this_target = If set, script files, executables and library targets will be installed. For libraries, it also determines if it will be dynamic (set) or static (not set). 15 | man_files = When a Define_Custom(MAN) is used, they will be accessible through this variable name. 16 | pidl_files = When a Define_Custom(PIDL) is used, they will be accessible through this variable name. 17 | pkgconfig_files = When a Define_Custom(pkgconfig) is used, they will be accessible through this variable name. 18 | script_files = When a Define_Custom(Script) is used, they will be accessible through this variable name. 19 | use_lib_modifier_for_lit_libs = If this template variable is set, the 'lib_modifier' template variable value will be appended to the library names of those specified by the 'lit_libs' project variable. 20 | -------------------------------------------------------------------------------- /docs/templates/cc.txt: -------------------------------------------------------------------------------- 1 | // Current as of 9/26/2006 2 | // This defines the role of all the template variables specific to the 3 | // 'cc' project type. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | big_endian = If the target architecture is big endian, set this to 1. 8 | ccversion = The version of Code Composer. 9 | cpufamily = The CPU Family for the project. 10 | defines = Macros that are specific to a particular configuration. 11 | output_dir = The configuration specific directory where output files are placed. 12 | rtti = This boolean variable determines whether RTTI is enabled or not. 13 | target_version = This is the target architecture version. 14 | -------------------------------------------------------------------------------- /docs/templates/cdt6project.txt: -------------------------------------------------------------------------------- 1 | // Document template variables for templates templates/cdt6project.mpd. 2 | // Please try to keep this alphabetically sorted. 3 | // 4 | -------------------------------------------------------------------------------- /docs/templates/cmake.txt: -------------------------------------------------------------------------------- 1 | // Current as of 10/26/2022 2 | // This defines the role of all the template variables specific to the 3 | // 'cmake' project type. 4 | // 5 | // The value $ is used below to represent the dollar sign. The dollar 6 | // sign is interpreted by the parser in document_template.pl. 7 | // 8 | // Please try to keep this alphabetically sorted. 9 | // 10 | cmake_minimum_required = Sets the minimum required version for CMake. 11 | env_dllout = The value of 'dllout' with $() values converted to $ENV{}. 12 | env_exeout = The value of 'exeout' with $() values converted to $ENV{}. 13 | env_includes = The value of 'includes' with $() values converted to $ENV{}. 14 | env_libout = The value of 'libout' with $() values converted to $ENV{}. 15 | env_libpaths = The value of 'libpaths' with $() values converted to $ENV{}. 16 | packages = A list of packages to be used with the find_package() command. 17 | pre_find_package = A specific command or set of commands to be issued before any find_package() commands are called. 18 | languagestandard = Which version of ISO C++ standard to compile against (14, 17, 20) 19 | -------------------------------------------------------------------------------- /docs/templates/ghs.txt: -------------------------------------------------------------------------------- 1 | bsp = If a bsp is necessary, this variable should be set to the bsp name. 2 | exceptions = This controls whether exceptions are used or not. It is on by default. 3 | libext = Similar to the common lib_ext except that this one is normally left to the default. 4 | no_use_pch = Set this to disable precompiled header support. 5 | os_dir = Set this to the full path of the OS directory (ex. C:\GHS\int507). 6 | postmkdir = Allows arbitrary text after the use of mkdir. 7 | primarytarget = This specifies the primaryTarget value that is placed in the toplevel workspace. Some example values are: ppc_integrity.tgt, ppc_linux.tgt, ppc_standalone.tgt and ppc_vxworks.tgt. 8 | reltop = This is the current directory of the project relative to the top-level directory. 9 | reltop_dllout = Similar to dllout except that it's relative to the top-level directory. 10 | reltop_exeout = Similar to exeout except that it's relative to the top-level directory. 11 | reltop_includes = Similar to includes except that it's relative to the top-level directory. 12 | reltop_libout = Similar to libout except that it's relative to the top-level directory. 13 | reltop_libpaths = Similar to libpaths except that it's relative to the top-level directory. 14 | slash = The value used to separate directories and files. 15 | -------------------------------------------------------------------------------- /docs/templates/iar.txt: -------------------------------------------------------------------------------- 1 | // Current as of 8/18/2019 2 | // This defines the role of all the template variables specific to the 3 | // 'iar' project type. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | chip = This will be the chip version used by the UI. 8 | debug = This will be 1 if in debug mode and 0 if in release mode. 9 | dlib_config = The configuration header file for the DLib. This is only used if gruntimelibselect is set to 3. 10 | gendianmode = Corresponds to the Endian mode under General Options. 11 | gendianmodebe = When General Options Endian mode is Big (1), BE32 is 0 and BE8 is 1. 12 | generalenablemisra = Set this to 1 to enable MISRA in the General Options. 13 | gruntimelibselect = Sets the DLib runtime support (0 - None, 1 - Normal, 2 - Full, 3 - Custom). 14 | ilinkicffile = Set this to override the default ICF file. 15 | ilinkprogramentrylabel = Use this to override the default program entry name. 16 | oglastsavedbyproductversion = The version number of the product at the last saving time of the project. 17 | ogproductversion = The version number of the product that created the project. 18 | toolchain = The tool chain setting (e.g., ARM). 19 | -------------------------------------------------------------------------------- /docs/templates/uvis.txt: -------------------------------------------------------------------------------- 1 | // Current as of 5/16/2018 2 | // This defines the role of all the template variables specific to the 3 | // 'uvis' project type. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | board = The name of the board (e.g., STM32L476) 8 | cmsis_files = Special source files that are part of the CMSIS OS grouping 9 | debuginformation = A boolean indicating if debug information should be added 10 | device_files = Special source files that are part of the Device grouping 11 | devices = The list of devices (e.g., STM32L476ZGTx) 12 | dfp = The name of the development package (e.g., STM32L4xx) 13 | flash = The name of the flash driver (e.g., STM32L4xx_1024.FLM) 14 | genflags = Flags that will be passed to the C/C++ compiler 15 | iram1_size = The size of the first internal ram definition 16 | iram1_start = The starting address of the first internal ram definition 17 | iram2_size = The size of the second internal ram definition 18 | iram2_start = The starting address of the second internal ram definition 19 | register = The name of the register header file 20 | scatter_file = The name of the file that contains the scatter memory definitions 21 | sfd = The name of the SFD file (e.g., STM32L4x6.svd) 22 | vendor = The name of the vendor of the board 23 | xram1_size = The size of the first external ram definition 24 | xram1_start = The starting address of the first external ram definition 25 | xram2_size = The size of the second external ram definition 26 | xram2_start = The starting address of the second external ram definition 27 | xram3_size = The size of the third external ram definition 28 | xram3_start = The starting address of the third external ram definition 29 | -------------------------------------------------------------------------------- /docs/templates/vc7csharp.txt: -------------------------------------------------------------------------------- 1 | // Current as of 10/26/2006 2 | // This defines the role of all the template variables specific to the 3 | // 'vc7' and 'vc71' project types with the csharp language. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | allowunsafeblocks = Enable/disable the use of the unsafe keyword. 8 | common_defines = Specifies macros that are common to all target types. 9 | defines = Macros that are specific to a particular configuration. 10 | guid = The value for this variable is generated during project generation. 11 | incremental = This setting corresponds to the Configuration Properties Advanced property "Incremental Build". The boolean values true and false correspond to enabling or disabling the feature in the IDE. 12 | keyfile = Indicate the keyfile to use when signing the assembly. 13 | prversion = This setting specifies the ProductVersion in the generated .csproj file. 14 | scc = This template variable enables or disables the use of Scc. 15 | schemaversion = This setting specifies the SchemaVersion in the generated .csproj file. 16 | startupobject = This corresponds to the Common Properties General property "Startup Object". 17 | trace = This setting corresponds to the Configuration Properties Build property "Conditional Compilation Constants". If this boolean template variable is set, the TRACE constant will be defined. 18 | winapp = This boolean template variable indicates whether the application target is for the Console or Windows subsystem. 19 | -------------------------------------------------------------------------------- /docs/templates/vc7java.txt: -------------------------------------------------------------------------------- 1 | // Current as of 11/15/2007 2 | // This defines the role of all the template variables specific to the 3 | // 'vc7' and 'vc71' project types with the java language. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | allowunsafeblocks = Enable/disable the use of the unsafe keyword. 8 | common_defines = Specifies macros that are common to all target types. 9 | defines = Macros that are specific to a particular configuration. 10 | guid = The value for this variable is generated during project generation. 11 | incremental = This setting corresponds to the Configuration Properties Advanced property "Incremental Build". The boolean values true and false correspond to enabling or disabling the feature in the IDE. 12 | keyfile = Indicate the keyfile to use when signing the assembly. 13 | prversion = This setting specifies the ProductVersion in the generated .vjsproj file. 14 | scc = This template variable enables or disables the use of Scc. 15 | schemaversion = This setting specifies the SchemaVersion in the generated .vjsproj file. 16 | startupobject = This corresponds to the Common Properties General property "Startup Object". 17 | trace = This setting corresponds to the Configuration Properties Build property "Conditional Compilation Constants". If this boolean template variable is set, the TRACE constant will be defined. 18 | winapp = This boolean template variable indicates whether the application target is for the Console or Windows subsystem. 19 | -------------------------------------------------------------------------------- /docs/templates/vc7vb.txt: -------------------------------------------------------------------------------- 1 | // Current as of 10/26/2006 2 | // This defines the role of all the template variables specific to the 3 | // 'vc7' and 'vc71' project types with the vb language. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | common_defines = Specifies macros that are common to all target types. 8 | defines = Macros that are specific to a particular configuration. 9 | guid = The value for this variable is generated during project generation. 10 | incremental = This setting corresponds to the Configuration Properties Optimizations property "Enable incremental build". The boolean values true and false correspond to enabling or disabling the feature in the IDE. 11 | prversion = This setting specifies the ProductVersion in the generated .vbproj file. 12 | scc = This template variable enables or disables the use of Scc. 13 | schemaversion = This setting specifies the SchemaVersion in the generated .vbproj file. 14 | startupobject = This corresponds to the Common Properties General property "Startup object". 15 | trace = This setting corresponds to the Configuration Properties Build property "Define TRACE constant". If this boolean template variable is set, the TRACE constant will be defined. 16 | winapp = This boolean template variable indicates whether the application target is for the Console or Windows subsystem. 17 | -------------------------------------------------------------------------------- /docs/templates/vc8java.txt: -------------------------------------------------------------------------------- 1 | // Current as of 3/05/2007 2 | // This defines the role of all the template variables specific to the 3 | // 'vc8' project type with the java language. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | allowunsafeblocks = Enable/disable the use of the unsafe keyword. 8 | common_defines = Specifies macros that are common to all target types. 9 | defines = Macros that are specific to a particular configuration. 10 | guid = The value for this variable is generated during project generation. 11 | keyfile = Indicate the keyfile to use when signing the assembly. 12 | prversion = This setting specifies the ProductVersion in the generated .vjsproj file. 13 | registerforcominterop = This setting corresponds to the Build Output property "Register for COM interop". The boolean values true and false correspond to enabling or disabling the feature in the IDE. 14 | schemaversion = This setting specifies the SchemaVersion in the generated .vjsproj file. 15 | startupobject = This corresponds to the Application property "Startup object". 16 | trace = This setting corresponds to the Build General property "Conditional Compilation Constants". If this boolean template variable is set, the TRACE constant will be defined. 17 | warning_level = This corresponds to the Build General property "Warning level". Valid values are 0 through 4. 18 | winapp = This boolean template variable indicates whether the application target is for the Console or Windows subsystem. 19 | -------------------------------------------------------------------------------- /docs/templates/vc8vb.txt: -------------------------------------------------------------------------------- 1 | // Current as of 10/26/2006 2 | // This defines the role of all the template variables specific to the 3 | // 'vc8' project type with the vb language. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | common_defines = Specifies macros that are common to all target types. 8 | defines = Macros that are specific to a particular configuration. 9 | guid = The value for this variable is generated during project generation. 10 | prversion = This setting specifies the ProductVersion in the generated .vbproj file. 11 | registerforcominterop = This setting corresponds to the Compile property "Register for COM interop". The boolean values true and false correspond to enabling or disabling the feature in the IDE. 12 | schemaversion = This setting specifies the SchemaVersion in the generated .vbproj file. 13 | startupobject = This corresponds to the Application property "Startup object". 14 | trace = This setting corresponds to the Compile Advanced Compile Options property "Define TRACE constant". If this boolean template variable is set, the TRACE constant will be defined. 15 | warning_level = This setting corresponds to the Compile property "Disable all warnings". Valid values are 0 and 1. 16 | winapp = This boolean template variable indicates whether the application target is for the Console or Windows subsystem. 17 | -------------------------------------------------------------------------------- /docs/templates/wb26.txt: -------------------------------------------------------------------------------- 1 | // Document template variables for templates templates/wb26.mpd. 2 | // Please try to keep this alphabetically sorted. 3 | // 4 | additional_natures = Eclipse natures that should appear in the .project file 5 | disable_subprojects = Disables generation of subprojects (.wrproject) and project references (.project) 6 | project_prefix = Prefix for the project names and the MPC-created directory that contains .project, .wrproject, etc. 7 | standard_build = Specify that you want to use standard build instead of flexible build (not tested with -type wb30) 8 | -------------------------------------------------------------------------------- /docs/templates/wb26wrmakefile.txt: -------------------------------------------------------------------------------- 1 | // Document template variables for templates templates/wb26wrmakefile.mpd. 2 | // Please try to keep this alphabetically sorted. 3 | // 4 | buildspecs = List of possible build specifications 5 | dll_prefix = Prefix for shared/dynamic libraries 6 | platform_makefilevars = Platform-specific variables that should have \ to / translation done in the makefile 7 | -------------------------------------------------------------------------------- /docs/templates/wix.txt: -------------------------------------------------------------------------------- 1 | // Current as of 8/10/2009 2 | // This defines the role of all the template variables specific to the 3 | // 'wix' project type. 4 | // 5 | // Please try to keep this alphabetically sorted. 6 | // 7 | // for the original wix support 8 | guid = The value for this variable is generated during project generation. 9 | install_location = A space separated list of installation directories. 10 | source_directory = The value of either exeout, dllout, or libout with the variable portion converted to a suitable value for WIX. 11 | // if wix_extended=1 is set 12 | exclude = If true (1), no components are generated for WiX for this project 13 | guid = The value for this variable is generated during project generation. 14 | install_location = A space separated list of installation directories. 15 | make_group = If true (1), a top-level group is created that references all components of all of the project's project dependencies. 16 | com_register = If true (1), instruct WiX to register the project as a COM server 17 | -------------------------------------------------------------------------------- /modules/AutomakeProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package AutomakeProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A Automake Project Creator 5 | # Author : J.T. Conklin & Chad Elliott 6 | # Create Date : 2/26/2003 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use MakeProjectBase; 16 | use ProjectCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(MakeProjectBase ProjectCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub escape_spaces { 26 | #my $self = shift; 27 | return 1; 28 | } 29 | 30 | 31 | sub fill_value { 32 | my($self, $name) = @_; 33 | my $value; 34 | 35 | if ($name eq 'am_version') { 36 | $value = $self->get_assignment('version'); 37 | $value .= ':0' if (defined $value && ($value =~ tr/./:/) < 2); 38 | } 39 | 40 | return $value; 41 | } 42 | 43 | 44 | sub project_file_extension { 45 | #my $self = shift; 46 | return '.am'; 47 | } 48 | 49 | 50 | sub get_dll_exe_template_input_file { 51 | #my $self = shift; 52 | return 'automakeexe'; 53 | } 54 | 55 | 56 | sub get_dll_template_input_file { 57 | #my $self = shift; 58 | return 'automakedll'; 59 | } 60 | 61 | 62 | 1; 63 | -------------------------------------------------------------------------------- /modules/BCB2007ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package BCB2007ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : The Borland C++ Builder 2007 Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 14/12/2005 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ProjectCreator; 16 | use BorlandPropertyBase; 17 | use XMLProjectBase; 18 | 19 | use vars qw(@ISA); 20 | @ISA = qw(XMLProjectBase BorlandPropertyBase ProjectCreator); 21 | 22 | # ************************************************************ 23 | # Subroutine Section 24 | # ************************************************************ 25 | 26 | sub crlf { 27 | #my $self = shift; 28 | return "\n"; 29 | } 30 | 31 | 32 | sub project_file_extension { 33 | #my $self = shift; 34 | return '.cbproj'; 35 | } 36 | 37 | 38 | sub get_dll_exe_template_input_file { 39 | #my $self = shift; 40 | return 'bcb2007exe'; 41 | } 42 | 43 | 44 | sub get_dll_template_input_file { 45 | #my $self = shift; 46 | return 'bcb2007dll'; 47 | } 48 | 49 | 50 | 1; 51 | -------------------------------------------------------------------------------- /modules/BCB2009ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package BCB2009ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : The Borland C++ Builder 2009 Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 17/10/2008 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use BCB2007ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(BCB2007ProjectCreator); 19 | 20 | # ************************************************************ 21 | # Subroutine Section 22 | # ************************************************************ 23 | 24 | sub get_dll_exe_template_input_file { 25 | #my $self = shift; 26 | return 'bcb2009exe'; 27 | } 28 | 29 | 30 | sub get_dll_template_input_file { 31 | #my $self = shift; 32 | return 'bcb2009dll'; 33 | } 34 | 35 | 36 | 1; 37 | -------------------------------------------------------------------------------- /modules/BCB2009WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package BCB2009WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : A BCB2009 Workspace Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 17/10/2008 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use BCB2007WorkspaceCreator; 16 | use BCB2009ProjectCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(BCB2007WorkspaceCreator); 20 | 21 | sub pre_workspace { 22 | my($self, $fh) = @_; 23 | my $crlf = $self->crlf(); 24 | 25 | ## This identifies it as a Borland C++Builder 2009 file 26 | print $fh '', $crlf; 27 | 28 | ## Optionally print the workspace comment 29 | # $self->print_workspace_comment($fh, 30 | # '', $crlf, 31 | # '', 32 | # $crlf); 33 | } 34 | 35 | 1; 36 | -------------------------------------------------------------------------------- /modules/BDS4ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package BDS4ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : The Borland Developer Studio 4 Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 14/12/2005 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ProjectCreator; 16 | use BorlandPropertyBase; 17 | use XMLProjectBase; 18 | 19 | use vars qw(@ISA); 20 | @ISA = qw(XMLProjectBase BorlandPropertyBase ProjectCreator); 21 | 22 | # ************************************************************ 23 | # Subroutine Section 24 | # ************************************************************ 25 | 26 | sub crlf { 27 | #my $self = shift; 28 | return "\n"; 29 | } 30 | 31 | 32 | sub project_file_extension { 33 | #my $self = shift; 34 | return '.bdsproj'; 35 | } 36 | 37 | 38 | sub get_dll_exe_template_input_file { 39 | #my $self = shift; 40 | return 'bds4exe'; 41 | } 42 | 43 | 44 | sub get_dll_template_input_file { 45 | #my $self = shift; 46 | return 'bds4dll'; 47 | } 48 | 49 | 50 | 1; 51 | -------------------------------------------------------------------------------- /modules/BorlandProjectBase.pm: -------------------------------------------------------------------------------- 1 | package BorlandProjectBase; 2 | 3 | # ************************************************************ 4 | # Description : A Borland base module for Borland Project Creators 5 | # Author : Chad Elliott 6 | # Create Date : 5/5/2009 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use WinProjectBase; 15 | use BorlandPropertyBase; 16 | 17 | our @ISA = qw(BorlandPropertyBase WinProjectBase); 18 | 19 | # ************************************************************ 20 | # Subroutine Section 21 | # ************************************************************ 22 | 23 | 1; 24 | -------------------------------------------------------------------------------- /modules/BorlandPropertyBase.pm: -------------------------------------------------------------------------------- 1 | package BorlandPropertyBase; 2 | 3 | # ************************************************************ 4 | # Description : A Borland base module for properties. 5 | # Author : Chad Elliott 6 | # Create Date : 5/5/2009 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use WinPropertyBase; 15 | 16 | our @ISA = qw(WinPropertyBase); 17 | 18 | # ************************************************************ 19 | # Subroutine Section 20 | # ************************************************************ 21 | 22 | sub get_properties { 23 | my $self = shift; 24 | 25 | ## Get the base class properties and add the properties that we 26 | ## support. 27 | my $props = $self->WinPropertyBase::get_properties(); 28 | 29 | ## All projects that use this base class are for Borland compilers. 30 | $$props{'borland'} = 1; 31 | 32 | return $props; 33 | } 34 | 35 | 36 | 1; 37 | -------------------------------------------------------------------------------- /modules/CCProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package CCProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A Code Composer Project Creator 5 | # Author : Chad Elliott 6 | # Create Date : 9/18/2006 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ProjectCreator; 16 | use WinProjectBase; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(WinProjectBase ProjectCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub compare_output { 26 | #my $self = shift; 27 | return 1; 28 | } 29 | 30 | 31 | sub override_valid_component_extensions { 32 | my $self = shift; 33 | my $comp = shift; 34 | my @array = @_; 35 | 36 | if ($comp eq 'source_files' && $self->languageIs(Creator::cplusplus)) { 37 | push(@array, "\\.cdb"); 38 | } 39 | 40 | return \@array; 41 | } 42 | 43 | 44 | sub project_file_extension { 45 | #my $self = shift; 46 | return '.pjt'; 47 | } 48 | 49 | 50 | sub get_dll_exe_template_input_file { 51 | #my $self = shift; 52 | return 'ccexe'; 53 | } 54 | 55 | 56 | sub get_dll_template_input_file { 57 | #my $self = shift; 58 | return 'cclib'; 59 | } 60 | 61 | 62 | 1; 63 | -------------------------------------------------------------------------------- /modules/CDT7ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package CDT7ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A CDT7 Project Creator (Eclipse 3.6) 5 | # Author : Adam Mitz, Object Computing, Inc. 6 | # Create Date : 10/04/2010 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use CDT6ProjectCreator; 15 | 16 | use vars qw(@ISA); 17 | @ISA = qw(CDT6ProjectCreator); 18 | 19 | # ************************************************************ 20 | # Data Section 21 | # ************************************************************ 22 | 23 | my %config = ('scanner_config_builder_triggers' => 'full,incremental,', 24 | 'additional_storage_modules' => 25 | 'org.eclipse.cdt.core.language.mapping ' . 26 | 'org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings', 27 | 'additional_error_parsers' => 28 | 'org.eclipse.cdt.core.GmakeErrorParser ' . 29 | 'org.eclipse.cdt.core.CWDLocator' 30 | ); 31 | 32 | # ************************************************************ 33 | # Subroutine Section 34 | # ************************************************************ 35 | 36 | sub get_configurable { 37 | my($self, $name) = @_; 38 | return $config{$name}; 39 | } 40 | 41 | 1; 42 | -------------------------------------------------------------------------------- /modules/CDT7WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package CDT7WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : A CDT7 Workspace Creator (Eclipse 3.6) 5 | # Author : Adam Mitz, Object Computing, Inc. 6 | # Create Date : 10/04/2010 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use CDT7ProjectCreator; 15 | use CDT6WorkspaceCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(CDT6WorkspaceCreator); 19 | 20 | # ************************************************************ 21 | # Subroutine Section 22 | # ************************************************************ 23 | 24 | sub get_cdt_version { 25 | return '7'; 26 | } 27 | 28 | 1; 29 | -------------------------------------------------------------------------------- /modules/Depgen/DependencyWriter.pm: -------------------------------------------------------------------------------- 1 | package DependencyWriter; 2 | 3 | # ************************************************************ 4 | # Description : Base class for all Dependency Writers. 5 | # Author : Chad Elliott 6 | # Create Date : 2/10/2002 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | # ************************************************************ 16 | # Subroutine Section 17 | # ************************************************************ 18 | 19 | sub new { 20 | return bless {}, $_[0]; 21 | } 22 | 23 | 24 | sub process { 25 | #my($self, $objects, $files) = @_; 26 | return ''; 27 | } 28 | 29 | 30 | 1; 31 | -------------------------------------------------------------------------------- /modules/Depgen/DependencyWriterFactory.pm: -------------------------------------------------------------------------------- 1 | package DependencyWriterFactory; 2 | 3 | # ************************************************************ 4 | # Description : Create DependencyWriter objects. 5 | # Author : Chad Elliott 6 | # Create Date : 5/23/2003 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use DependencyWriter; 16 | 17 | # ************************************************************ 18 | # Data Section 19 | # ************************************************************ 20 | 21 | my $writers = {}; 22 | 23 | # ************************************************************ 24 | # Subroutine Section 25 | # ************************************************************ 26 | 27 | sub register { 28 | $writers = shift; 29 | } 30 | 31 | 32 | sub create { 33 | return $$writers{$_[0]}->new() if (defined $$writers{$_[0]}); 34 | 35 | print STDERR "WARNING: Invalid dependency writer type: $_[0]\n"; 36 | return new DependencyWriter(); 37 | } 38 | 39 | 40 | 1; 41 | -------------------------------------------------------------------------------- /modules/Depgen/MakeDependencyWriter.pm: -------------------------------------------------------------------------------- 1 | package MakeDependencyWriter; 2 | 3 | # ************************************************************ 4 | # Description : Generates generic Makefile dependencies. 5 | # Author : Chad Elliott 6 | # Create Date : 2/10/2002 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use DependencyWriter; 15 | 16 | use vars qw(@ISA); 17 | @ISA = qw(DependencyWriter); 18 | 19 | # ************************************************************ 20 | # Subroutine Section 21 | # ************************************************************ 22 | 23 | sub new { 24 | my $self = DependencyWriter::new(@_); 25 | 26 | $self->{'cygwin'} = (defined $ENV{OS} && $ENV{OS} =~ /windows/i); 27 | 28 | if ($ENV{MPC_DEPGEN_EXCLUDE}) { 29 | $self->{exclude} = [split(' ', $ENV{MPC_DEPGEN_EXCLUDE})]; 30 | } 31 | return $self; 32 | } 33 | 34 | sub process { 35 | my($self, $target, $deps) = @_; 36 | 37 | if (exists $self->{exclude}) { 38 | for my $excl (@{$self->{exclude}}) { 39 | @$deps = grep {$_ !~ /$excl/} @$deps; 40 | } 41 | } 42 | 43 | ## Replace whitespace with escaped whitespace. 44 | map(s/(\s)/\\$1/g, @{$deps}); 45 | 46 | ## Replace : with /cygdrive/. The user may 47 | ## or may not be using Cygwin, but leaving the colon in there will 48 | ## cause make to fail catastrophically on the next invocation. 49 | map(s/([A-Z]):/\/cygdrive\/$1/gi, @{$deps}) if ($self->{'cygwin'}); 50 | 51 | ## Sort the dependencies to make them reproducible. 52 | return "@{$target}: \\\n " . join(" \\\n ", sort @{$deps}) . "\n"; 53 | } 54 | 55 | 1; 56 | -------------------------------------------------------------------------------- /modules/Depgen/MakeObjectGenerator.pm: -------------------------------------------------------------------------------- 1 | package MakeObjectGenerator; 2 | 3 | # ************************************************************ 4 | # Description : Generates object files for generic Makefiles. 5 | # Author : Chad Elliott 6 | # Create Date : 5/23/2003 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use ObjectGenerator; 15 | use DirectoryManager; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(ObjectGenerator); 19 | 20 | my $dm = bless {}, 'DirectoryManager'; 21 | 22 | # ************************************************************ 23 | # Subroutine Section 24 | # ************************************************************ 25 | 26 | sub process { 27 | my $noext = $dm->translate_directory($_[1]); 28 | my @exts = ('o'); 29 | my @dirs = (defined $ENV{VDIR} ? $ENV{VDIR} : ''); 30 | $noext =~ s/\.[^\.]+$//o; 31 | 32 | push(@exts, $ENV{SOEXT}) if (defined $ENV{SOEXT}); 33 | push(@dirs, $ENV{VSHDIR}) if (defined $ENV{VSHDIR}); 34 | 35 | my @objects; 36 | foreach my $dirs (@dirs) { 37 | foreach my $ext (@exts) { 38 | push(@objects, "$dirs$noext.$ext"); 39 | } 40 | } 41 | 42 | return \@objects; 43 | } 44 | 45 | 46 | 1; 47 | -------------------------------------------------------------------------------- /modules/Depgen/NMakeDependencyWriter.pm: -------------------------------------------------------------------------------- 1 | package NMakeDependencyWriter; 2 | 3 | # ************************************************************ 4 | # Description : Generates NMake dependencies. 5 | # Author : Chad Elliott 6 | # Create Date : 2/10/2002 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use DependencyWriter; 15 | 16 | use vars qw(@ISA); 17 | @ISA = qw(DependencyWriter); 18 | 19 | # ************************************************************ 20 | # Subroutine Section 21 | # ************************************************************ 22 | 23 | sub process { 24 | my $sources = $_[1]; 25 | my $files = $_[2]; 26 | my $total = 0; 27 | 28 | $$sources[0] =~ s/\//\\/g; 29 | $$sources[0] =~ s/\\\\/\\/g; 30 | my $dep = "$$sources[0] :\\\n"; 31 | 32 | ## Sort the dependencies to make them reproducible 33 | foreach my $file (sort @$files) { 34 | $file =~ s/\//\\/g; 35 | $file =~ s/\\\\/\\/g; 36 | if ($file ne $$sources[0]) { 37 | $dep .= "\t\"$file\"\\\n"; 38 | ++$total; 39 | } 40 | } 41 | 42 | if ($total == 0) { 43 | $dep = ''; 44 | } 45 | else { 46 | $dep .= "\n\n"; 47 | } 48 | 49 | return $dep; 50 | } 51 | 52 | 53 | 1; 54 | -------------------------------------------------------------------------------- /modules/Depgen/NMakeObjectGenerator.pm: -------------------------------------------------------------------------------- 1 | # ************************************************************ 2 | # Description : Generates object files for NMake Makefiles. 3 | # Author : Chad Elliott 4 | # Create Date : 5/23/2003 5 | # ************************************************************ 6 | 7 | package WinProjectBaseEx; 8 | 9 | use WinProjectBase; 10 | use DirectoryManager; 11 | 12 | use vars qw(@ISA); 13 | @ISA = qw(WinProjectBase DirectoryManager); 14 | 15 | sub new { 16 | return bless {}, $_[0]; 17 | } 18 | 19 | 1; 20 | 21 | 22 | package NMakeObjectGenerator; 23 | 24 | # ************************************************************ 25 | # Pragmas 26 | # ************************************************************ 27 | 28 | use strict; 29 | use ObjectGenerator; 30 | 31 | use vars qw(@ISA); 32 | @ISA = qw(ObjectGenerator); 33 | 34 | # ************************************************************ 35 | # Data Section 36 | # ************************************************************ 37 | 38 | my $wpb = new WinProjectBaseEx(); 39 | 40 | # ************************************************************ 41 | # Subroutine Section 42 | # ************************************************************ 43 | 44 | sub process { 45 | my $noext = $wpb->translate_directory($_[1]); 46 | $noext =~ s/\.[^\.]+$//o; 47 | return [ "\"\$(INTDIR)\\$noext.obj\"" ]; 48 | } 49 | 50 | 51 | 1; 52 | -------------------------------------------------------------------------------- /modules/Depgen/ObjectGenerator.pm: -------------------------------------------------------------------------------- 1 | package ObjectGenerator; 2 | 3 | # ************************************************************ 4 | # Description : Base class for all Object Generators. 5 | # Author : Chad Elliott 6 | # Create Date : 5/23/2003 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | # ************************************************************ 16 | # Subroutine Section 17 | # ************************************************************ 18 | 19 | sub new { 20 | return bless {}, $_[0]; 21 | } 22 | 23 | 24 | sub process { 25 | #my($self, $file) = @_; 26 | return []; 27 | } 28 | 29 | 30 | 1; 31 | -------------------------------------------------------------------------------- /modules/Depgen/ObjectGeneratorFactory.pm: -------------------------------------------------------------------------------- 1 | package ObjectGeneratorFactory; 2 | 3 | # ************************************************************ 4 | # Description : Create ObjectGenerator objects. 5 | # Author : Chad Elliott 6 | # Create Date : 5/23/2003 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ObjectGenerator; 16 | 17 | # ************************************************************ 18 | # Data Section 19 | # ************************************************************ 20 | 21 | my $generators = {}; 22 | 23 | # ************************************************************ 24 | # Subroutine Section 25 | # ************************************************************ 26 | 27 | sub register { 28 | $generators = shift; 29 | } 30 | 31 | 32 | sub create { 33 | return $$generators{$_[0]}->new() if (defined $$generators{$_[0]}); 34 | 35 | print STDERR "WARNING: Invalid object generator type: $_[0]\n"; 36 | return new ObjectGenerator(); 37 | } 38 | 39 | 40 | 1; 41 | -------------------------------------------------------------------------------- /modules/EM3ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package EM3ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : An eMbedded Visual C++ 3.00 Project Creator 5 | # Author : Chad Elliott 6 | # Create Date : 7/3/2002 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC6ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(VC6ProjectCreator); 19 | 20 | # ************************************************************ 21 | # Subroutine Section 22 | # ************************************************************ 23 | 24 | sub project_file_extension { 25 | #my $self = shift; 26 | return '.vcp'; 27 | } 28 | 29 | 30 | sub get_dll_exe_template_input_file { 31 | #my $self = shift; 32 | return 'em3vcpdllexe'; 33 | } 34 | 35 | 36 | sub get_lib_exe_template_input_file { 37 | #my $self = shift; 38 | return 'em3vcplibexe'; 39 | } 40 | 41 | 42 | sub get_lib_template_input_file { 43 | #my $self = shift; 44 | return 'em3vcplib'; 45 | } 46 | 47 | 48 | sub get_dll_template_input_file { 49 | #my $self = shift; 50 | return 'em3vcpdll'; 51 | } 52 | 53 | 54 | 1; 55 | -------------------------------------------------------------------------------- /modules/EM3WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package EM3WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : An eMbedded v3 Workspace Creator 5 | # Author : Chad Elliott 6 | # Create Date : 7/3/2002 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use EM3ProjectCreator; 16 | use VC6WorkspaceCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VC6WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | 26 | sub workspace_file_extension { 27 | #my $self = shift; 28 | return '.vcw'; 29 | } 30 | 31 | 32 | sub pre_workspace { 33 | my($self, $fh) = @_; 34 | my $crlf = $self->crlf(); 35 | 36 | ## This identifies it as a Visual C++ for WinCE file 37 | print $fh 'Microsoft eMbedded Visual Tools Workspace File, Format Version 3.00', $crlf; 38 | 39 | ## Optionally print the workspace comment 40 | $self->print_workspace_comment($fh, 41 | '#', $crlf, 42 | '# This file was generated by MPC. Any changes made directly to', $crlf, 43 | '# this file will be lost the next time it is generated.', $crlf, 44 | '#', $crlf, 45 | '# MPC Command:', $crlf, 46 | '# ', $self->create_command_line_string($0, @ARGV), $crlf, 47 | $crlf); 48 | } 49 | 50 | 51 | 1; 52 | -------------------------------------------------------------------------------- /modules/GHSPropertyBase.pm: -------------------------------------------------------------------------------- 1 | package GHSPropertyBase; 2 | 3 | # ************************************************************ 4 | # Description : A GHS property base module. 5 | # Author : Chad Elliott 6 | # Create Date : 3/9/2010 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | # ************************************************************ 16 | # Data Section 17 | # ************************************************************ 18 | 19 | our $ghsunix = 'MPC_GHS_UNIX'; 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub get_properties { 26 | my $self = shift; 27 | 28 | ## Get the base class properties and add the properties that we 29 | ## support. 30 | my $props = $self->Creator::get_properties(); 31 | 32 | ## This project creator can work for UNIX and Windows. Set the 33 | ## property based on the environment variable. 34 | $$props{'windows'} = 1 if (!defined $ENV{$ghsunix}); 35 | 36 | return $props; 37 | } 38 | 39 | 1; 40 | -------------------------------------------------------------------------------- /modules/GUID.pm: -------------------------------------------------------------------------------- 1 | package GUID; 2 | 3 | # ************************************************************ 4 | # Description : Generate GUID's for VC7 projects and workspaces 5 | # Author : Chad Elliott 6 | # Create Date : 5/14/2002 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | # ************************************************************ 16 | # Subroutine Section 17 | # ************************************************************ 18 | 19 | sub generate { 20 | my($out, $in, $cwd) = @_; 21 | my $chash = GUID::hash($cwd); 22 | my $nhash = GUID::hash($out); 23 | my $ihash = GUID::hash($in); 24 | my $val = 0xfeca1bad; 25 | 26 | return sprintf("%08X-%04X-%04X-%04X-%04X%08X", 27 | $nhash & 0xffffffff, ($val >> 16) & 0xffff, 28 | ($val & 0xffff), ($ihash >> 16) & 0xffff, 29 | $ihash & 0xffff, $chash & 0xffffffff); 30 | } 31 | 32 | 33 | sub hash { 34 | my $str = shift; 35 | my $value = 0; 36 | 37 | if (defined $str) { 38 | my $length = length($str); 39 | for(my $i = 0; $i < $length; $i++) { 40 | $value = (($value << 4) & 0xffffffff) ^ ($value >> 28) 41 | ^ ord(substr($str, $i, 1)); 42 | } 43 | } 44 | 45 | return $value; 46 | } 47 | 48 | 1; 49 | -------------------------------------------------------------------------------- /modules/IARProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package IARProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : The IAR Embedded Workbench IDE Project Creator 5 | # Author : Chad Elliott 6 | # Create Date : 4/8/2019 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ProjectCreator; 16 | use XMLProjectBase; 17 | use WinProjectBase; 18 | 19 | use vars qw(@ISA); 20 | @ISA = qw(XMLProjectBase WinProjectBase ProjectCreator); 21 | 22 | # ************************************************************ 23 | # Data Section 24 | # ************************************************************ 25 | 26 | my $tmpl = 'iar'; 27 | 28 | # ************************************************************ 29 | # Subroutine Section 30 | # ************************************************************ 31 | 32 | sub compare_output { 33 | #my $self = shift; 34 | return 1; 35 | } 36 | 37 | sub dependency_is_filename { 38 | #my $self = shift; 39 | return 0; 40 | } 41 | 42 | sub project_file_extension { 43 | return '.ewp'; 44 | } 45 | 46 | 47 | sub get_lib_exe_template_input_file { 48 | return $tmpl; 49 | } 50 | 51 | 52 | sub get_lib_template_input_file { 53 | return $tmpl; 54 | } 55 | 56 | 57 | sub get_dll_exe_template_input_file { 58 | return $tmpl; 59 | } 60 | 61 | 62 | sub get_dll_template_input_file { 63 | return $tmpl; 64 | } 65 | 66 | 67 | sub get_template { 68 | return $tmpl . '.mpd'; 69 | } 70 | 71 | 72 | sub get_cmdsep_symbol { 73 | #my $self = shift; 74 | return '&'; 75 | } 76 | 77 | 78 | sub aggressive_relative_replacement { 79 | #my $self = shift; 80 | return 1; 81 | } 82 | 83 | 84 | 1; 85 | -------------------------------------------------------------------------------- /modules/MPC.pm: -------------------------------------------------------------------------------- 1 | package MPC; 2 | 3 | # ****************************************************************** 4 | # Description : Instantiate a Driver and run it. This is here to 5 | # maintain backward compatibility. 6 | # Author : Chad Elliott 7 | # Create Date : 1/30/2004 8 | # ****************************************************************** 9 | 10 | # ****************************************************************** 11 | # Pragma Section 12 | # ****************************************************************** 13 | 14 | use strict; 15 | use Driver; 16 | 17 | # ************************************************************ 18 | # Subroutine Section 19 | # ************************************************************ 20 | 21 | sub new { 22 | my $class = shift; 23 | my $self = bless {'creators' => [], 24 | }, $class; 25 | return $self; 26 | } 27 | 28 | 29 | sub getCreatorList { 30 | return $_[0]->{'creators'}; 31 | } 32 | 33 | 34 | sub execute { 35 | my($self, $base, $name, $args) = @_; 36 | my $driver = new Driver($base, $name, @{$self->{'creators'}}); 37 | return $driver->run(@$args); 38 | } 39 | 40 | 41 | 1; 42 | -------------------------------------------------------------------------------- /modules/MWC.pm: -------------------------------------------------------------------------------- 1 | package MWC; 2 | 3 | # ****************************************************************** 4 | # Description : Instantiate a Driver and run it. This is here to 5 | # maintain backward compatibility. 6 | # Author : Chad Elliott 7 | # Create Date : 1/30/2004 8 | # ****************************************************************** 9 | 10 | # ****************************************************************** 11 | # Pragma Section 12 | # ****************************************************************** 13 | 14 | use strict; 15 | use Driver; 16 | 17 | # ************************************************************ 18 | # Subroutine Section 19 | # ************************************************************ 20 | 21 | sub new { 22 | my $class = shift; 23 | my $self = bless {'creators' => [], 24 | }, $class; 25 | return $self; 26 | } 27 | 28 | 29 | sub getCreatorList { 30 | return $_[0]->{'creators'}; 31 | } 32 | 33 | 34 | sub execute { 35 | my($self, $base, $name, $args) = @_; 36 | my $driver = new Driver($base, $name, @{$self->{'creators'}}); 37 | return $driver->run(@$args); 38 | } 39 | 40 | 41 | 1; 42 | -------------------------------------------------------------------------------- /modules/MakeProjectBase.pm: -------------------------------------------------------------------------------- 1 | package MakeProjectBase; 2 | 3 | # ************************************************************ 4 | # Description : A Make Project base module 5 | # Author : Chad Elliott 6 | # Create Date : 1/4/2005 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use MakePropertyBase; 15 | 16 | use vars qw(@ISA); 17 | @ISA = qw(MakePropertyBase); 18 | 19 | # ************************************************************ 20 | # Subroutine Section 21 | # ************************************************************ 22 | 23 | sub get_builtin_output { 24 | #my($self, $input) = @_; 25 | return ['$@']; 26 | } 27 | 28 | sub dollar_special { 29 | #my $self = shift; 30 | return 1; 31 | } 32 | 33 | 34 | sub sort_files { 35 | #my $self = shift; 36 | return (defined $ENV{MPC_ALWAYS_SORT}); 37 | } 38 | 39 | 40 | sub project_file_prefix { 41 | #my $self = shift; 42 | return 'Makefile.'; 43 | } 44 | 45 | 46 | 1; 47 | -------------------------------------------------------------------------------- /modules/MakePropertyBase.pm: -------------------------------------------------------------------------------- 1 | package MakePropertyBase; 2 | 3 | # ************************************************************ 4 | # Description : A Make property base module 5 | # Author : Chad Elliott 6 | # Create Date : 3/9/2010 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | # ************************************************************ 16 | # Subroutine Section 17 | # ************************************************************ 18 | 19 | sub get_properties { 20 | my $self = shift; 21 | 22 | ## Get the base class properties and add the properties that we 23 | ## support. 24 | my $props = $self->Creator::get_properties(); 25 | 26 | ## All projects that use this base class are 'make' based. 27 | $$props{'make'} = 1; 28 | 29 | return $props; 30 | } 31 | 32 | 33 | 1; 34 | -------------------------------------------------------------------------------- /modules/NMakeProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package NMakeProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : An NMake Project Creator 5 | # Author : Chad Elliott 6 | # Create Date : 5/31/2002 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ProjectCreator; 16 | use WinProjectBase; 17 | use MakeProjectBase; 18 | use VCPropertyBase; 19 | 20 | use vars qw(@ISA); 21 | @ISA = qw(MakeProjectBase WinProjectBase ProjectCreator VCPropertyBase); 22 | 23 | # ************************************************************ 24 | # Subroutine Section 25 | # ************************************************************ 26 | 27 | sub project_file_extension { 28 | #my $self = shift; 29 | return '.mak'; 30 | } 31 | 32 | 33 | sub get_dll_exe_template_input_file { 34 | #my $self = shift; 35 | return 'nmakeexe'; 36 | } 37 | 38 | 39 | sub get_dll_template_input_file { 40 | #my $self = shift; 41 | return 'nmakedll'; 42 | } 43 | 44 | 45 | sub get_properties { 46 | my $self = shift; 47 | 48 | ## Create the map of properties that we support. 49 | my $props = {}; 50 | 51 | ## Merge in properties from all base projects 52 | foreach my $base (@ISA) { 53 | my $func = $base . '::get_properties'; 54 | my $p = $self->$func(); 55 | foreach my $key (keys %$p) { 56 | $$props{$key} = $$p{$key}; 57 | } 58 | } 59 | 60 | return $props; 61 | } 62 | 63 | 64 | 1; 65 | -------------------------------------------------------------------------------- /modules/SLEProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package SLEProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : The SLE Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 3/23/2003 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ProjectCreator; 16 | use XMLProjectBase; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(XMLProjectBase ProjectCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub project_file_extension { 26 | #my $self = shift; 27 | return '.vpj'; 28 | } 29 | 30 | 31 | sub get_dll_exe_template_input_file { 32 | #my $self = shift; 33 | return 'sleexe'; 34 | } 35 | 36 | 37 | sub get_dll_template_input_file { 38 | #my $self = shift; 39 | return 'sledll'; 40 | } 41 | 42 | 43 | 1; 44 | -------------------------------------------------------------------------------- /modules/SLEWorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package SLEWorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : The SLE Workspace Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 3/23/2004 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use SLEProjectCreator; 16 | use WorkspaceCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | 26 | sub compare_output { 27 | #my $self = shift; 28 | return 1; 29 | } 30 | 31 | 32 | sub workspace_file_extension { 33 | #my $self = shift; 34 | return '.vpw'; 35 | } 36 | 37 | 38 | sub pre_workspace { 39 | my($self, $fh) = @_; 40 | my $crlf = $self->crlf(); 41 | 42 | print $fh "$crlf" . 43 | "$crlf"; 44 | } 45 | 46 | 47 | sub write_comps { 48 | my($self, $fh) = @_; 49 | my $crlf = $self->crlf(); 50 | 51 | print $fh "\t$crlf"; 52 | foreach my $project ($self->sort_dependencies($self->get_projects(), 0)) { 53 | print $fh "\t\t$crlf"; 54 | } 55 | print $fh "\t$crlf"; 56 | } 57 | 58 | 59 | sub post_workspace { 60 | my($self, $fh) = @_; 61 | print $fh '' . $self->crlf(); 62 | } 63 | 64 | 65 | 1; 66 | -------------------------------------------------------------------------------- /modules/UVISProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package UVISProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : The Keil uVision Project Creator 5 | # Author : Chad Elliott 6 | # Create Date : 11/1/2016 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ProjectCreator; 16 | use XMLProjectBase; 17 | use WinProjectBase; 18 | 19 | use vars qw(@ISA); 20 | @ISA = qw(XMLProjectBase WinProjectBase ProjectCreator); 21 | 22 | # ************************************************************ 23 | # Data Section 24 | # ************************************************************ 25 | 26 | my $tmpl = 'uvis'; 27 | 28 | # ************************************************************ 29 | # Subroutine Section 30 | # ************************************************************ 31 | 32 | sub compare_output { 33 | #my $self = shift; 34 | return 1; 35 | } 36 | 37 | sub dependency_is_filename { 38 | #my $self = shift; 39 | return 0; 40 | } 41 | 42 | sub project_file_extension { 43 | return '.uvprojx'; 44 | } 45 | 46 | 47 | sub get_lib_exe_template_input_file { 48 | return $tmpl; 49 | } 50 | 51 | 52 | sub get_lib_template_input_file { 53 | return $tmpl; 54 | } 55 | 56 | 57 | sub get_dll_exe_template_input_file { 58 | return $tmpl; 59 | } 60 | 61 | 62 | sub get_dll_template_input_file { 63 | return $tmpl; 64 | } 65 | 66 | 67 | sub get_template { 68 | return 'uvis.mpd'; 69 | } 70 | 71 | 72 | sub get_cmdsep_symbol { 73 | #my $self = shift; 74 | return '&'; 75 | } 76 | 77 | 78 | 1; 79 | -------------------------------------------------------------------------------- /modules/VC11ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VC11ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A VC11 Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 12/12/2011 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC10ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(VC10ProjectCreator); 19 | 20 | ## NOTE: We call the constant as a function to support Perl 5.6. 21 | my %info = (Creator::cplusplus() => {'ext' => '.vcxproj', 22 | 'dllexe' => 'vc11exe', 23 | 'libexe' => 'vc11libexe', 24 | 'dll' => 'vc11dll', 25 | 'lib' => 'vc11lib', 26 | 'template' => [ 'vc10', 'vc10filters' ], 27 | }, 28 | ); 29 | 30 | # ************************************************************ 31 | # Subroutine Section 32 | # ************************************************************ 33 | 34 | sub get_info_hash { 35 | my($self, $key) = @_; 36 | 37 | ## If we have the setting in our information map, the use it. 38 | return $info{$key} if (defined $info{$key}); 39 | 40 | ## Otherwise, see if our parent type can take care of it. 41 | return $self->SUPER::get_info_hash($key); 42 | } 43 | 44 | 1; 45 | -------------------------------------------------------------------------------- /modules/VC11WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package VC11WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : A VC11 Workspace Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 12/12/2011 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC11ProjectCreator; 16 | use VC10WorkspaceCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VC10WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub pre_workspace { 26 | my($self, $fh) = @_; 27 | my $crlf = $self->crlf(); 28 | 29 | print $fh '', $crlf, 30 | 'Microsoft Visual Studio Solution File, Format Version 11.00', $crlf; 31 | $self->print_workspace_comment($fh, 32 | '# Visual Studio 2012', $crlf, 33 | '#', $crlf, 34 | '# This file was generated by MPC. Any changes made directly to', $crlf, 35 | '# this file will be lost the next time it is generated.', $crlf, 36 | '#', $crlf, 37 | '# MPC Command:', $crlf, 38 | '# ', $self->create_command_line_string($0, @ARGV), $crlf); 39 | } 40 | 41 | 42 | 1; 43 | -------------------------------------------------------------------------------- /modules/VC12ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VC12ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A VC12 Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 10/29/2013 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC11ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(VC11ProjectCreator); 19 | 20 | ## NOTE: We call the constant as a function to support Perl 5.6. 21 | my %info = (Creator::cplusplus() => {'ext' => '.vcxproj', 22 | 'dllexe' => 'vc12exe', 23 | 'libexe' => 'vc12libexe', 24 | 'dll' => 'vc12dll', 25 | 'lib' => 'vc12lib', 26 | 'template' => [ 'vc10', 'vc10filters' ], 27 | }, 28 | ); 29 | 30 | my %config = ('vcversion' => '12.00', 31 | ); 32 | 33 | # ************************************************************ 34 | # Subroutine Section 35 | # ************************************************************ 36 | 37 | sub get_info_hash { 38 | my($self, $key) = @_; 39 | 40 | ## If we have the setting in our information map, then use it. 41 | return $info{$key} if (defined $info{$key}); 42 | 43 | ## Otherwise, see if our parent type can take care of it. 44 | return $self->SUPER::get_info_hash($key); 45 | } 46 | 47 | sub get_configurable { 48 | my($self, $name) = @_; 49 | 50 | ## If we have the setting in our config map, then use it. 51 | return $config{$name} if (defined $config{$name}); 52 | 53 | ## Otherwise, see if our parent type can take care of it. 54 | return $self->SUPER::get_configurable($name); 55 | } 56 | 57 | 1; 58 | -------------------------------------------------------------------------------- /modules/VC12WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package VC12WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : A VC12 Workspace Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 10/20/2012 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC12ProjectCreator; 16 | use VC11WorkspaceCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VC11WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub pre_workspace { 26 | my($self, $fh) = @_; 27 | my $crlf = $self->crlf(); 28 | 29 | print $fh '', $crlf, 30 | 'Microsoft Visual Studio Solution File, Format Version 12.00', $crlf; 31 | $self->print_workspace_comment($fh, 32 | '# Visual Studio 2013', $crlf, 33 | '#', $crlf, 34 | '# This file was generated by MPC. Any changes made directly to', $crlf, 35 | '# this file will be lost the next time it is generated.', $crlf, 36 | '#', $crlf, 37 | '# MPC Command:', $crlf, 38 | '# ', $self->create_command_line_string($0, @ARGV), $crlf); 39 | } 40 | 41 | 42 | 1; 43 | -------------------------------------------------------------------------------- /modules/VC14ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VC14ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A vc14 (Visual Studio 2015) Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 6/04/2014 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC12ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(VC12ProjectCreator); 19 | 20 | ## NOTE: We call the constant as a function to support Perl 5.6. 21 | my %info = (Creator::cplusplus() => {'ext' => '.vcxproj', 22 | 'dllexe' => 'vc14exe', 23 | 'libexe' => 'vc14libexe', 24 | 'dll' => 'vc14dll', 25 | 'lib' => 'vc14lib', 26 | 'template' => [ 'vc10', 'vc10filters' ], 27 | }, 28 | ); 29 | 30 | my %config = ('vcversion' => '14.00', 31 | 'toolsversion' => '14.0', 32 | ); 33 | 34 | # ************************************************************ 35 | # Subroutine Section 36 | # ************************************************************ 37 | 38 | sub get_info_hash { 39 | my($self, $key) = @_; 40 | 41 | ## If we have the setting in our information map, then use it. 42 | return $info{$key} if (defined $info{$key}); 43 | 44 | ## Otherwise, see if our parent type can take care of it. 45 | return $self->SUPER::get_info_hash($key); 46 | } 47 | 48 | sub get_configurable { 49 | my($self, $name) = @_; 50 | 51 | ## If we have the setting in our config map, then use it. 52 | return $config{$name} if (defined $config{$name}); 53 | 54 | ## Otherwise, see if our parent type can take care of it. 55 | return $self->SUPER::get_configurable($name); 56 | } 57 | 58 | 1; 59 | -------------------------------------------------------------------------------- /modules/VC14WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package VC14WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : A vc14 (Visual Studio 2015) Workspace Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 06/04/2014 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC14ProjectCreator; 16 | use VC12WorkspaceCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VC12WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub pre_workspace { 26 | my($self, $fh) = @_; 27 | my $crlf = $self->crlf(); 28 | 29 | print $fh '', $crlf, 30 | 'Microsoft Visual Studio Solution File, Format Version 12.00', $crlf; 31 | $self->print_workspace_comment($fh, 32 | '# Visual Studio 14', $crlf, 33 | '#', $crlf, 34 | '# This file was generated by MPC. Any changes made directly to', $crlf, 35 | '# this file will be lost the next time it is generated.', $crlf, 36 | '#', $crlf, 37 | '# MPC Command:', $crlf, 38 | '# ', $self->create_command_line_string($0, @ARGV), $crlf); 39 | } 40 | 41 | 42 | 1; 43 | -------------------------------------------------------------------------------- /modules/VC6ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VC6ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A VC6 Project Creator 5 | # Author : Chad Elliott 6 | # Create Date : 3/14/2002 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use ProjectCreator; 16 | use VCProjectBase; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VCProjectBase ProjectCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub project_file_extension { 26 | #my $self = shift; 27 | return '.dsp'; 28 | } 29 | 30 | 31 | sub override_valid_component_extensions { 32 | my($self, $comp) = @_; 33 | 34 | ## Visual C++ 6.0 doesn't understand all of the extensions that MPC 35 | ## supports. 36 | if ($comp eq 'source_files' && $self->languageIs(Creator::cplusplus)) { 37 | return ["\\.cpp", "\\.cxx", "\\.c"]; 38 | } 39 | 40 | return undef; 41 | } 42 | 43 | 44 | sub override_exclude_component_extensions { 45 | my($self, $comp) = @_; 46 | 47 | ## Visual C++ 6.0 doesn't understand all of the extensions that MPC 48 | ## supports. 49 | if ($comp eq 'source_files' && $self->languageIs(Creator::cplusplus)) { 50 | return ["_T\\.cpp", "_T\\.cxx"]; 51 | } 52 | 53 | return undef; 54 | } 55 | 56 | 57 | sub get_dll_exe_template_input_file { 58 | #my $self = shift; 59 | return 'vc6dspdllexe'; 60 | } 61 | 62 | 63 | sub get_lib_exe_template_input_file { 64 | #my $self = shift; 65 | return 'vc6dsplibexe'; 66 | } 67 | 68 | 69 | sub get_lib_template_input_file { 70 | #my $self = shift; 71 | return 'vc6dsplib'; 72 | } 73 | 74 | 75 | sub get_dll_template_input_file { 76 | #my $self = shift; 77 | return 'vc6dspdll'; 78 | } 79 | 80 | 81 | 1; 82 | -------------------------------------------------------------------------------- /modules/VC71ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VC71ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A VC7.1 Project Creator 5 | # Author : Chad Elliott 6 | # Create Date : 4/17/2003 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC7ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(VC7ProjectCreator); 19 | 20 | # ************************************************************ 21 | # Data Section 22 | # ************************************************************ 23 | 24 | my %config = ('vcversion' => '7.10', 25 | 'forloopscope' => 'TRUE', 26 | ); 27 | 28 | # ************************************************************ 29 | # Subroutine Section 30 | # ************************************************************ 31 | 32 | sub get_configurable { 33 | my($self, $name) = @_; 34 | return $config{$name}; 35 | } 36 | 37 | 1; 38 | -------------------------------------------------------------------------------- /modules/VC9ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VC9ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A VC9 Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 11/22/2007 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC8ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(VC8ProjectCreator); 19 | 20 | my %config = ('vcversion' => '9.00', 21 | 'prversion' => '9.0.30729', 22 | 'toolsversion' => '3.5', 23 | 'targetframeworkversion' => '3.5', 24 | 'xmlheader' => 1, 25 | ); 26 | 27 | # ************************************************************ 28 | # Subroutine Section 29 | # ************************************************************ 30 | 31 | sub get_configurable { 32 | my($self, $name) = @_; 33 | return $config{$name}; 34 | } 35 | 36 | 1; 37 | -------------------------------------------------------------------------------- /modules/VC9WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package VC9WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : A VC9 Workspace Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 11/22/2007 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC9ProjectCreator; 16 | use VC8WorkspaceCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VC8WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub pre_workspace { 26 | my($self, $fh) = @_; 27 | my $crlf = $self->crlf(); 28 | 29 | print $fh '', $crlf, 30 | 'Microsoft Visual Studio Solution File, Format Version 10.00', $crlf; 31 | $self->print_workspace_comment($fh, 32 | '# Visual Studio 2008', $crlf, 33 | '#', $crlf, 34 | '# This file was generated by MPC. Any changes made directly to', $crlf, 35 | '# this file will be lost the next time it is generated.', $crlf, 36 | '#', $crlf, 37 | '# MPC Command:', $crlf, 38 | '# ', $self->create_command_line_string($0, @ARGV), $crlf); 39 | } 40 | 41 | sub website_trailing_slash { 42 | return 0; 43 | } 44 | 45 | sub website_extra_props { 46 | my($self, $fh) = @_; 47 | print $fh "\t\t" . 'TargetFramework = "3.5"' . $self->crlf(); 48 | } 49 | 50 | 1; 51 | -------------------------------------------------------------------------------- /modules/VCProjectBase.pm: -------------------------------------------------------------------------------- 1 | package VCProjectBase; 2 | 3 | # ************************************************************ 4 | # Description : A VC Project base module 5 | # Author : Chad Elliott 6 | # Create Date : 1/4/2005 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VCPropertyBase; 16 | use WinProjectBase; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VCPropertyBase WinProjectBase); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub compare_output { 26 | #my $self = shift; 27 | return 1; 28 | } 29 | 30 | 31 | sub require_dependencies { 32 | my $self = shift; 33 | 34 | ## Only write dependencies for non-static projects 35 | ## and static exe projects, unless the user wants the 36 | ## dependency combined static library. 37 | return ($self->get_static() == 0 || $self->exe_target() || 38 | $self->dependency_combined_static_library()); 39 | } 40 | 41 | 42 | sub dependency_is_filename { 43 | #my $self = shift; 44 | return 0; 45 | } 46 | 47 | 48 | 1; 49 | -------------------------------------------------------------------------------- /modules/VCPropertyBase.pm: -------------------------------------------------------------------------------- 1 | package VCPropertyBase; 2 | 3 | # ************************************************************ 4 | # Description : A VC property base module 5 | # Author : Chad Elliott 6 | # Create Date : 3/9/2010 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use WinPropertyBase; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(WinPropertyBase); 19 | 20 | # ************************************************************ 21 | # Subroutine Section 22 | # ************************************************************ 23 | 24 | sub get_properties { 25 | my $self = shift; 26 | 27 | ## Get the base class properties and add the properties that we 28 | ## support. 29 | my $props = $self->WinPropertyBase::get_properties(); 30 | 31 | ## All projects that use this base class are for Microsoft compilers. 32 | $$props{'microsoft'} = 1; 33 | 34 | return $props; 35 | } 36 | 37 | 38 | 1; 39 | -------------------------------------------------------------------------------- /modules/VS2017ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VS2017ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A vs2017 (Visual Studio 2017) Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 1/04/2016 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC12ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(VC12ProjectCreator); 19 | 20 | ## NOTE: We call the constant as a function to support Perl 5.6. 21 | my %info = (Creator::cplusplus() => {'ext' => '.vcxproj', 22 | 'dllexe' => 'vs2017exe', 23 | 'libexe' => 'vs2017libexe', 24 | 'dll' => 'vs2017dll', 25 | 'lib' => 'vs2017lib', 26 | 'template' => [ 'vc10', 'vc10filters' ], 27 | }, 28 | ); 29 | 30 | my %config = ('vcversion' => '15.00', 31 | 'toolsversion' => '15.0', 32 | ); 33 | 34 | # ************************************************************ 35 | # Subroutine Section 36 | # ************************************************************ 37 | 38 | sub get_info_hash { 39 | my($self, $key) = @_; 40 | 41 | ## If we have the setting in our information map, then use it. 42 | return $info{$key} if (defined $info{$key}); 43 | 44 | ## Otherwise, see if our parent type can take care of it. 45 | return $self->SUPER::get_info_hash($key); 46 | } 47 | 48 | sub get_configurable { 49 | my($self, $name) = @_; 50 | 51 | ## If we have the setting in our config map, then use it. 52 | return $config{$name} if (defined $config{$name}); 53 | 54 | ## Otherwise, see if our parent type can take care of it. 55 | return $self->SUPER::get_configurable($name); 56 | } 57 | 58 | 1; 59 | -------------------------------------------------------------------------------- /modules/VS2017WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package VS2017WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : A vs2017 (Visual Studio 2017) Workspace Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 01/05/2016 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VS2017ProjectCreator; 16 | use VC12WorkspaceCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VC12WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub pre_workspace { 26 | my($self, $fh) = @_; 27 | my $crlf = $self->crlf(); 28 | 29 | print $fh '', $crlf, 30 | 'Microsoft Visual Studio Solution File, Format Version 12.00', $crlf; 31 | $self->print_workspace_comment($fh, 32 | '# Visual Studio 15', $crlf, 33 | '#', $crlf, 34 | '# This file was generated by MPC. Any changes made directly to', $crlf, 35 | '# this file will be lost the next time it is generated.', $crlf, 36 | '#', $crlf, 37 | '# MPC Command:', $crlf, 38 | '# ', $self->create_command_line_string($0, @ARGV), $crlf); 39 | } 40 | 41 | 42 | 1; 43 | -------------------------------------------------------------------------------- /modules/VS2019ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VS2019ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : A vs2019 (Visual Studio 2019) Project Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 28/03/2010 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VC12ProjectCreator; 16 | 17 | use vars qw(@ISA); 18 | @ISA = qw(VC12ProjectCreator); 19 | 20 | ## NOTE: We call the constant as a function to support Perl 5.6. 21 | my %info = (Creator::cplusplus() => {'ext' => '.vcxproj', 22 | 'dllexe' => 'vs2019exe', 23 | 'libexe' => 'vs2019libexe', 24 | 'dll' => 'vs2019dll', 25 | 'lib' => 'vs2019lib', 26 | 'template' => [ 'vc10', 'vc10filters' ], 27 | }, 28 | ); 29 | 30 | my %config = ('vcversion' => '16.00', 31 | 'toolsversion' => '16.0', 32 | ); 33 | 34 | # ************************************************************ 35 | # Subroutine Section 36 | # ************************************************************ 37 | 38 | sub get_info_hash { 39 | my($self, $key) = @_; 40 | 41 | ## If we have the setting in our information map, then use it. 42 | return $info{$key} if (defined $info{$key}); 43 | 44 | ## Otherwise, see if our parent type can take care of it. 45 | return $self->SUPER::get_info_hash($key); 46 | } 47 | 48 | sub get_configurable { 49 | my($self, $name) = @_; 50 | 51 | ## If we have the setting in our config map, then use it. 52 | return $config{$name} if (defined $config{$name}); 53 | 54 | ## Otherwise, see if our parent type can take care of it. 55 | return $self->SUPER::get_configurable($name); 56 | } 57 | 58 | 1; 59 | -------------------------------------------------------------------------------- /modules/VS2019WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package VS2019WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : A vs2019 (Visual Studio 2019) Workspace Creator 5 | # Author : Johnny Willemsen 6 | # Create Date : 28/03/2019 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use VS2019ProjectCreator; 16 | use VC12WorkspaceCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(VC12WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub pre_workspace { 26 | my($self, $fh) = @_; 27 | my $crlf = $self->crlf(); 28 | 29 | print $fh '', $crlf, 30 | 'Microsoft Visual Studio Solution File, Format Version 12.00', $crlf; 31 | $self->print_workspace_comment($fh, 32 | '# Visual Studio Version 16', $crlf, 33 | '#', $crlf, 34 | '# This file was generated by MPC. Any changes made directly to', $crlf, 35 | '# this file will be lost the next time it is generated.', $crlf, 36 | '#', $crlf, 37 | '# MPC Command:', $crlf, 38 | '# ', $self->create_command_line_string($0, @ARGV), $crlf); 39 | } 40 | 41 | 1; 42 | -------------------------------------------------------------------------------- /modules/VS2022ProjectCreator.pm: -------------------------------------------------------------------------------- 1 | package VS2022ProjectCreator; 2 | 3 | # ************************************************************ 4 | # Description : vs2022 (Visual Studio 2022) Project Creator 5 | # ************************************************************ 6 | 7 | # ************************************************************ 8 | # Pragmas 9 | # ************************************************************ 10 | 11 | use strict; 12 | 13 | use VC12ProjectCreator; 14 | 15 | use vars qw(@ISA); 16 | @ISA = qw(VC12ProjectCreator); 17 | 18 | ## NOTE: We call the constant as a function to support Perl 5.6. 19 | my %info = (Creator::cplusplus() => {'ext' => '.vcxproj', 20 | 'dllexe' => 'vs2022exe', 21 | 'libexe' => 'vs2022libexe', 22 | 'dll' => 'vs2022dll', 23 | 'lib' => 'vs2022lib', 24 | 'template' => [ 'vc10', 'vc10filters' ], 25 | }, 26 | ); 27 | 28 | my %config = ('vcversion' => '16.00', 29 | 'toolsversion' => '16.0', 30 | ); 31 | 32 | # ************************************************************ 33 | # Subroutine Section 34 | # ************************************************************ 35 | 36 | sub get_info_hash { 37 | my($self, $key) = @_; 38 | 39 | ## If we have the setting in our information map, then use it. 40 | return $info{$key} if (defined $info{$key}); 41 | 42 | ## Otherwise, see if our parent type can take care of it. 43 | return $self->SUPER::get_info_hash($key); 44 | } 45 | 46 | sub get_configurable { 47 | my($self, $name) = @_; 48 | 49 | ## If we have the setting in our config map, then use it. 50 | return $config{$name} if (defined $config{$name}); 51 | 52 | ## Otherwise, see if our parent type can take care of it. 53 | return $self->SUPER::get_configurable($name); 54 | } 55 | 56 | 1; 57 | -------------------------------------------------------------------------------- /modules/VS2022WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package VS2022WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : vs2022 (Visual Studio 2022) Workspace Creator 5 | # ************************************************************ 6 | 7 | # ************************************************************ 8 | # Pragmas 9 | # ************************************************************ 10 | 11 | use strict; 12 | 13 | use VS2022ProjectCreator; 14 | use VC12WorkspaceCreator; 15 | 16 | use vars qw(@ISA); 17 | @ISA = qw(VC12WorkspaceCreator); 18 | 19 | # ************************************************************ 20 | # Subroutine Section 21 | # ************************************************************ 22 | 23 | sub pre_workspace { 24 | my($self, $fh) = @_; 25 | my $crlf = $self->crlf(); 26 | 27 | print $fh '', $crlf, 28 | 'Microsoft Visual Studio Solution File, Format Version 12.00', $crlf; 29 | $self->print_workspace_comment($fh, 30 | '# Visual Studio Version 17', $crlf, 31 | '#', $crlf, 32 | '# This file was generated by MPC. Any changes made directly to', $crlf, 33 | '# this file will be lost the next time it is generated.', $crlf, 34 | '#', $crlf, 35 | '# MPC Command:', $crlf, 36 | '# ', $self->create_command_line_string($0, @ARGV), $crlf); 37 | } 38 | 39 | 1; 40 | -------------------------------------------------------------------------------- /modules/WB30WorkspaceCreator.pm: -------------------------------------------------------------------------------- 1 | package WB30WorkspaceCreator; 2 | 3 | # ************************************************************ 4 | # Description : Wind River Workbench 3.0 generator 5 | # Author : Adam Mitz (Object Computing, Inc.) 6 | # Create Date : 07/21/2010 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | use WB26WorkspaceCreator; 16 | use WB30ProjectCreator; 17 | 18 | use vars qw(@ISA); 19 | @ISA = qw(WB26WorkspaceCreator); 20 | 21 | # ************************************************************ 22 | # Subroutine Section 23 | # ************************************************************ 24 | 25 | sub get_project_prefix { 26 | return 'wb_'; 27 | } 28 | 29 | sub get_additional_output { 30 | ## Create the accompanying list file. It always goes in the same 31 | ## directory as the first workspace output file. See 32 | ## WorkspaceCreator.pm for a description of the array elements. 33 | return [[undef, 'wb30projects.lst', \&WB26WorkspaceCreator::list_file_body]]; 34 | } 35 | 36 | 37 | 1; 38 | -------------------------------------------------------------------------------- /modules/WinPropertyBase.pm: -------------------------------------------------------------------------------- 1 | package WinPropertyBase; 2 | 3 | # ************************************************************ 4 | # Description : A Windows base module for properties 5 | # Author : Chad Elliott 6 | # Create Date : 3/9/2010 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | # ************************************************************ 16 | # Subroutine Section 17 | # ************************************************************ 18 | 19 | sub get_properties { 20 | my $self = shift; 21 | 22 | ## Get the base class properties and add the properties that we 23 | ## support. 24 | my $props = $self->Creator::get_properties(); 25 | 26 | ## All projects that use this base class are for Windows. 27 | $$props{'windows'} = 1; 28 | 29 | return $props; 30 | } 31 | 32 | 33 | 1; 34 | -------------------------------------------------------------------------------- /modules/WinWorkspaceBase.pm: -------------------------------------------------------------------------------- 1 | package WinWorkspaceBase; 2 | 3 | # ************************************************************ 4 | # Description : A Windows base module for Workspace Creators 5 | # Author : Chad Elliott 6 | # Create Date : 2/26/2007 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | use WinPropertyBase; 15 | 16 | use vars qw(@ISA); 17 | @ISA = qw(WinPropertyBase); 18 | 19 | # ************************************************************ 20 | # Subroutine Section 21 | # ************************************************************ 22 | 23 | sub crlf { 24 | return $_[0]->windows_crlf(); 25 | } 26 | 27 | 28 | sub convert_slashes { 29 | #my $self = shift; 30 | return 1; 31 | } 32 | 33 | sub case_insensitive { 34 | #my $self = shift; 35 | return 1; 36 | } 37 | 38 | 39 | 1; 40 | -------------------------------------------------------------------------------- /modules/XMLProjectBase.pm: -------------------------------------------------------------------------------- 1 | package XMLProjectBase; 2 | 3 | # ************************************************************ 4 | # Description : An XML base module for Project Creators 5 | # Author : Chad Elliott 6 | # Create Date : 1/30/2006 7 | # ************************************************************ 8 | 9 | # ************************************************************ 10 | # Pragmas 11 | # ************************************************************ 12 | 13 | use strict; 14 | 15 | # ************************************************************ 16 | # Subroutine Section 17 | # ************************************************************ 18 | 19 | sub get_quote_symbol { 20 | #my $self = shift; 21 | return '"'; 22 | } 23 | 24 | 25 | sub get_escaped_quote_symbol { 26 | #my $self = shift; 27 | return '\\"'; 28 | } 29 | 30 | 31 | sub get_gt_symbol { 32 | #my $self = shift; 33 | return '>'; 34 | } 35 | 36 | 37 | sub get_lt_symbol { 38 | #my $self = shift; 39 | return '<'; 40 | } 41 | 42 | 43 | sub get_and_symbol { 44 | #my $self = shift; 45 | return '&&'; 46 | } 47 | 48 | 49 | 1; 50 | -------------------------------------------------------------------------------- /rpm/MPC.templ: -------------------------------------------------------------------------------- 1 | Summary: MPC - The Makefile, Project and Workspace Creator. 2 | Name: MPC 3 | Version: VERSION 4 | Release: 0 5 | License: Open Software License 6 | Group: Software Development 7 | BuildRoot: /tmp/mpc 8 | Source: %{name}-%{version}.tar.bz2 9 | URL: https://objectcomputing.com/products/open-source-products/mpc 10 | Vendor: Object Computing, Inc. 11 | Packager: PACKAGER 12 | buildarch: noarch 13 | %description 14 | MPC (Make, Project and workspace Creator) is an open source tool, developed 15 | by OCI and written in Perl. It is designed to generate a variety of tool 16 | specific project files from a common baseline. 17 | %defattr(-,root,root) 18 | %pre 19 | %prep 20 | %setup 21 | %build 22 | %install 23 | tar cf - * | (cd $RPM_BUILD_ROOT && tar xf -) 24 | %post 25 | ln -sf FINALDIR/mwc.pl /usr/bin 26 | ln -sf FINALDIR/mpc.pl /usr/bin 27 | %postun 28 | rm -f /usr/bin/mwc.pl /usr/bin/mpc.pl 29 | %files 30 | FINALDIR 31 | -------------------------------------------------------------------------------- /templates/automakedll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | 4 | lib_prefix = lib 5 | lib_ext = .la 6 | dll_ext = .la 7 | exe_ext = 8 | 9 | linkflags = 10 | includedir = 11 | 12 | conditional_include "user_automakedll" 13 | -------------------------------------------------------------------------------- /templates/automakeexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "automakedll" 3 | conditional_include "user_automakeexe" 4 | -------------------------------------------------------------------------------- /templates/bcb2007dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | common_defines = WIN32 6 | 7 | conditional_include "user_bdsdll" 8 | -------------------------------------------------------------------------------- /templates/bcb2007exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | common_defines = WIN32 6 | 7 | conditional_include "user_bdsexe" 8 | -------------------------------------------------------------------------------- /templates/bcb2009dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | common_defines = WIN32 6 | 7 | conditional_include "user_bdsdll" 8 | -------------------------------------------------------------------------------- /templates/bcb2009exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | common_defines = WIN32 6 | 7 | conditional_include "user_bdsexe" 8 | -------------------------------------------------------------------------------- /templates/bds4dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | common_defines = WIN32 6 | 7 | conditional_include "user_bdsdll" 8 | -------------------------------------------------------------------------------- /templates/bds4exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | common_defines = WIN32 6 | 7 | conditional_include "user_bdsexe" 8 | -------------------------------------------------------------------------------- /templates/bmakedll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "bmakecommon" 3 | 4 | configurations = Debug Release "Static Debug" "Static Release" 5 | startup_letter = d 6 | 7 | Release { 8 | optimize = 1 9 | defines = NDEBUG 10 | intermediate_dir = Release 11 | lib_modifier = _br 12 | } 13 | 14 | Debug { 15 | optimize = 16 | debug_prj = 1 17 | defines = _DEBUG 18 | intermediate_dir = Debug 19 | lib_modifier = _bd 20 | } 21 | 22 | Static Release { 23 | optimize = 1 24 | defines = NDEBUG 25 | output_dir = Static_Release 26 | intermediate_dir = Static_Release 27 | lib_modifier = _bsr 28 | type_is_static = 1 29 | } 30 | 31 | Static Debug { 32 | optimize = 33 | debug_prj = 1 34 | defines = _DEBUG 35 | output_dir = Static_Debug 36 | intermediate_dir = Static_Debug 37 | lib_modifier = _bsd 38 | type_is_static = 1 39 | } 40 | 41 | conditional_include "user_bmakedll" 42 | -------------------------------------------------------------------------------- /templates/bmakedllexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "bmakecommon" 3 | 4 | configurations = Debug Release "Static Debug" "Static Release" 5 | startup_letter = x 6 | 7 | Release { 8 | optimize = 1 9 | defines = NDEBUG 10 | output_dir = Release 11 | intermediate_dir = Release 12 | lib_modifier = _br 13 | } 14 | 15 | Debug { 16 | optimize = 17 | debug_prj = 1 18 | defines = _DEBUG 19 | intermediate_dir = Debug 20 | lib_modifier = _bd 21 | } 22 | 23 | Static Release { 24 | optimize = 1 25 | defines = NDEBUG 26 | output_dir = Static_Release 27 | intermediate_dir = Static_Release 28 | lib_modifier = _bsr 29 | type_is_static = 1 30 | } 31 | 32 | Static Debug { 33 | optimize = 34 | debug_prj = 1 35 | defines = _DEBUG 36 | output_dir = Static_Debug 37 | intermediate_dir = Static_Debug 38 | lib_modifier = _bsd 39 | type_is_static = 1 40 | } 41 | 42 | conditional_include "user_bmakedllexe" 43 | -------------------------------------------------------------------------------- /templates/bmakelib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "bmakecommon" 3 | 4 | Release { 5 | optimize = 1 6 | defines = NDEBUG 7 | intermediate_dir = Static_Release 8 | lib_modifier = _bsr 9 | } 10 | 11 | Debug { 12 | optimize = 13 | debug_prj = 1 14 | defines = _DEBUG 15 | intermediate_dir = Static_Debug 16 | lib_modifier = _bsd 17 | } 18 | 19 | conditional_include "user_bmakelib" 20 | -------------------------------------------------------------------------------- /templates/bmakelibexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "bmakecommon" 3 | 4 | startup_letter = x 5 | 6 | Release { 7 | optimize = 1 8 | defines = NDEBUG 9 | output_dir = Static_Release 10 | intermediate_dir = Static_Release 11 | lib_modifier = _bsr 12 | } 13 | 14 | Debug { 15 | optimize = 16 | debug_prj = 1 17 | defines = _DEBUG 18 | output_dir = Static_Debug 19 | intermediate_dir = Static_Debug 20 | lib_modifier = _bsd 21 | } 22 | 23 | conditional_include "user_bmakelibexe" 24 | -------------------------------------------------------------------------------- /templates/cccommon.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | 4 | lib_prefix = 5 | lib_ext = .lib 6 | dll_ext = .dll 7 | exe_ext = .out 8 | 9 | configurations = Debug Release 10 | common_defines = 11 | rtti = 1 12 | big_endian = 13 | windows_style = 1 14 | 15 | Release { 16 | optimize = 1 17 | output_dir = Release 18 | intermediate_dir = Release 19 | } 20 | 21 | Debug { 22 | optimize = 23 | defines = _DEBUG 24 | output_dir = Debug 25 | intermediate_dir = Debug 26 | lib_modifier = d 27 | } 28 | -------------------------------------------------------------------------------- /templates/ccexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "cccommon" 3 | conditional_include "user_ccexe" 4 | -------------------------------------------------------------------------------- /templates/cclib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "cccommon" 3 | conditional_include "user_cclib" 4 | -------------------------------------------------------------------------------- /templates/cdt6dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "cdt6platforms" 3 | 4 | configurations = debug release 5 | project_type_name = "Shared Library" 6 | project_type = so 7 | build_artefact_type = org.eclipse.cdt.build.core.buildArtefactType.sharedLib 8 | pic = -fPIC 9 | -------------------------------------------------------------------------------- /templates/cdt6exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "cdt6platforms" 3 | 4 | configurations = debug release 5 | project_type_name = Executable 6 | project_type = exe 7 | build_artefact_type = org.eclipse.cdt.build.core.buildArtefactType.exe 8 | -------------------------------------------------------------------------------- /templates/cdt6lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "cdt6platforms" 3 | 4 | configurations = debug release 5 | project_type_name = "Static Library" 6 | project_type = lib 7 | build_artefact_type = org.eclipse.cdt.build.core.buildArtefactType.staticLib 8 | -------------------------------------------------------------------------------- /templates/cmakedll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | 3 | conditional_include "common" 4 | 5 | configurations = Debug Release 6 | 7 | // *********************************************************************** 8 | // Configuration Section 9 | // *********************************************************************** 10 | 11 | Debug { 12 | lib_modifier = d 13 | } 14 | 15 | Release { 16 | } 17 | 18 | conditional_include "user_cmakedll" 19 | -------------------------------------------------------------------------------- /templates/cmakeexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "cmakedll" 3 | conditional_include "user_cmakeexe" 4 | -------------------------------------------------------------------------------- /templates/common.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // This file contains assignments that are common to all templates 3 | 4 | pch_defines += USING_PCH 5 | use_lib_modifier = 1 6 | use_exe_modifier = 7 | -------------------------------------------------------------------------------- /templates/ghscommon.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "unixcommon" 4 | 5 | optimize = 1 6 | exceptions = 1 7 | lib_modifier = 8 | -------------------------------------------------------------------------------- /templates/ghsdll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "ghscommon" 3 | 4 | conditional_include "user_ghsdll" 5 | -------------------------------------------------------------------------------- /templates/ghsdllexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "ghscommon" 3 | 4 | conditional_include "user_ghsdllexe" 5 | -------------------------------------------------------------------------------- /templates/ghslib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "ghscommon" 3 | 4 | conditional_include "user_ghslib" 5 | -------------------------------------------------------------------------------- /templates/ghslibexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "ghscommon" 3 | 4 | conditional_include "user_ghslibexe" 5 | -------------------------------------------------------------------------------- /templates/iar.mpt: -------------------------------------------------------------------------------- 1 | conditional_include "common" 2 | conditional_include "unixcommon" 3 | exe_ext = .out 4 | 5 | configurations = Debug Release 6 | toolchain = ARM 7 | chip = "MK70FN1M0xxx12 NXP MK70FN1M0xxx12" 8 | 9 | // GRuntimeLibSelect determines the type of DLib support. 10 | // You can override this in your mpb file. 11 | // 0 - None 12 | // 1 - Normal 13 | // 2 - Full 14 | // 3 - Custom 15 | gruntimelibselect = 1 16 | 17 | Debug { 18 | debug = 1 19 | lib_modifier = d 20 | } 21 | 22 | Release { 23 | debug = 0 24 | } 25 | -------------------------------------------------------------------------------- /templates/make.net.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "windowscommon" 3 | 4 | mcs { 5 | main_flag = -main: 6 | out_flag = -out: 7 | lib_flag = -lib: 8 | def_flag = -define: 9 | exe_flag = -target:exe 10 | winexe_flag = -target:winexe 11 | opt_flag = -optimize 12 | key_flag = -keyfile: 13 | unsafe_flag = -unsafe 14 | shared_flag = -target:library 15 | ref_flag = -r: 16 | pkg_flag = -pkg: 17 | mkbundle = mkbundle 18 | resx_flag = -resource: 19 | ico_flag = -win32icon: 20 | } 21 | 22 | gmcs { 23 | main_flag = -main: 24 | out_flag = -out: 25 | lib_flag = -lib: 26 | def_flag = -define: 27 | exe_flag = -target:exe 28 | winexe_flag = -target:winexe 29 | opt_flag = -optimize 30 | key_flag = -keyfile: 31 | unsafe_flag = -unsafe 32 | shared_flag = -target:library 33 | ref_flag = -r: 34 | pkg_flag = -pkg: 35 | mkbundle = mkbundle2 36 | resx_flag = -resource: 37 | ico_flag = -win32icon: 38 | } 39 | -------------------------------------------------------------------------------- /templates/makeexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "makedll" 3 | conditional_include "user_makeexe" 4 | -------------------------------------------------------------------------------- /templates/sledll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | conditional_include "user_sledll" 6 | -------------------------------------------------------------------------------- /templates/sleexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | conditional_include "user_sleexe" 6 | -------------------------------------------------------------------------------- /templates/unixcommon.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | lib_prefix = lib 3 | lib_ext = .a 4 | dll_ext = .so 5 | exe_ext = 6 | -------------------------------------------------------------------------------- /templates/uvis.mpt: -------------------------------------------------------------------------------- 1 | configurations = Release 2 | devices = STM32L476ZGTx 3 | 4 | Debug { 5 | debuginformation = 1 6 | } 7 | 8 | Release { 9 | debuginformation = 0 10 | } 11 | 12 | STM32L476ZGTx { 13 | board = STM32L476 14 | dfp = STM32L4xx 15 | vendor = STMicroelectronics 16 | flash = STM32L4xx_1024.FLM 17 | register = stm32l4xx.h 18 | sfd = STM32L4x6.svd 19 | } 20 | -------------------------------------------------------------------------------- /templates/vc10dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc10platforms" 3 | conditional_include "vc1xdll" 4 | conditional_include "user_vc10dll" 5 | -------------------------------------------------------------------------------- /templates/vc10exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc10platforms" 3 | conditional_include "vc1xexe" 4 | conditional_include "user_vc10exe" 5 | -------------------------------------------------------------------------------- /templates/vc10lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc10platforms" 3 | conditional_include "vc1xlib" 4 | conditional_include "user_vc10lib" 5 | -------------------------------------------------------------------------------- /templates/vc10libexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc10platforms" 3 | conditional_include "vc1xlibexe" 4 | conditional_include "user_vc10libexe" 5 | -------------------------------------------------------------------------------- /templates/vc11dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc11platforms" 3 | conditional_include "vc1xdll" 4 | conditional_include "user_vc11dll" 5 | -------------------------------------------------------------------------------- /templates/vc11exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc11platforms" 3 | conditional_include "vc1xexe" 4 | conditional_include "user_vc11exe" 5 | -------------------------------------------------------------------------------- /templates/vc11lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc11platforms" 3 | conditional_include "vc1xlib" 4 | conditional_include "user_vc11lib" 5 | -------------------------------------------------------------------------------- /templates/vc11libexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc11platforms" 3 | conditional_include "vc1xlibexe" 4 | conditional_include "user_vc11libexe" 5 | -------------------------------------------------------------------------------- /templates/vc11platforms.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // 3 | // Any of these platforms can set using value_template platforms= 4 | // when generating solutions/projects. 5 | // 6 | //platforms = Win32 x64 7 | 8 | platforms = Win32 x64 9 | default_platform = Win32 10 | PlatformToolset = v110 11 | 12 | Win32 { 13 | output_subdir = I386 14 | } 15 | 16 | x64 { 17 | output_subdir = AMD64 18 | cpu_defines = _AMD64_ 19 | platform_defines = _WIN64 20 | TargetMachine = "0" // We let VC++ figure it out for us. 21 | link_options = /machine:AMD64 22 | } 23 | 24 | -------------------------------------------------------------------------------- /templates/vc12dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc12platforms" 3 | conditional_include "vc1xdll" 4 | conditional_include "user_vc12dll" 5 | -------------------------------------------------------------------------------- /templates/vc12exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc12platforms" 3 | conditional_include "vc1xexe" 4 | conditional_include "user_vc12exe" 5 | -------------------------------------------------------------------------------- /templates/vc12lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc12platforms" 3 | conditional_include "vc1xlib" 4 | conditional_include "user_vc12lib" 5 | -------------------------------------------------------------------------------- /templates/vc12libexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc12platforms" 3 | conditional_include "vc1xlibexe" 4 | conditional_include "user_vc12libexe" 5 | -------------------------------------------------------------------------------- /templates/vc12platforms.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // 3 | // Any of these platforms can set using value_template platforms= 4 | // when generating solutions/projects. 5 | // 6 | //platforms = Win32 x64 7 | 8 | platforms = Win32 x64 9 | default_platform = Win32 10 | PlatformToolset = v120 11 | 12 | Win32 { 13 | output_subdir = I386 14 | } 15 | 16 | x64 { 17 | output_subdir = AMD64 18 | cpu_defines = _AMD64_ 19 | platform_defines = _WIN64 20 | TargetMachine = "0" // We let VC++ figure it out for us. 21 | link_options = /machine:AMD64 22 | } 23 | 24 | -------------------------------------------------------------------------------- /templates/vc14dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc14platforms" 3 | conditional_include "vc1xdll" 4 | conditional_include "user_vc14dll" 5 | -------------------------------------------------------------------------------- /templates/vc14exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc14platforms" 3 | conditional_include "vc1xexe" 4 | conditional_include "user_vc14exe" 5 | -------------------------------------------------------------------------------- /templates/vc14lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc14platforms" 3 | conditional_include "vc1xlib" 4 | conditional_include "user_vc14lib" 5 | -------------------------------------------------------------------------------- /templates/vc14libexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc14platforms" 3 | conditional_include "vc1xlibexe" 4 | conditional_include "user_vc14libexe" 5 | -------------------------------------------------------------------------------- /templates/vc14platforms.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // 3 | // Any of these platforms can set using value_template platforms= 4 | // when generating solutions/projects. 5 | // 6 | //platforms = Win32 x64 7 | 8 | platforms = Win32 x64 9 | default_platform = Win32 10 | PlatformToolset = v140 11 | 12 | Win32 { 13 | output_subdir = I386 14 | } 15 | 16 | x64 { 17 | output_subdir = AMD64 18 | cpu_defines = _AMD64_ 19 | platform_defines = _WIN64 20 | TargetMachine = "0" // We let VC++ figure it out for us. 21 | link_options = /machine:AMD64 22 | } 23 | 24 | -------------------------------------------------------------------------------- /templates/vc6dspdll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "vccommon" 4 | conditional_include "windowscommon" 5 | 6 | type_description = "Dynamic-Link Library" 7 | type_code = 0x0102 8 | configurations = Debug Release 9 | common_defines = WIN32 _WINDOWS 10 | 11 | Release { 12 | use_debug_libraries = 0 13 | optimize = 1 14 | compile_flags = /W3 /GX /MD /GR 15 | defines = NDEBUG 16 | compile_flags_removed = /YX 17 | output_dir = Release 18 | intermediate_dir = Release 19 | debug_switch = 20 | } 21 | 22 | Debug { 23 | use_debug_libraries = 1 24 | optimize = 25 | compile_flags = /W3 /Gm /GX /Zi /MDd /GR /Gy 26 | defines = _DEBUG 27 | compile_flags_removed = /Fr /YX 28 | intermediate_dir = Debug 29 | lib_modifier = d 30 | pdbl = 1 31 | pdbc = 1 32 | } 33 | 34 | MFC Release { 35 | use_debug_libraries = 0 36 | optimize = 1 37 | compile_flags = /W3 /GX /MD /GR 38 | defines = NDEBUG _WINDLL _AFXDLL 39 | compile_flags_removed = /YX 40 | output_dir = MFC_Release 41 | intermediate_dir = MFC_Release 42 | debug_switch = 43 | lib_modifier = mfc 44 | use_mfc = 2 45 | } 46 | 47 | MFC Debug { 48 | use_debug_libraries = 1 49 | optimize = 50 | compile_flags = /W3 /Gm /GX /Zi /MDd /GR /Gy 51 | defines = _DEBUG _WINDLL _AFXDLL 52 | compile_flags_removed = /Fr /YX 53 | output_dir = MFC_Debug 54 | intermediate_dir = MFC_Debug 55 | lib_modifier = mfcd 56 | pdbl = 1 57 | pdbc = 1 58 | use_mfc = 2 59 | } 60 | 61 | conditional_include "vcpartialmacros" 62 | conditional_include "user_vc6dspdll" 63 | -------------------------------------------------------------------------------- /templates/vc6dsplib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "vccommon" 4 | conditional_include "windowscommon" 5 | 6 | type_description = "Static Library" 7 | type_code = 0x0104 8 | configurations = Debug Release 9 | common_defines = WIN32 _WINDOWS 10 | 11 | Release { 12 | use_debug_libraries = 0 13 | optimize = 1 14 | compile_flags = /W3 /GX /MD /GR 15 | defines = NDEBUG 16 | compile_flags_removed = /YX 17 | output_dir = Static_Release 18 | intermediate_dir = Static_Release 19 | lib_modifier = s 20 | debug_switch = 21 | } 22 | 23 | Debug { 24 | use_debug_libraries = 1 25 | optimize = 26 | compile_flags = /W3 /Gm /GX /Zi /MDd /GR /Gy 27 | defines = _DEBUG 28 | compile_flags_removed = /Fr /YX 29 | output_dir = Static_Debug 30 | intermediate_dir = Static_Debug 31 | lib_modifier = sd 32 | pdbc = 1 33 | } 34 | 35 | MFC Release { 36 | use_debug_libraries = 0 37 | optimize = 1 38 | compile_flags = /W3 /GX /MD /GR 39 | defines = NDEBUG 40 | compile_flags_removed = /YX 41 | output_dir = Static_MFC_Release 42 | intermediate_dir = Static_MFC_Release 43 | lib_modifier = mfcs 44 | debug_switch = 45 | use_mfc = 2 46 | } 47 | 48 | MFC Debug { 49 | use_debug_libraries = 1 50 | optimize = 51 | compile_flags = /W3 /Gm /GX /Zi /MDd /GR /Gy 52 | defines = _DEBUG 53 | compile_flags_removed = /Fr /YX 54 | output_dir = Static_MFC_Debug 55 | intermediate_dir = Static_MFC_Debug 56 | lib_modifier = mfcsd 57 | pdbc = 1 58 | use_mfc = 2 59 | } 60 | 61 | conditional_include "vcpartialmacros" 62 | conditional_include "user_vc6dsplib" 63 | -------------------------------------------------------------------------------- /templates/vc7csharp.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | trace = 1 7 | 8 | Release { 9 | optimize = 1 10 | output_dir = Release 11 | } 12 | 13 | Debug { 14 | optimize = 15 | output_dir = Debug 16 | } 17 | 18 | conditional_include "user_vc7csharp" 19 | -------------------------------------------------------------------------------- /templates/vc7java.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | trace = 1 7 | 8 | Release { 9 | optimize = 1 10 | output_dir = Release 11 | } 12 | 13 | Debug { 14 | optimize = 15 | output_dir = Debug 16 | } 17 | 18 | conditional_include "user_vc7java" 19 | -------------------------------------------------------------------------------- /templates/vc7vb.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | trace = 1 7 | 8 | Release { 9 | optimize = 1 10 | output_dir = Release 11 | } 12 | 13 | Debug { 14 | optimize = 15 | output_dir = Debug 16 | } 17 | 18 | conditional_include "user_vc7vb" 19 | -------------------------------------------------------------------------------- /templates/vc8csharp.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | platforms = AnyCPU 7 | trace = 1 8 | 9 | Release { 10 | optimize = 1 11 | output_dir = Release 12 | } 13 | 14 | Debug { 15 | optimize = 16 | output_dir = Debug 17 | } 18 | 19 | conditional_include "user_vc8csharp" 20 | -------------------------------------------------------------------------------- /templates/vc8dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | common_defines = WIN32 _WINDOWS _CRT_NONSTDC_NO_WARNINGS 7 | ConfigurationType = 2 8 | Detect64BitPortabilityProblems = false 9 | MinimalRebuild = false 10 | 11 | conditional_include "vc8platforms" 12 | 13 | Release { 14 | LinkIncremental = 1 15 | optimize = 2 16 | defines = NDEBUG 17 | output_dir = Release 18 | intermediate_dir = Release 19 | GenerateDebugInformation = false 20 | } 21 | 22 | Debug { 23 | debug_prj = 1 24 | defines = _DEBUG 25 | output_dir = . 26 | intermediate_dir = Debug 27 | lib_modifier = d 28 | } 29 | 30 | Memcheck Release { 31 | optimize = 2 32 | defines = NDEBUG 33 | output_dir = Release 34 | intermediate_dir = Release 35 | BasicRuntimeChecks = 0 36 | LinkIncremental = 1 37 | FixedBaseAddress = 1 38 | } 39 | 40 | Memcheck Debug { 41 | debug_prj = 1 42 | defines = _DEBUG 43 | output_dir = . 44 | intermediate_dir = Debug 45 | lib_modifier = d 46 | BasicRuntimeChecks = 0 47 | LinkIncremental = 1 48 | FixedBaseAddress = 1 49 | } 50 | 51 | MFC Release { 52 | LinkIncremental = 1 53 | optimize = 2 54 | defines = NDEBUG 55 | output_dir = MFC_Release 56 | intermediate_dir = MFC_Release 57 | lib_modifier = mfc 58 | UseOfMFC = 2 59 | GenerateDebugInformation = false 60 | } 61 | 62 | MFC Debug { 63 | debug_prj = 1 64 | defines = _DEBUG 65 | output_dir = MFC_Debug 66 | intermediate_dir = MFC_Debug 67 | lib_modifier = mfcd 68 | UseOfMFC = 2 69 | } 70 | 71 | conditional_include "vcpartialmacros" 72 | conditional_include "user_vc8dll" 73 | -------------------------------------------------------------------------------- /templates/vc8exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | common_defines = WIN32 _CONSOLE _CRT_NONSTDC_NO_WARNINGS 7 | ConfigurationType = 1 8 | SubSystem = 1 9 | Detect64BitPortabilityProblems = false 10 | MinimalRebuild = false 11 | 12 | conditional_include "vc8platforms" 13 | 14 | Release { 15 | LinkIncremental = 1 16 | optimize = 2 17 | defines = NDEBUG 18 | output_dir = Release 19 | intermediate_dir = Release 20 | GenerateDebugInformation = false 21 | } 22 | 23 | Debug { 24 | debug_prj = 1 25 | defines = _DEBUG 26 | intermediate_dir = Debug 27 | lib_modifier = d 28 | } 29 | 30 | Memcheck Release { 31 | LinkIncremental = 1 32 | optimize = 2 33 | defines = NDEBUG 34 | output_dir = Release 35 | intermediate_dir = Release 36 | BasicRuntimeChecks = 0 37 | LinkIncremental = 1 38 | FixedBaseAddress = 1 39 | } 40 | 41 | Memcheck Debug { 42 | debug_prj = 1 43 | defines = _DEBUG 44 | intermediate_dir = Debug 45 | lib_modifier = d 46 | BasicRuntimeChecks = 0 47 | LinkIncremental = 1 48 | FixedBaseAddress = 1 49 | } 50 | 51 | MFC Release { 52 | LinkIncremental = 1 53 | optimize = 2 54 | common_defines = WIN32 _WINDOWS 55 | defines = NDEBUG _AFXDLL 56 | output_dir = MFC_Release 57 | intermediate_dir = MFC_Release 58 | lib_modifier = mfc 59 | UseOfMFC = 2 60 | unicode_mfc_entry = wWinMainCRTStartup 61 | GenerateDebugInformation = false 62 | } 63 | 64 | MFC Debug { 65 | debug_prj = 1 66 | common_defines = WIN32 _WINDOWS 67 | defines = _DEBUG _AFXDLL 68 | output_dir = MFC_Debug 69 | intermediate_dir = MFC_Debug 70 | lib_modifier = mfcd 71 | UseOfMFC = 2 72 | unicode_mfc_entry = wWinMainCRTStartup 73 | } 74 | 75 | conditional_include "vcpartialmacros" 76 | conditional_include "user_vc8exe" 77 | -------------------------------------------------------------------------------- /templates/vc8java.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | platforms = AnyCPU 7 | trace = 1 8 | 9 | Release { 10 | optimize = 1 11 | output_dir = Release 12 | } 13 | 14 | Debug { 15 | optimize = 16 | output_dir = Debug 17 | } 18 | 19 | conditional_include "user_vc8java" 20 | -------------------------------------------------------------------------------- /templates/vc8lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | common_defines = WIN32 _WINDOWS _CRT_NONSTDC_NO_WARNINGS 7 | ConfigurationType = 4 8 | Detect64BitPortabilityProblems = false 9 | MinimalRebuild = false 10 | 11 | conditional_include "vc8platforms" 12 | 13 | Release { 14 | optimize = 2 15 | defines = NDEBUG 16 | output_dir = Static_Release 17 | intermediate_dir = Static_Release 18 | lib_modifier = s 19 | GenerateDebugInformation = false 20 | } 21 | 22 | Debug { 23 | debug_prj = 1 24 | defines = _DEBUG 25 | output_dir = Static_Debug 26 | intermediate_dir = Static_Debug 27 | lib_modifier = sd 28 | } 29 | 30 | Memcheck Release { 31 | optimize = 2 32 | defines = NDEBUG 33 | output_dir = Static_Release 34 | intermediate_dir = Static_Release 35 | lib_modifier = s 36 | BasicRuntimeChecks = 0 37 | FixedBaseAddress = 1 38 | } 39 | 40 | Memcheck Debug { 41 | debug_prj = 1 42 | defines = _DEBUG 43 | output_dir = Static_Debug 44 | intermediate_dir = Static_Debug 45 | lib_modifier = sd 46 | BasicRuntimeChecks = 0 47 | FixedBaseAddress = 1 48 | } 49 | 50 | MFC Release { 51 | optimize = 2 52 | defines = NDEBUG 53 | output_dir = Static_MFC_Release 54 | intermediate_dir = Static_MFC_Release 55 | lib_modifier = mfcs 56 | UseOfMFC = 2 57 | GenerateDebugInformation = false 58 | } 59 | 60 | MFC Debug { 61 | debug_prj = 1 62 | defines = _DEBUG 63 | output_dir = Static_MFC_Debug 64 | intermediate_dir = Static_MFC_Debug 65 | lib_modifier = mfcsd 66 | UseOfMFC = 2 67 | } 68 | 69 | conditional_include "vcpartialmacros" 70 | conditional_include "user_vc8lib" 71 | -------------------------------------------------------------------------------- /templates/vc8vb.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | platforms = AnyCPU 7 | trace = 1 8 | 9 | Release { 10 | optimize = 1 11 | output_dir = Release 12 | } 13 | 14 | Debug { 15 | optimize = 16 | output_dir = Debug 17 | } 18 | 19 | conditional_include "user_vc8vb" 20 | -------------------------------------------------------------------------------- /templates/vccommon.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // NOTE: This is really only common to vc6 and should remain that way. The 3 | // file is poorly named. -- Chad Elliott 9/23/2005 4 | 5 | midl_defines = 6 | midl_flags = /nologo /mktyplib203 /win32 7 | midl_includes = 8 | -------------------------------------------------------------------------------- /templates/vs2017dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2017platforms" 3 | conditional_include "vc1xdll" 4 | conditional_include "user_vs2017dll" 5 | -------------------------------------------------------------------------------- /templates/vs2017exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2017platforms" 3 | conditional_include "vc1xexe" 4 | conditional_include "user_vs2017exe" 5 | -------------------------------------------------------------------------------- /templates/vs2017lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2017platforms" 3 | conditional_include "vc1xlib" 4 | conditional_include "user_vs2017lib" 5 | -------------------------------------------------------------------------------- /templates/vs2017libexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2017platforms" 3 | conditional_include "vc1xlibexe" 4 | conditional_include "user_vs2017libexe" 5 | -------------------------------------------------------------------------------- /templates/vs2017platforms.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // 3 | // Any of these platforms can set using value_template platforms= 4 | // when generating solutions/projects. 5 | // 6 | //platforms = Win32 x64 7 | 8 | platforms = Win32 x64 9 | default_platform = Win32 10 | PlatformToolset = v141 11 | WindowsTargetPlatformVersion = 10.0.17763.0 12 | 13 | Win32 { 14 | output_subdir = I386 15 | } 16 | 17 | x64 { 18 | output_subdir = AMD64 19 | cpu_defines = _AMD64_ 20 | platform_defines = _WIN64 21 | TargetMachine = "0" // We let VC++ figure it out for us. 22 | link_options = /machine:AMD64 23 | } 24 | 25 | -------------------------------------------------------------------------------- /templates/vs2019dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2019platforms" 3 | conditional_include "vc1xdll" 4 | conditional_include "user_vs2019dll" 5 | -------------------------------------------------------------------------------- /templates/vs2019exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2019platforms" 3 | conditional_include "vc1xexe" 4 | conditional_include "user_vs2019exe" 5 | -------------------------------------------------------------------------------- /templates/vs2019lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2019platforms" 3 | conditional_include "vc1xlib" 4 | conditional_include "user_vs2019lib" 5 | -------------------------------------------------------------------------------- /templates/vs2019libexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2019platforms" 3 | conditional_include "vc1xlibexe" 4 | conditional_include "user_vs2019libexe" 5 | -------------------------------------------------------------------------------- /templates/vs2019platforms.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // 3 | // Any of these platforms can set using value_template platforms= 4 | // when generating solutions/projects. 5 | // 6 | //platforms = Win32 x64 ARM ARM64 7 | 8 | platforms = Win32 x64 ARM ARM64 9 | default_platform = Win32 10 | PlatformToolset = v142 11 | WindowsTargetPlatformVersion = 10.0 12 | 13 | Win32 { 14 | output_subdir = I386 15 | } 16 | 17 | x64 { 18 | output_subdir = AMD64 19 | cpu_defines = _AMD64_ 20 | platform_defines = _WIN64 21 | TargetMachine = "0" // We let VC++ figure it out for us. 22 | link_options = /machine:AMD64 23 | } 24 | 25 | ARM { 26 | output_subdir = ARM 27 | cpu_defines = _ARM_ 28 | platform_defines = _ARM 29 | TargetMachine = "0" // We let VC++ figure it out for us. 30 | link_options = /machine:ARM 31 | } 32 | 33 | ARM64 { 34 | output_subdir = ARM64 35 | cpu_defines = _ARM64_ 36 | platform_defines = _ARM64 37 | TargetMachine = "0" // We let VC++ figure it out for us. 38 | link_options = /machine:ARM64 39 | } -------------------------------------------------------------------------------- /templates/vs2022dll.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2022platforms" 3 | conditional_include "vc1xdll" 4 | conditional_include "user_vs2022dll" 5 | -------------------------------------------------------------------------------- /templates/vs2022exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2022platforms" 3 | conditional_include "vc1xexe" 4 | conditional_include "user_vs2022exe" 5 | -------------------------------------------------------------------------------- /templates/vs2022lib.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2022platforms" 3 | conditional_include "vc1xlib" 4 | conditional_include "user_vs2022lib" 5 | -------------------------------------------------------------------------------- /templates/vs2022libexe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vs2022platforms" 3 | conditional_include "vc1xlibexe" 4 | conditional_include "user_vs2022libexe" 5 | -------------------------------------------------------------------------------- /templates/vs2022platforms.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | // 3 | // Any of these platforms can set using value_template platforms= 4 | // when generating solutions/projects. 5 | // 6 | 7 | platforms = Win32 x64 ARM ARM64 8 | default_platform = x64 9 | PlatformToolset = v143 10 | WindowsTargetPlatformVersion = 10.0 11 | 12 | Win32 { 13 | output_subdir = I386 14 | } 15 | 16 | x64 { 17 | output_subdir = AMD64 18 | cpu_defines = _AMD64_ 19 | platform_defines = _WIN64 20 | TargetMachine = "0" // We let VC++ figure it out for us. 21 | link_options = /machine:AMD64 22 | } 23 | 24 | ARM { 25 | output_subdir = ARM 26 | cpu_defines = _ARM_ 27 | platform_defines = _ARM 28 | TargetMachine = "0" // We let VC++ figure it out for us. 29 | link_options = /machine:ARM 30 | } 31 | 32 | ARM64 { 33 | output_subdir = ARM64 34 | cpu_defines = _ARM64_ 35 | platform_defines = _ARM64 36 | TargetMachine = "0" // We let VC++ figure it out for us. 37 | link_options = /machine:ARM64 38 | } 39 | -------------------------------------------------------------------------------- /templates/wb26exe.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "wb26dll" 3 | conditional_include "user_wb26exe" 4 | 5 | -------------------------------------------------------------------------------- /templates/wb30cproject.mpd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /templates/wb30dll.mpt: -------------------------------------------------------------------------------- 1 | 2 | 3 | conditional_include "wb26dll" 4 | 5 | additional_natures = org.eclipse.cdt.core.cnature org.eclipse.cdt.core.ccnature 6 | project_prefix = wb_ 7 | 8 | platform = Native 9 | 10 | // platforms 11 | 12 | Native { 13 | no_platform_in_wrproject = 1 14 | platform_name = 15 | project_type = ApplicationProject 16 | enable_subprojects = 1 17 | 18 | exe_ext = 19 | dll_ext = .so 20 | dll_prefix = lib 21 | ar = ar 22 | ar_flags = crus 23 | librarian_objects = %Objects% 24 | exe_buildtool = C++-Linker 25 | dll_buildtool = C++-Linker 26 | 27 | buildspecs = Linux-gnu-native-3.x-4.x Windows-gnu-native-3.x-4.x 28 | default_buildspec = Linux-gnu-native-3.x-4.x 29 | 30 | wrprj_macros = TOOL_PATH LIBPATH LIBS ADAPT_DEPS 31 | } 32 | 33 | 34 | // buildspecs 35 | 36 | Linux-gnu-native-3.x-4.x { 37 | cxx = g++ 38 | cc = gcc 39 | platform_asflags = -MD -MP 40 | platform_cxxflags = -MD -MP 41 | platform_ccflags = -MD -MP 42 | ass_flags = -x assembler -fno-builtin -Wall 43 | cxx_flags = -ansi -fno-builtin -Wall 44 | c_flags = -ansi -fno-builtin -Wall 45 | ass_dbgflags = -g 46 | cxx_dbgflags = -g 47 | c_dbgflags = -g 48 | pic = -fPIC 49 | shflags = -shared 50 | } 51 | 52 | Windows-gnu-native-3.x-4.x { 53 | exe_ext = .exe 54 | cxxlnk_derivedsigs = *.exe 55 | clnk_derivedsigs = *.exe 56 | dll_prefix = 57 | dll_ext = .dll 58 | cxx = g++ 59 | cc = gcc 60 | platform_asflags = -MD -MP 61 | platform_cxxflags = -MD -MP 62 | platform_ccflags = -MD -MP 63 | ass_flags = -x assembler -fno-builtin -Wall 64 | cxx_flags = -fno-builtin -Wall //-ansi not supported with MinGW 65 | c_flags = -fno-builtin -Wall //-ansi not supported with MinGW 66 | ass_dbgflags = -g 67 | cxx_dbgflags = -g 68 | c_dbgflags = -g 69 | shflags = -shared 70 | } 71 | 72 | conditional_include "user_wb30dll" 73 | -------------------------------------------------------------------------------- /templates/wb30exe.mpt: -------------------------------------------------------------------------------- 1 | conditional_include "wb30dll" 2 | conditional_include "user_wb30exe" 3 | -------------------------------------------------------------------------------- /templates/windowscommon.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | lib_prefix = 3 | lib_ext = .lib 4 | dll_ext = .dll 5 | exe_ext = .exe 6 | -------------------------------------------------------------------------------- /templates/wix.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "common" 3 | conditional_include "windowscommon" 4 | 5 | configurations = Debug Release 6 | 7 | conditional_include "vc10platforms" 8 | 9 | Release { 10 | } 11 | 12 | Debug { 13 | debug_prj = 1 14 | } 15 | -------------------------------------------------------------------------------- /templates/wixcs.mpt: -------------------------------------------------------------------------------- 1 | // -*- MPC -*- 2 | conditional_include "vc8csharp" 3 | --------------------------------------------------------------------------------