Game Development Reference
In-Depth Information
Setting up the file structure
The next step is to set up the actual file structure for the C++ source files, C++ header files,
and Lua script files for the demo. Create the corresponding directory structure based on the
entry you added to the
SandboxDemos
table. Premake will automatically search for any
.h
,
.cpp
, and
.lua
files that reside within these folders and any subfolders, automatic-
ally adding them to the Visual Studio project during the solution regeneration:
src/my_sandbox/include
src/my_sandbox/src
src/my_sandbox/script