Changeset 551 for trunk/nv.lua


Ignore:
Timestamp:
03/14/17 16:44:18 (8 years ago)
Author:
epyon
Message:
  • clang compatibility
  • ecs upgrades
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv.lua

    r537 r551  
    112112        links { "nv-core", "nv-lib", "nv-io", "nv-gfx", "nv-lua" }
    113113
     114--[[
    114115-- injection!
    115116solution( solution().name )
    116117        configuration "gmake"
    117                 if _ACTION == "gmake-clang" then
     118                if CLANG then
    118119                        buildoptions {
    119                                 "-std=c++1z",
     120                                "-std=c++14",
    120121--                                -- on Mac OS X don't try to use old stdc++
    121122--                                "-stdlib=libc++",
    122                                 "-Weverything",
     123--                              "-Weverything",
    123124                                -- math is so much easier with these
     125                                "-w",
    124126                                "-Wno-gnu-anonymous-struct",
    125127                                "-Wno-nested-anon-types",
     
    163165
    164166if _ACTION == "gmake-clang" then
    165         premake.gcc.cc  = "clang"
    166         premake.gcc.cxx = "clang++"
     167        toolset "clang"
    167168        _ACTION = "gmake"
    168169end
     
    178179        end
    179180end
     181
     182--]]
Note: See TracChangeset for help on using the changeset viewer.