summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-05-10 17:22:52 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-05-13 15:20:27 (GMT)
commit30a550d6ade191e6510fb74a73fe34f1615b6086 (patch)
treecf7e21d9e58bc4a14c451b1394d4917c92ef0a0c /Source/cmNinjaTargetGenerator.h
parent0024356f8e8e5f9ec2fa6af1e651c634eba3b22b (diff)
downloadCMake-30a550d6ade191e6510fb74a73fe34f1615b6086.zip
CMake-30a550d6ade191e6510fb74a73fe34f1615b6086.tar.gz
CMake-30a550d6ade191e6510fb74a73fe34f1615b6086.tar.bz2
Ninja: In cmNinjaTargetGenerator use std::unique_ptr to manage new instances
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index 51c9ac7..3dbc1b5 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -11,6 +11,7 @@
#include "cmOSXBundleGenerator.h"
#include <map>
+#include <memory> // IWYU pragma: keep
#include <set>
#include <string>
#include <vector>
@@ -26,7 +27,8 @@ class cmNinjaTargetGenerator : public cmCommonTargetGenerator
{
public:
/// Create a cmNinjaTargetGenerator according to the @a target's type.
- static cmNinjaTargetGenerator* New(cmGeneratorTarget* target);
+ static std::unique_ptr<cmNinjaTargetGenerator> New(
+ cmGeneratorTarget* target);
/// Build a NinjaTargetGenerator.
cmNinjaTargetGenerator(cmGeneratorTarget* target);
value='6'>6space:mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2005-03-24 22:13:00 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2005-03-24 22:13:00 (GMT)
commit327ffee8d5dc2695bfbab4fcb497ef364e0eed4c (patch)
tree37ad5b6c0ac35b8bc9b16b8b1b459ad24c89c09b /windows/examples
parent1c9e7f246786fba3d112d23b7a2c734558d724e8 (diff)
downloadhdf5-327ffee8d5dc2695bfbab4fcb497ef364e0eed4c.zip
hdf5-327ffee8d5dc2695bfbab4fcb497ef364e0eed4c.tar.gz
hdf5-327ffee8d5dc2695bfbab4fcb497ef364e0eed4c.tar.bz2
[svn-r10406] Purpose:
For windows support, remove all.zip from hdf5. Description: Add testExamples.bat Solution: Platforms tested: Misc. update:
Diffstat (limited to 'windows/examples')
-rwxr-xr-xwindows/examples/testExamples.bat141
1 files changed, 141 insertions, 0 deletions
diff --git a/windows/examples/testExamples.bat b/windows/examples/testExamples.bat
new file mode 100755