mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 05:50:42 +00:00
447b57a267
GHS doesn't follow the binary structure that VS or Makefiles use Also setting binary location outputs do not work -- Update to act like Visual Studio Generator and use its project layout -- Fix open/close issues where open() was used instead of Open() Now passes the file handle to all function that require it -- Avoid triggering MULTI reloads; use SetCopyIfDifferent mode
34 lines
894 B
C++
34 lines
894 B
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
#ifndef cmLocalGhsMultiGenerator_h
|
|
#define cmLocalGhsMultiGenerator_h
|
|
|
|
#include "cmLocalGenerator.h"
|
|
|
|
class cmGeneratedFileStream;
|
|
|
|
/** \class cmLocalGhsMultiGenerator
|
|
* \brief Write Green Hills MULTI project files.
|
|
*
|
|
* cmLocalGhsMultiGenerator produces a set of .gpj
|
|
* file for each target in its mirrored directory.
|
|
*/
|
|
class cmLocalGhsMultiGenerator : public cmLocalGenerator
|
|
{
|
|
public:
|
|
cmLocalGhsMultiGenerator(cmGlobalGenerator* gg, cmMakefile* mf);
|
|
|
|
virtual ~cmLocalGhsMultiGenerator();
|
|
|
|
/**
|
|
* Generate the makefile for this directory.
|
|
*/
|
|
virtual void Generate();
|
|
|
|
private:
|
|
void GenerateTargetsDepthFirst(cmGeneratorTarget* target,
|
|
std::vector<cmGeneratorTarget*>& remaining);
|
|
};
|
|
|
|
#endif
|