Changeset 17
- Timestamp:
- 05/12/13 10:37:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/premake4.lua
r2 r17 1 -- Error handling if user didn't provide any action/target 2 -- for the build 3 if _ACTION == nil then 4 print "Error! You must specify target build" 5 print "Example: ./premake4 gmake" 6 print " This will create makefiles for Linux" 7 print "" 8 print "Aborting!" 9 print "" 10 return 11 end 12 1 13 solution "nv" 2 14 configurations { "debug", "release" } 15 16 -- For starters, check the target build. 17 -- If this is a gmake build we must add these 18 -- flags to enable C++11 support. 19 if _ACTION == "gmake" then 20 buildoptions "-std=c++11" 21 end 3 22 4 23 targetdir "bin"
Note: See TracChangeset
for help on using the changeset viewer.