Page 1 of 1

master cmake commands for mint mate

Posted: 26 Jun 2018, 03:57
by Berg
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

Re: master cmake commands for mint mate

Posted: 27 Jun 2018, 19:53
by pastdue
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:

Code: Select all

cmake '-H.' -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=~/wz/install -G"Ninja"
cmake --build build --target install
That will build and install WZ to: ~/wz/install

Re: master cmake commands for mint mate

Posted: 29 Aug 2018, 00:46
by Berg
So far the only issues coupled with cmake is that you need to remove the install and build folders to get a new built.