Last change
on this file since 52 was
52,
checked in by epyon, 12 years ago
|
- tests/lualib_test - simple interpreter for testing libraries
|
File size:
532 bytes
|
Rev | Line | |
---|
[52] | 1 | solution "nv_lualib_test"
|
---|
| 2 | configurations { "debug", "release" }
|
---|
| 3 |
|
---|
| 4 | language "C++"
|
---|
| 5 | flags { "ExtraWarnings", "NoPCH" }
|
---|
| 6 |
|
---|
| 7 | configuration "debug"
|
---|
| 8 | defines { "DEBUG" }
|
---|
| 9 | flags { "Symbols", "StaticRuntime" }
|
---|
| 10 | objdir (_ACTION.."/debug")
|
---|
| 11 |
|
---|
| 12 | configuration "release"
|
---|
| 13 | defines { "NDEBUG" }
|
---|
| 14 | flags { "Optimize", "StaticRuntime" }
|
---|
| 15 | objdir (_ACTION.."/release")
|
---|
| 16 |
|
---|
| 17 | dofile("lualib_test.lua")
|
---|
| 18 | dofile("../../nv.lua")
|
---|
| 19 |
|
---|
| 20 | if _ACTION == "clean" then
|
---|
| 21 | for action in premake.action.each() do
|
---|
| 22 | os.rmdir(action.trigger)
|
---|
| 23 | end
|
---|
| 24 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.