diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-16 17:31:05 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-16 17:31:05 +0100 |
commit | 0cd5398354d8ecae47afeef98b42b81b431ea165 (patch) | |
tree | 21c58513ac7cf7ce1f54b47e0f4cdcd9059625f1 /doc/source/devel | |
parent | db19fce8d61f7ccbb756fd1affeeb6923cf1fe69 (diff) | |
download | fastd-0cd5398354d8ecae47afeef98b42b81b431ea165.tar fastd-0cd5398354d8ecae47afeef98b42b81b431ea165.zip |
doc: mention CMAKE_BUILD_TYPE
Diffstat (limited to 'doc/source/devel')
-rw-r--r-- | doc/source/devel/building.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/source/devel/building.rst b/doc/source/devel/building.rst index d7260b8..51f56e6 100644 --- a/doc/source/devel/building.rst +++ b/doc/source/devel/building.rst @@ -27,7 +27,7 @@ fastd uses the CMake build system. The libuecc build works the same. # Create a build dir mkdir fastd-build cd fastd-build - cmake ../fastd + cmake ../fastd -DCMAKE_BUILD_TYPE=RELEASE # Set DEBUG instead of RELEASE if you plan to develop on fastd # Build fastd, binary can be found in the src subdir of the build dir make @@ -40,8 +40,7 @@ if it is installed (in package ``cmake-curses-gui`` on Debian). CMake variables ~~~~~~~~~~~~~~~ - -There are a few option that can be given to cmake with ``-DVARIABLE=VALUE``: +There are a few more options besides ``CMAKE_BUILD_TYPE`` that can be given to cmake with ``-DVARIABLE=VALUE``: * If you have a recent enough toolchain (GCC 4.8 or higher recommended), you can enable link-time optimization with ENABLE_LTO=ON to get slightly better optimized binaries * By default, fastd will try to build against libsodium. If you want to use NaCl instead, set ENABLE_LIBSODIUM=OFF |