Changeset 323 for trunk/nv.lua


Ignore:
Timestamp:
08/26/14 04:03:10 (11 years ago)
Author:
epyon
Message:
  • nova now compiles again under all three compilers with -Winsane and no warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv.lua

    r321 r323  
    55        includedirs { "." }
    66        files { "nv/core/**.hh", "nv/interface/**.hh", "nv/detail/**.inc", "src/core/**.cc" }
    7         targetname "nv-core"
    87
    98project "nv-lib"
     
    1413        files { "nv/lib/**.hh", "nv/lib/**.inl", "nv/lib/**.inc", "src/lib/**.cc" }
    1514        links { "nv-core" }
    16         targetname "nv-lib"
    1715
    1816project "nv-curses"
     
    2321        files { "nv/curses/**.hh",  "src/curses/**.cc" }
    2422        links { "nv-core", "nv-lib" }
    25         targetname "nv-curses"
    2623
    2724project "nv-fmod"
     
    3229        files { "nv/fmod/**.hh",    "src/fmod/**.cc" }
    3330        links { "nv-core", "nv-lib" }
    34         targetname "nv-fmod"
    3531
    3632project "nv-sdl"
     
    4137        files { "nv/sdl/**.hh",     "src/sdl/**.cc" }
    4238        links { "nv-core", "nv-lib" }
    43         targetname "nv-sdl"
    4439
    4540project "nv-gl"
     
    5045        files { "nv/gl/**.hh",     "src/gl/**.cc" }
    5146        links { "nv-core", "nv-lib" }
    52         targetname "nv-gl"
    5347
    5448project "nv-lua"
     
    5953        files { "nv/lua/**.hh",     "src/lua/**.cc" }
    6054        links { "nv-core", "nv-lib" }
    61         targetname "nv-lua"
    6255
    6356project "nv-rogue"
     
    6861        files { "nv/rogue/**.hh",     "src/rogue/**.cc" }
    6962        links { "nv-core" }
    70         targetname "nv-rogue"
    7163
    7264project "nv-io"
     
    7769        files { "nv/io/**.hh",     "src/io/**.cc" }
    7870        links { "nv-core" }
    79         targetname "nv-io"
    8071
    8172project "nv-gfx"
     
    8677        files { "nv/gfx/**.hh",  "src/gfx/**.cc" }
    8778        links { "nv-core" }
    88         targetname "nv-gfx"
    8979
    9080project "nv-engine"
     
    9484        includedirs { "." }
    9585        files { "nv/engine/**.hh",  "src/engine/**.cc" }
    96         links { "nv-core", "nv-lua" }
    97         targetname "nv-engine"
     86        links { "nv-core", "nv-lib", "nv-lua" }
    9887
    9988project "nv-formats"
     
    10493        files { "nv/formats/**.hh", "src/formats/**.cc" }
    10594        links { "nv-core", "nv-lib", "nv-io", "nv-gfx" }
    106         targetname "nv-formats"
    10795
    10896project "nv-gui"
     
    112100        includedirs { "." }
    113101        files { "nv/gui/**.hh",     "src/gui/**.cc" }
    114         links { "nv-core", "nv-io", "nv-gfx", "nv-lua" }
    115         targetname "nv-gui"
    116 
    117 project "nv"
    118         location (_ACTION)
    119         language "C++"
    120         kind "StaticLib"
    121         includedirs { "." }
    122         links { "nv-core", "nv-lib", "nv-curses", "nv-sdl", "nv-fmod", "nv-lua", "nv-gl", "nv-rogue", "nv-io", "nv-gfx", "nv-engine", "nv-formats", "nv-gui" }
    123         targetname "nv"
     102        links { "nv-core", "nv-lib", "nv-io", "nv-gfx", "nv-lua" }
    124103
    125104-- injection!
     
    151130                                -- no reasonable way to fix this with abstract
    152131                                -- interfaces.
    153                                 "-Wno-weak-vtables"
     132                                "-Wno-weak-vtables",
     133                                -- this can be reenabled if I find a nice solution
     134                                "-Wno-cast-align",
    154135                        }
    155136                        --buildoptions {
     
    159140                        buildoptions { "-std=c++0x" }
    160141                end
     142        configuration { "windows", "gmake" }
     143                linkoptions { "-mwindows" }
    161144
    162145        configuration "linux"
Note: See TracChangeset for help on using the changeset viewer.