summaryrefslogtreecommitdiffstats
path: root/Source/bindexplib.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-18 15:20:07 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-11-18 15:20:07 (GMT)
commit96e4a79ab1236926ac5076a47bbbc013d32c6555 (patch)
treedcef95ab192176184d9397845527a977f053925e /Source/bindexplib.h
parent79cc14257a0736cccda6451346a30a51f2f390a2 (diff)
parent1c1ace2db012919f23b6de5400ab192b9277dfc6 (diff)
downloadCMake-96e4a79ab1236926ac5076a47bbbc013d32c6555.zip
CMake-96e4a79ab1236926ac5076a47bbbc013d32c6555.tar.gz
CMake-96e4a79ab1236926ac5076a47bbbc013d32c6555.tar.bz2
Merge topic 'unique_def_symbols'
1c1ace2d De-duplicate symbols listed in generated module definition files
Diffstat (limited to 'Source/bindexplib.h')
-rw-r--r--Source/bindexplib.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/bindexplib.h b/Source/bindexplib.h
new file mode 100644
index 0000000..8661a4a
--- /dev/null
+++ b/Source/bindexplib.h
@@ -0,0 +1,29 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#ifndef bindexplib_h
+#define bindexplib_h
+
+#include "cmStandardIncludes.h"
+
+
+class bindexplib
+{
+public:
+ bindexplib() {}
+ bool AddObjectFile(const char* filename);
+ void WriteFile(FILE* file);
+private:
+ std::set<std::string> Symbols;
+ std::set<std::string> DataSymbols;
+};
+#endif