Changeset 61 for trunk/tests


Ignore:
Timestamp:
05/30/13 16:15:09 (12 years ago)
Author:
melon
Message:

Modified LUA script to support Linux

Modified types.hh, still the header gives errors

Modified function in object.hh. By standarts, the typename is not needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/render_test/premake4.lua

    r46 r61  
     1if _ACTION == nil then
     2        print "Error! You must specify target build"
     3        print "Example: ./premake4 gmake"
     4        print "    This will create makefiles for Linux"
     5        print ""
     6        print "Aborting!"
     7        print ""
     8        return
     9end
     10
    111solution "nv_render_test"
    212        configurations { "debug", "release" }
     
    414        language "C++"
    515        flags { "ExtraWarnings", "NoPCH" }
     16
     17        -- For starters, check the target build.
     18        -- If this is a gmake build we must add these
     19        -- flags to enable C++11 support.
     20        if _ACTION == "gmake" then
     21                buildoptions "-std=c++11"
     22        end
    623
    724        configuration "debug"
Note: See TracChangeset for help on using the changeset viewer.