1
0
forked from 0ad/0ad

by request of sluzky: add JS files to VS workspace to allow find-in-files and open-file-in-workspace

This was SVN commit r7150.
This commit is contained in:
janwas 2009-10-04 11:49:07 +00:00
parent ea4abb8f3c
commit f76dc5a062
2 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,8 @@ function sourcesfromdirs(root, dirs)
prefix.."*.cpp",
prefix.."*.h",
prefix.."*.inl",
prefix.."*.asm")
prefix.."*.asm",
prefix.."*.js")
listconcat(res, files)
end
return res

View File

@ -463,6 +463,9 @@ function setup_all_libs ()
"gui",
"gui/scripting"
}
if OS == "windows" then -- add JS files to allow VS find-in-solution and VA open-file-in-workspace
tinsert(source_dirs, "../binaries/data/mods/public/gui/test")
end
extern_libs = {
"spidermonkey",
"sdl", -- key definitions