source: trunk/premake4.lua @ 2

Last change on this file since 2 was 2, checked in by epyon, 13 years ago
  • trunk layout
  • premake files
File size: 645 bytes
Line 
1solution "nv"
2        configurations { "debug", "release" }
3
4        targetdir "bin"
5        flags { "ExtraWarnings", "NoPCH" }
6        language "C++"
7
8        configuration "debug"
9                defines { "DEBUG" }
10                flags { "Symbols" }
11                targetdir "bin"
12                objdir (_ACTION.."/debug")
13
14        configuration "release"
15                defines { "NDEBUG" }
16                flags { "Optimize" }
17                targetdir "bin"
18                objdir (_ACTION.."/release")
19
20        dofile("nv.lua")
21       
22newaction {
23        trigger     = "doc",
24        description = "Run doxygen",
25        execute     = function ()
26                os.execute("doxygen")
27        end
28}
29
30if _ACTION == "clean" then
31        for action in premake.action.each() do
32                os.rmdir(action.trigger)
33        end
34end
35
Note: See TracBrowser for help on using the repository browser.