Merge pull request #1197 from LORgames/ssurtees/makefileFixes
Added missing elements in Visual Studio Makefile projects
This commit is contained in:
commit
6fc0497d6a
@ -151,6 +151,39 @@ command 2</NMakeBuildCommandLine>
|
|||||||
]]
|
]]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function suite.onBinDirs()
|
||||||
|
bindirs { "include/lua", "include/zlib" }
|
||||||
|
prepare()
|
||||||
|
test.capture [[
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ExecutablePath>$(ProjectDir)include\lua;$(ProjectDir)include\zlib;$(ExecutablePath)</ExecutablePath>
|
||||||
|
<NMakeOutput>$(OutDir)MyProject</NMakeOutput>
|
||||||
|
</PropertyGroup>
|
||||||
|
]]
|
||||||
|
end
|
||||||
|
|
||||||
|
function suite.onSysIncludeDirs()
|
||||||
|
sysincludedirs { "include/lua", "include/zlib" }
|
||||||
|
prepare()
|
||||||
|
test.capture [[
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<IncludePath>include\lua;include\zlib;$(IncludePath)</IncludePath>
|
||||||
|
<NMakeOutput>$(OutDir)MyProject</NMakeOutput>
|
||||||
|
</PropertyGroup>
|
||||||
|
]]
|
||||||
|
end
|
||||||
|
|
||||||
|
function suite.onSysLibDirs()
|
||||||
|
syslibdirs { "include/lua", "include/zlib" }
|
||||||
|
prepare()
|
||||||
|
test.capture [[
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LibraryPath>include\lua;include\zlib;$(LibraryPath)</LibraryPath>
|
||||||
|
<NMakeOutput>$(OutDir)MyProject</NMakeOutput>
|
||||||
|
</PropertyGroup>
|
||||||
|
]]
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Should not emit include dirs or preprocessor definitions if the project
|
-- Should not emit include dirs or preprocessor definitions if the project
|
||||||
|
@ -253,6 +253,9 @@
|
|||||||
|
|
||||||
m.elements.nmakeProperties = function(cfg)
|
m.elements.nmakeProperties = function(cfg)
|
||||||
return {
|
return {
|
||||||
|
m.executablePath,
|
||||||
|
m.includePath,
|
||||||
|
m.libraryPath,
|
||||||
m.nmakeOutput,
|
m.nmakeOutput,
|
||||||
m.nmakeBuildCommands,
|
m.nmakeBuildCommands,
|
||||||
m.nmakeRebuildCommands,
|
m.nmakeRebuildCommands,
|
||||||
|
Loading…
Reference in New Issue
Block a user