Skip to content

Commit

Permalink
Update documentation wrt CMAKE_BUILD_TYPE
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Jun 12, 2018
1 parent 903298b commit 06beb62
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,17 @@ Table of Contents
Getting Started
---------------

At first, be sure to run PNMixer from the root directory, otherwise it won't
Build PNMixer:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make

Be sure to run PNMixer from the build directory, otherwise it won't
find the data files.

cd build
cd build # if you haven't already
./src/pnmixer

To switch on debug messages, invoke PNMixer with the `-d` command-line option.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ To __install__ this program cd to this directory and run:

mkdir build
cd build
cmake ..
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make install

Expand Down

0 comments on commit 06beb62

Please sign in to comment.