Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 22, 2008, 7:17:46 PM (16 years ago)
Author:
rgrieder
Message:
  • Complete out-of-source builds working now with msvc (moved tolua files generation from the source to the build directory)
  • Bugfix in doit.lua and package.lua: Absolute windows paths don't start with a "\" but rather with a "X:"
Location:
code/branches/buildsystem2/src/tolua/lua
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/tolua/lua/doit.lua

    r2509 r2520  
    4646    -- do this after setting the package name
    4747    if flags.L then
    48         if string.sub(flags.L, 1, 1) == '/' or string.sub(flags.L, 1, 1) == '\\' then
     48        if string.sub(flags.L, 1, 1) == '/' or string.sub(flags.L, 1, 1) == '\\' or (string.len(flags.L) > 1 and string.sub(flags.L, 2, 2) == ':') then
    4949            dofile(flags.L)
    5050        else
     
    6363    local file
    6464    if flags.f then
    65         if string.sub(flags.f, 1, 1) == '/' or string.sub(flags.f, 1, 1) == '\\' then
     65        if string.sub(flags.f, 1, 1) == '/' or string.sub(flags.f, 1, 1) == '\\' or (string.len(flags.f) > 1 and string.sub(flags.f, 2, 2) == ':') then
    6666            file = flags.f
    6767        else
     
    7979    if flags.o then
    8080        local file
    81         if string.sub(flags.o, 1, 1) == '/' or string.sub(flags.o, 1, 1) == '\\' then
     81        if string.sub(flags.o, 1, 1) == '/' or string.sub(flags.o, 1, 1) == '\\' or (string.len(flags.o) > 1 and string.sub(flags.o, 2, 2) == ':') then
    8282            file = flags.o
    8383        else
     
    110110        if flags.H then
    111111            local file
    112             if string.sub(flags.H, 1, 1) == '/' or string.sub(flags.H, 1, 1) == '\\' then
     112            if string.sub(flags.H, 1, 1) == '/' or string.sub(flags.H, 1, 1) == '\\' or (string.len(flags.H) > 1 and string.sub(flags.H, 2, 2) == ':') then
    113113                file = flags.H
    114114            else
  • code/branches/buildsystem2/src/tolua/lua/package.lua

    r2509 r2520  
    252252        local file
    253253        if flags.f then
    254             if string.sub(flags.f, 1, 1) == '/' or string.sub(flags.f, 1, 1) == '\\' then
     254            if string.sub(flags.f, 1, 1) == '/' or string.sub(flags.f, 1, 1) == '\\' or (string.len(flags.f) > 1 and string.sub(flags.f, 2, 2) == ':') then
    255255                file = flags.f
    256256            else
Note: See TracChangeset for help on using the changeset viewer.