Add an install rule to CMakeLists.txt to support make install.
Will copy the picotool executable to ${CMAKE_INSTALL_PREFIX}/bin/.
As per documentation, the install prefix defaults to /usr/local on unix and c:/Program Files/${PROJECT_NAME} on windows.
A custom prefix can be defined using cmake -DCMAKE_INSTALL_PREFIX:PATH=/path/to/prefix ..
Add an install rule to CMakeLists.txt to support
make install
. Will copy thepicotool
executable to${CMAKE_INSTALL_PREFIX}/bin/
. As per documentation, the install prefix defaults to/usr/local
on unix andc:/Program Files/${PROJECT_NAME}
on windows.A custom prefix can be defined using
cmake -DCMAKE_INSTALL_PREFIX:PATH=/path/to/prefix ..
Successfully tested on ubuntu.
Resolves #4