introduction of photon.hpp (autobuilt via SCons)
This commit is contained in:
parent
edeea755ad
commit
f73bc10e2d
11
SConstruct
11
SConstruct
@ -5,13 +5,13 @@
|
||||
# James Turk (jpt2433@rit.edu)
|
||||
#
|
||||
# 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 glob
|
||||
import string
|
||||
|
||||
subDirs = ['', 'audio', 'math', 'util', 'util/filesys']
|
||||
subDirs = ['', 'audio', 'math', 'util', 'util/filesys', 'video']
|
||||
libName = 'photon'
|
||||
|
||||
class Builder:
|
||||
@ -85,11 +85,16 @@ class Builder:
|
||||
def build(self):
|
||||
BuildDir('build', 'src', duplicate=0)
|
||||
self.checkDepends()
|
||||
|
||||
|
||||
self.namedBuild('photon', os.path.join('lib',libName), 'Library',
|
||||
default=True,
|
||||
source = self.srcFiles, CPPPATH = self.incDirs)
|
||||
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)
|
||||
|
31
include/photon.hpp
Normal file
31
include/photon.hpp
Normal 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
|
Loading…
Reference in New Issue
Block a user