summaryrefslogtreecommitdiffstats
path: root/src/mxe-conf.mk
Commit message (Collapse)AuthorAgeFilesLines
* cmake wrapper: disbale package registryTony Theodore2017-01-191-0/+1
| | | | | | See: https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#disabling-the-package-registry fixes #1585
* cmake: force some variables in toolchain fileBoris Nagaev2017-01-081-5/+5
| | | | See https://github.com/mxe/mxe/pull/1621#issuecomment-270176619
* add vars BUILD_{STATIC,SHARED}[_LIBS] to cmakeBoris Nagaev2017-01-081-1/+4
| | | | Only BUILD_SHARED_LIBS was there before.
* Copyright headers: point to LICENSE.md and shortenBoris Nagaev2016-08-271-2/+1
| | | | | | | | | | | | | | | | | | | The following script was applied: sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE') sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \ $(git grep -l 'part of MXE.*See index.html') before='This file is part of MXE. See index.html for further information.' after='This file is part of MXE. See LICENSE.md for licensing information.' sed "s/$before/$after/" -i $(git grep -l 'part of MXE') Then git grep 'index.html for further information' revealed two other files. One of them was patched manually (patch.mk). Makefile has text "See index.html for further information" unrelated to licensing. See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
* cmake: fix windres invocationTony Theodore2016-08-111-1/+3
| | | | | | | | | | | Windres doesn't recognise various gcc flags like `-mms-bitfields`, `-fopenmp`, `-mthreads` etc. (basically anything not `-D` or `-I`). CMake will filter options if `add_compile_options()` is used, but not for `add_definitions()`. The developers class it as a "won't fix" as they believe `add_definitions()` shouldn't be used for such flags. Fixes #1475
* create tmp-*/readonly instead of usr/readonlyBoris Nagaev2016-06-111-7/+0
| | | | | | | | | | | Removing MXE directory with "rm -rf" used to fail on file usr/readonly/.gitkeep because directory usr/readonly was readonly. Now readonly directory is created in tmp-* directory and .gitkeep is not created for it (because tmp-* is not under usr/). Problems with removing MXE directory are fixed even in case of interrupted build. fix #1221
* mxe-conf: prevent touching a file in readonly dirBoris Nagaev2016-01-251-1/+3
| | | | fix #1199
* mxe-conf: fix for touchin readonly directoryTony Theodore2016-01-211-1/+1
|
* Makefile and mxe-conf: create basic non-empty directory hierarchyTony Theodore2016-01-121-6/+13
| | | | | https://github.com/mxe/mxe/pull/1061/files#r49049496 https://github.com/mxe/mxe/issues/1111#issuecomment-169280181
* mxe-conf: create .gitkeep in CMAKE_TOOLCHAIN_DIRBoris Nagaev2016-01-121-0/+1
| | | | It is needed for build-pkg and #1111, Git doesn't see empty directories.
* cmake wrapper: use common TryRunResults.cmakeTony Theodore2015-12-011-1/+4
|
* Build native version of cmakeTony Theodore2015-11-271-2/+2
| | | | | | * install in MXE native path so only visible to MXE sessions and wrapper scripts * remove from requirements * no MXE patches or pkg updates yet
* mxe-conf: create always failing wine dummyBoris Nagaev2015-11-151-0/+8
| | | | | | | | | | | | | Now dlfcn-win32 can't detect wine. From log/dlfcn-win32_i686-w64-mingw32.static: static: yes shared: no wine: Previously wine was set to "yes wine". fix #995
* mxe-conf: create readonly dir in _BUILD_$(BUILD)Boris Nagaev2015-11-151-3/+3
| | | | | | This directory (WINEPREFIX=$(PREFIX)/readonly) is not target specific. It is created once instead of being created for each target.
* [style] remove empty line between related commandsBoris Nagaev2015-11-151-1/+0
|
* mxe-conf: add CMAKE_PREFIX_PATH to toolchain fileTony Theodore2015-10-271-0/+1
| | | | see #904
* mxe-conf: consolidate rules and install cmake modules under usrTony Theodore2015-10-251-12/+14
|
* cmake: no -DCMAKE_TOOLCHAIN_FILE with some optionsBoris Nagaev2015-10-151-3/+15
| | | | | | | | | | CMake with a toolchain file doesn't work properly in some modes. * --build * --system-information * -E close #932
* cmake modules: use less warning-like status messagesTony Theodore2015-10-041-0/+1
|
* move cmake modules to src/cmake/modulesTony Theodore2015-10-031-2/+1
|
* set WINEPREFIX to a readonly directory to force wine to failTony Theodore2015-09-301-0/+3
| | | | fixes #841
* mxe-conf: basic sanity checking of autotoolsTony Theodore2015-09-131-0/+12
| | | | in the spirit of ./configure, detect capabilities instead of versions
* mxe-conf: add note about ac_cv_buildTony Theodore2015-09-121-0/+1
|
* mxe-conf: create prefixed cmake wrapper scriptTony Theodore2015-09-121-0/+6
|
* Move general configuration from pkgconf to mxe-conf and add cmake/mxe-conf.dTony Theodore2015-09-121-0/+61
|
* Makefile: include mxe-conf as an order-only dep of all packagesTony Theodore2015-09-121-0/+6
Order-only deps have the benefit of guaranteed early execution and not requiring full rebuilds. It isn't a real package, so we don't want an entry in index.html.