Commit Graph

7 Commits

Author SHA1 Message Date
Tony Theodore c1afdc77ca improve cmake toolchain variable handling and pkg-config detection 2019-04-09 23:29:31 +10:00
Tony Theodore 8f30a5af25 cmake toolchain: fix gcc ≥ 6 with CMAKE_<lang>_IMPLICIT_INCLUDE_DIRECTORIES 2018-08-15 12:57:09 +10:00
Tony Theodore 4e3467e517 cmake toolchain: set CMAKE_SYSTEM_PROCESSOR as CACHE variable 2018-03-29 12:59:50 +11:00
Tony Theodore 473f697ba3 Makefile and cmake-conf: set CMAKE_SYSTEM_PROCESSOR 2018-03-21 06:31:40 +11:00
Tony Theodore 3631f2f307 cmake: add prefixed cpack and CPACK_NSIS_EXECUTABLE
see #1502
2017-08-15 15:46:46 +10:00
Boris Nagaev aa4a5223c2 support overriding CMAKE_BUILD_TYPE in cmdline
The script checks if -DCMAKE_BUILD_TYPE is passed in command line and if
it is not passed, passes -DCMAKE_BUILD_TYPE=Release. So now other build
types are supported, just pass -DCMAKE_BUILD_TYPE=<desired-type> to the
script $(TARGET)-cmake.

Fix https://github.com/mxe/mxe/issues/1697
2017-03-15 02:42:49 +01:00
Tony Theodore 24d37efa5d cmake: improve configuration with templates
- move cmake configuration from mxe-conf to cmake-conf
 - replace `echo` with templates for readability and maintenance
 - allow packages to set other dep files
 - set CMAKE_POLICY_DEFAULT_CMPNNNN in wrapper since
   `cmake_minimum_required` or `cmake_policy` can't be set in
   toolchain (closes #971)
2017-03-12 17:30:18 +11:00