* Build vs 2019 project using cmake.
* Cmake configured to work in windows. Hopefully still works in linux
too!
* Update vcpkg install script.
* Configures build for MG game release or debug mode.
* Still need to fix building mapeditor and g3d viewer.
* Remove CurlGetConfig.cmake (not needed!)
* workflows/cmake.yml:test on Ubuntu Jammy (22.04);migrate to checkoutv3
This should also fix#247
* maybe fix ssh link error on Ubuntu Jammy
gcc and clang build is failing on Jammy with the message:
'cannot find -lssh: No such file or directory'
Basically I added libcurl-openssl-dev to the deps
* remove libcurl4-gnutls-dev
Trying to correct:
The following packages have unmet dependencies:
libcurl4-gnutls-dev : Conflicts: libcurl4-openssl-dev but
7.81.0-1ubuntu1.3 is to be installed
libcurl4-openssl-dev : Conflicts: libcurl4-gnutls-dev but
7.81.0-1ubuntu1.3 is to be installed
E: Unable to correct problems, you have held broken packages.
An error occurred while installing build dependencies.
* use cmake FindCURL module
* for OpenSSL, use include instead of find_package
* remove jammy, add gcc-10 and 11 test
* revert now-unrelated changes
* clean-up
* add VERBOSE flag to make
* Update .github/workflows/cmake.yml
* Update .github/workflows/cmake.yml
* use '-f' option from build script to force clang
* force dynamic libs with '-d'
fixes#251
* mk/linux/setupBuildDeps.sh:fix script so 22.04 is detected
*remove vlc deps (not required for the CI)
*remove ubuntu-18.04 from the build matrix, see
https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
* revert removal of commented macos jobs
* run apt-get update and upgrade
* cleanup Prep snapshot section
* Replace working http links with https
* downloads also has working https
* forum also has working https
* Fix get_started link
* fix get_started link
Co-authored-by: James Sherratt <jdsherratt3@gmail.com>
Fixes bugs found in iss #206. Building without FTGL fails and the error
is confusing. So we'll fail at the cmake stage (suggested by andy5995).
People who don't want it can disable this at their own peril! ;-)
Adding support for Raspbian (I installed all the dependencies for compiling Megaglest on Raspberry Pi 4 by simply substituting Debian with Raspbian in this script, as they are, essentially, the same system; it worked without any additional tweaks).
Multi-threading is now disabled since it cannot be used with the
"unusedFunction" check - which we had enabled so far (and probably want to
keep enabled). Add -j and change the checks in --enable to re-enable multi
threading.
Current cppcheck also depends on a 'library' configuration file. Its location,
and that of cppcheck itself, are now configurable in this script.
skipci