Browse Source

* cmake debug (closes #562)

pull/572/head
hagen 8 years ago
parent
commit
fac6229e43
  1. 3
      build/CMakeLists.txt
  2. 2
      docs/build_notes_unix.md

3
build/CMakeLists.txt

@ -3,6 +3,9 @@ cmake_minimum_required ( VERSION 2.8.12 )
cmake_policy( VERSION 2.8.12 ) cmake_policy( VERSION 2.8.12 )
project ( "i2pd" ) project ( "i2pd" )
# for debugging
#set(CMAKE_VERBOSE_MAKEFILE on)
# configurale options # configurale options
option(WITH_AESNI "Use AES-NI instructions set" OFF) option(WITH_AESNI "Use AES-NI instructions set" OFF)
option(WITH_HARDENING "Use hardening compiler flags" OFF) option(WITH_HARDENING "Use hardening compiler flags" OFF)

2
docs/build_notes_unix.md

@ -16,7 +16,7 @@ Let's clone the repository and start building the i2pd:
git clone https://github.com/PurpleI2P/i2pd.git git clone https://github.com/PurpleI2P/i2pd.git
cd i2pd/build cd i2pd/build
cmake -DCMAKE_BUILD_TYPE=Release # more options could be passed, see "CMake Options" cmake -DCMAKE_BUILD_TYPE=Release # more options could be passed, see "CMake Options"
make make # you may add VERBOSE=1 to cmdline for debugging
``` ```
After successfull build i2pd could be installed with: After successfull build i2pd could be installed with:

Loading…
Cancel
Save