introduction of photon.hpp (autobuilt via SCons)

This commit is contained in:
James Turk 2005-03-02 08:46:45 +00:00
parent edeea755ad
commit f73bc10e2d
2 changed files with 39 additions and 3 deletions

View File

@ -5,13 +5,13 @@
# James Turk (jpt2433@rit.edu) # James Turk (jpt2433@rit.edu)
# #
# Version: # Version:
# $Id: SConstruct,v 1.2 2005/03/01 10:43:34 cozman Exp $ # $Id: SConstruct,v 1.3 2005/03/02 08:46:45 cozman Exp $
import os,os.path import os,os.path
import glob import glob
import string import string
subDirs = ['', 'audio', 'math', 'util', 'util/filesys'] subDirs = ['', 'audio', 'math', 'util', 'util/filesys', 'video']
libName = 'photon' libName = 'photon'
class Builder: class Builder:
@ -90,6 +90,11 @@ class Builder:
default=True, default=True,
source = self.srcFiles, CPPPATH = self.incDirs) source = self.srcFiles, CPPPATH = self.incDirs)
self.buildSuperHeader(libName) self.buildSuperHeader(libName)
ndoc = self.env.Command('docs/index.html', './include',
"""NaturalDocs -nag -i $SOURCES -o HTML ./docs -p ./ndoc""",
target_factory=Dir)
self.env.Alias("docs",ndoc)
self.env.AlwaysBuild('docs/index.html')
b = Builder(subDirs) b = Builder(subDirs)

31
include/photon.hpp Normal file
View File

@ -0,0 +1,31 @@
#ifndef PHOTON_HPP
#define PHOTON_HPP
#include "AppCore.hpp"
#include "Application.hpp"
#include "entrypoint.hpp"
#include "exceptions.hpp"
#include "Log.hpp"
#include "LogSink.hpp"
#include "photon.hpp"
#include "ResourceManaged.hpp"
#include "ResourceManager.hpp"
#include "types.hpp"
#include "audio/AudioCore.hpp"
#include "glfw/types_glfw.hpp"
#include "math/Circle.hpp"
#include "math/math.hpp"
#include "math/Rect.hpp"
#include "math/Vector2.hpp"
#include "util/ConfigFile.hpp"
#include "util/FileBuffer.hpp"
#include "util/RandGen.hpp"
#include "util/Singleton.hpp"
#include "util/Timer.hpp"
#include "util/VersionInfo.hpp"
#include "video/Color.hpp"
#include "video/Pen.hpp"
#include "video/VideoCore.hpp"
#include "util/filesys/filesys.hpp"
#endif // PHOTON_HPP