Changeset 120 for trunk/nv.lua
- Timestamp:
- 06/15/13 02:05:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv.lua
r2 r120 1 -- project definition for nv2 1 project "nv" 3 2 location (_ACTION) 4 3 language "C++" 5 4 kind "StaticLib" 6 5 includedirs { "." } 7 6 files { "nv/**.hh", "nv/**.inl", "src/**.cc" } 8 7 targetname "nv" 8 9 -- injection! 10 solution( solution().name ) 11 configuration "*" 12 includedirs { os.getenv("GLM_PATH") } 13 configuration "gmake" 14 buildoptions "-std=c++0x" 15 configuration "vs*" 16 defines { "_SECURE_SCL=0", "_CRT_SECURE_NO_WARNINGS=1" } 17 18 if _ACTION == "gmake-clang" then 19 premake.gcc.cc = "clang" 20 premake.gcc.cxx = "clang++" 21 _ACTION = "gmake" 22 end 23 24 premake.action.add { 25 trigger = "gmake-clang", 26 description = "gmake file with clang overrides, needs 'make -R' to work", 27 } 28 29 if _ACTION == "clean" then 30 for action in premake.action.each() do 31 os.rmdir(action.trigger) 32 end 33 end
Note: See TracChangeset
for help on using the changeset viewer.