bin/setenv_mingw64.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 06 Jul 2018 16:35:55 +0100
changeset 249 20b718d60bba
parent 44 966a30552617
permissions -rw-r--r--
Rakefiles: automagically checkout revisions for given branch To simplify creation and management development branches, the `checkout` and `update` tasks selects the revision to checkout as follows: given a package, it (in that order): * if rbspec-file specifies `:revision`, then checkout or update to that one, else * if there's a bookmark with the same name as rakefile's active bookmark or branch, If so, checkout or update to that one, else * if there are multiple heads then, then check out bookmark `master`, else * if there's only one head checkout that head. This allows one to create a development branch just by branching rakefiles and then using bookmarks whenever one needs to use specific branch of a package. Note, that previously it was necessary not only to bookmark the package but also update rbspec-file. So updating rbspec-file is no longer necessary.

@echo off
if exist C:\MSYS64\MINGW64 (
    set MINGW_DIR=C:\MSYS64\MINGW64
) else (
   set MINGW_DIR=C:\MINGW64
)
set MINGW=__MINGW64__
set USEMINGW_ARG=-DUSEMINGW64
set PATH=%~dp0;%PATH%;%MINGW_DIR%\bin
echo Environment now set to compile 64bit code
echo To compile a package, type "mingwmake" in package directory