Okay, so you probably need to git submodule init again
I'd suggest a fresh checkout of the latest master branch
And then `git submodule update --init --recursive`
cmake '-H.' -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=install -G"Ninja"
cmake --build build --target install
master cmake commands for mint mate
-
Berg
- Regular

- Posts: 2204
- Joined: 02 Sep 2007, 23:25
- Location: Australia
-
pastdue
- Warzone 2100 Team Member

- Posts: 345
- Joined: 13 Aug 2017, 17:44
Re: master cmake commands for mint mate
Actually, because of how WZ currently handles establishing data search paths, you'll want to use an install path that is not inside the build folder (which your `-DCMAKE_INSTALL_PREFIX:PATH=install` above does).
Which would turn the commands into something like:
That will build and install WZ to: ~/wz/install
Which would turn the commands into something like:
Code: Select all
cmake '-H.' -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=~/wz/install -G"Ninja"
cmake --build build --target install-
Berg
- Regular

- Posts: 2204
- Joined: 02 Sep 2007, 23:25
- Location: Australia
Re: master cmake commands for mint mate
So far the only issues coupled with cmake is that you need to remove the install and build folders to get a new built.