mirror of
https://github.com/Kitware/CMake.git
synced 2025-06-22 20:34:08 +08:00

-- Set output and object file locations -- Suffixes are no longer being forced but will now follow the target properties By default GHS tools have no suffix for executable files so CMAKE_EXECUTABLE_SUFFIX was changed to meet this behavior -- Remove #if 0 blocked out code; it has been replaced. Forcing the -relprog option has been removed from non-kernel executable targets. The default value of this option (if it is even available) is determined by the tool-chain for the specified target and platform (Some tool-chains default to -locatedprogram). The use of -relprog can have unexpected results as it cannot always produce a fully relocated executable. -- Clarify use of CMAKE_BUILD_TYPE to control build configuration
37 lines
982 B
C++
37 lines
982 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();
|
|
|
|
std::string GetTargetDirectory(
|
|
cmGeneratorTarget const* target) const override;
|
|
|
|
private:
|
|
void GenerateTargetsDepthFirst(cmGeneratorTarget* target,
|
|
std::vector<cmGeneratorTarget*>& remaining);
|
|
};
|
|
|
|
#endif
|