checked lib section for a static lib
This commit is contained in:
parent
50e1665c34
commit
223b5429f0
@ -295,7 +295,7 @@ premake.vstudio.vcxproj = { }
|
||||
function item_def_lib(cfg)
|
||||
if cfg.kind == 'StaticLib' then
|
||||
_p(1,'<Lib>')
|
||||
_p(2,'<OutputFile>$(OutDir)%s.lib</OutputFile>',"some_name")
|
||||
_p(2,'<OutputFile>$(OutDir)%s</OutputFile>',cfg.buildtarget.name)
|
||||
_p(1,'</Lib>')
|
||||
end
|
||||
end
|
||||
|
@ -27,3 +27,14 @@
|
||||
local buffer = get_buffer()
|
||||
test.string_does_not_contain(buffer,'<Link>*.*</Link>')
|
||||
end
|
||||
|
||||
function vs10_project_kinds.staticLib_containsLibSection()
|
||||
kind "StaticLib"
|
||||
local buffer = get_buffer()
|
||||
test.string_contains(buffer,'<ItemDefinitionGroup*.*<Lib>*.*</Lib>*.*</ItemDefinitionGroup>')
|
||||
end
|
||||
function vs10_project_kinds.staticLib_libSection_containsProjectNameDotLib()
|
||||
kind "StaticLib"
|
||||
local buffer = get_buffer()
|
||||
test.string_contains(buffer,'<Lib>*.*<OutputFile>*.*MyProject.lib*.*</OutputFile>*.*</Lib>')
|
||||
end
|
8
todo.txt
8
todo.txt
@ -17,15 +17,11 @@ fix ProgramDataBaseFileName tag currently at line 285 see note which states
|
||||
added for now but it will removed or altered when I find out
|
||||
what is the correct thing to do.
|
||||
|
||||
check why <MinimalRebuild>true</MinimalRebuild> is missing in a debug static lib build
|
||||
|
||||
support C
|
||||
support Managed C++
|
||||
support C#
|
||||
|
||||
find out why a unit test is failing
|
||||
fails at the following test_os line 16
|
||||
function suite.findlib_FindSystemLib()
|
||||
local libname = iif(os.is("windows"), "user32", "m")
|
||||
test.istrue(os.findlib(libname))
|
||||
end
|
||||
|
||||
No64BitChecks is removed after being deprciated in previous releases
|
||||
|
Loading…
Reference in New Issue
Block a user