From 5585e8575baecc1b427c1a530c037858ee5f6fd2 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Sat, 29 Aug 2020 16:33:32 -0400 Subject: Help: Add note about #pragma once --- Help/dev/source.rst | 3 +++ 1 file changed, 3 insertions(+) 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 ========================= -- cgit v0.12