summaryrefslogtreecommitdiffstats
path: root/Help/dev
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-08-29 20:33:32 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-09-03 13:30:27 (GMT)
commit5585e8575baecc1b427c1a530c037858ee5f6fd2 (patch)
treefa0cf4fc6511ec3ea0f5fc565ffa27be4aaa03f5 /Help/dev
parent407afc0f91447212e3001ca095f069db5329239a (diff)
downloadCMake-5585e8575baecc1b427c1a530c037858ee5f6fd2.zip
CMake-5585e8575baecc1b427c1a530c037858ee5f6fd2.tar.gz
CMake-5585e8575baecc1b427c1a530c037858ee5f6fd2.tar.bz2
Help: Add note about #pragma once
Diffstat (limited to 'Help/dev')
-rw-r--r--Help/dev/source.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/dev/source.rst b/Help/dev/source.rst
index d93e55c..9be4451 100644
--- a/Help/dev/source.rst
+++ b/Help/dev/source.rst
@@ -158,6 +158,9 @@ These are:
* ``cm::is_unique_ptr``:
Checks if a type is a ``std::unique_ptr`` type.
+CMake assumes the compiler supports ``#pragma once``. Use this for all
+hand-written header files.
+
Dynamic Memory Management
=========================