Most users build ZG by using the build-zg.sh script provided.
But running cmake . in the root directory will configure the build, then running make will build
Right now, make install does nothing.
make: *** No rule to make target 'install'. Stop.
there should be default directories specified in cmake, and documentation for the user on how to change it from the command line when running cmake.
Once that's implemented, there needs to be an uninstall option. See CMake support “make uninstall”? for some details on that.
Frequently packages for Linux are made by installing to a temp directory, so the files that are intended to be distributed are isolated from everything else in the source directory. That's frequently done using something like 'make install DESTDIR=...`
It's pretty customary that "make install" will install a program to directories specified by the user.
(related to #110)
https://github.com/ZetaGlest/zetaglest-source/blob/develop/CMakeLists.txt
Most users build ZG by using the build-zg.sh script provided.
But running
cmake .
in the root directory will configure the build, then runningmake
will buildRight now,
make install
does nothing.make: *** No rule to make target 'install'. Stop.
there should be default directories specified in cmake, and documentation for the user on how to change it from the command line when running cmake.
Once that's implemented, there needs to be an uninstall option. See CMake support “make uninstall”? for some details on that.
Frequently packages for Linux are made by installing to a temp directory, so the files that are intended to be distributed are isolated from everything else in the source directory. That's frequently done using something like 'make install DESTDIR=...`