- Timestamp:
- 06/02/04 19:44:30 (21 years ago)
- File:
-
- 1 edited
-
ps/trunk/source/workspaces/premake/premake.lua (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/workspaces/premake/premake.lua
r341 r367 45 45 "../../terrain") }, 46 46 -- main 47 { "../../main.cpp" },47 { "../../main.cpp" }, 48 48 -- scripting 49 49 { sourcesfromdirs("../../scripting") } 50 50 } 51 package.includepaths = { "../../ps", "../../simulation", "../../lib", "../../graphics", "../../maths", "../../renderer", "../../terrain", "../.." } 51 52 package.includepaths = { 53 "../../ps", 54 "../../simulation", 55 "../../lib", 56 "../../graphics", 57 "../../maths", 58 "../../renderer", 59 "../../terrain", 60 "../.." } 61 62 package.libpaths = {} 52 63 53 64 -- Platform Specifics … … 59 70 "fmodvc" 60 71 } 61 tinsert(package.files, sourcesfromdirs("../../lib/sysdep/win"))72 tinsert(package.files, sourcesfromdirs("../../lib/sysdep/win")) 62 73 package.linkoptions = { "/ENTRY:entry" } 63 74 package.linkflags = { "static-runtime" } … … 65 76 else -- Non-Windows, = Unix 66 77 -- 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" } ) 68 87 -- 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" } 70 97 end 71
Note:
See TracChangeset
for help on using the changeset viewer.
