mirror of
https://github.com/reactos/CMake.git
synced 2024-12-16 08:07:29 +00:00
1c1ace2db0
MS tools have a limit on the number of symbols that can be listed in a `.def` file. If multiple `.obj` files provide a symbol then avoid listing it more than once in the generated `.def` file to avoid counting toward the limit.
30 lines
857 B
C++
30 lines
857 B
C++
/*============================================================================
|
|
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
|