Last active
October 19, 2018 20:46
-
-
Save hugoam/a964fd0ee2f95e3096464eb2c0f92e8f to your computer and use it in GitHub Desktop.
minimal toy build scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
toy.all = table.union(mud.mud, toy.toy) | |
game = mud_module(nil, "game", path.join(GAME_DIR, "src"), "game", nil, nil, nil, toy.all) | |
toy_shell("game", { game }) | |
-- add project specific configuration here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
solution "game" | |
configurations { | |
"Debug", | |
"Release", | |
} | |
platforms { | |
"x32", | |
"x64" | |
} | |
language "C++" | |
PROJECT_DIR = path.getabsolute("..") | |
GAME_DIR = path.getabsolute("..") | |
BUILD_DIR = path.join(path.getabsolute(".."), "build") | |
dofile(path.join(PROJECT_DIR, "toy/scripts/toolchain.lua")) | |
dofile(path.join(PROJECT_DIR, "toy/scripts/toy.lua")) | |
group "bin" | |
dofile "game.lua" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment