CMake Nightly Date Stamp
[kiteware-cmake.git] / Source / bindexplib.h
blobc5d81c7f5ecb6b9c71fcdd7cddce1287b97c974e
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
3 #pragma once
5 #include "cmConfigure.h" // IWYU pragma: keep
7 #include <cstdio>
8 #include <set>
9 #include <string>
11 class bindexplib
13 public:
14 bindexplib() { NmPath = "nm"; }
15 bool AddDefinitionFile(const char* filename);
16 bool AddObjectFile(const char* filename);
17 void WriteFile(FILE* file);
19 void SetNmPath(std::string const& nm);
21 private:
22 std::set<std::string> Symbols;
23 std::set<std::string> DataSymbols;
24 std::string NmPath;