This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 367 for ps


Ignore:
Timestamp:
06/02/04 19:44:30 (21 years ago)
Author:
Simon Brenner
Message:

Linux Changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/workspaces/premake/premake.lua

    r341 r367  
    4545                "../../terrain") },
    4646    -- main
    47         { "../../main.cpp" },
     47    { "../../main.cpp" },
    4848    -- scripting
    4949    { sourcesfromdirs("../../scripting") }
    5050}
    51 package.includepaths = { "../../ps", "../../simulation", "../../lib", "../../graphics", "../../maths", "../../renderer", "../../terrain", "../.." }
     51
     52package.includepaths = {
     53    "../../ps",
     54    "../../simulation",
     55    "../../lib",
     56    "../../graphics",
     57    "../../maths",
     58    "../../renderer",
     59    "../../terrain",
     60    "../.." }
     61
     62package.libpaths = {}
    5263
    5364-- Platform Specifics
     
    5970        "fmodvc"
    6071    }
    61         tinsert(package.files, sourcesfromdirs("../../lib/sysdep/win"))
     72    tinsert(package.files, sourcesfromdirs("../../lib/sysdep/win"))
    6273    package.linkoptions = { "/ENTRY:entry" }
    6374    package.linkflags = { "static-runtime" }
     
    6576else -- Non-Windows, = Unix
    6677    -- Libraries
    67     package.links = { "GL", "GLU", "X" }
     78    package.links = {
     79        -- OpenGL and X-Windows
     80        "GL", "GLU", "X11",
     81        "SDL", "png",
     82        "fmod-3.70",
     83        -- Utilities
     84        "xerces-c", "z", "rt"
     85    }
     86    tinsert(package.libpaths, { "/usr/X11R6/lib" } )
    6887    -- Defines
    69     package.defines = { "HAVE_X" }
     88    package.defines = {
     89        "__STDC_VERSION__=199901L" }
     90    -- Includes
     91    tinsert(package.includepaths, { "/usr/X11R6/include/X11" } )
     92   
     93    -- Build Flags
     94    package.buildoptions = { "`pkg-config mozilla-js --cflags`" }
     95    package.linkoptions = { "`pkg-config mozilla-js --libs`" }
     96    package.config["Debug"].buildoptions = { "-ggdb" }
    7097end
    71 
Note: See TracChangeset for help on using the changeset viewer.