Builder's InstallMap checks for that class to figure out the install
locations for generated headers.
using namespace Msp;
GameSetupDefinitions::GameSetupDefinitions(Builder &b, const Component &c, const FS::Path &p):
- SourceFile(b, c, p)
+ TemplateFile(b, c, p)
{
install_location = "include";
}
#ifndef GAMESETUPDEFINITIONS_H_
#define GAMESETUPDEFINITIONS_H_
-#include <msp/builder/sourcefile.h>
+#include <msp/builder/templatefile.h>
-class GameSetupDefinitions: public SourceFile
+class GameSetupDefinitions: public TemplateFile
{
public:
GameSetupDefinitions(Builder &, const Component &, const Msp::FS::Path &);