Merge pull request #772 from Blizzard/fix-default-entrypoint
[core] Don't set default entrypoint, rely on visual studio default.
This commit is contained in:
commit
b6385ce89e
@ -1545,7 +1545,4 @@
|
||||
filter { "system:macosx" }
|
||||
toolset "clang"
|
||||
|
||||
filter { "system:windows", "kind:WindowedApp or ConsoleApp" }
|
||||
entrypoint "mainCRTStartup"
|
||||
|
||||
filter {}
|
||||
|
@ -41,7 +41,6 @@
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="false"
|
||||
SubSystem="1"
|
||||
EntryPointSymbol="mainCRTStartup"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
]]
|
||||
@ -62,7 +61,6 @@
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="false"
|
||||
SubSystem="2"
|
||||
EntryPointSymbol="mainCRTStartup"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
]]
|
||||
@ -138,7 +136,6 @@
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
EntryPointSymbol="mainCRTStartup"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
]]
|
||||
|
@ -52,7 +52,6 @@
|
||||
test.capture [[
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
|
||||
</Link>
|
||||
]]
|
||||
end
|
||||
@ -71,7 +70,6 @@
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>bin\Ares\Debug\MyProject2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
|
||||
</Link>
|
||||
<ProjectReference>
|
||||
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||
|
@ -72,7 +72,6 @@
|
||||
test.capture [[
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
|
||||
]]
|
||||
end
|
||||
|
||||
@ -82,7 +81,6 @@
|
||||
test.capture [[
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
|
||||
]]
|
||||
end
|
||||
|
||||
@ -108,6 +106,22 @@
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- Test the handling of the entrypoint API.
|
||||
--
|
||||
function suite.onEntryPoint()
|
||||
kind "ConsoleApp"
|
||||
entrypoint "foobar"
|
||||
prepare()
|
||||
test.capture [[
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EntryPointSymbol>foobar</EntryPointSymbol>
|
||||
</Link>
|
||||
]]
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- Test the handling of the NoImplicitLink flag.
|
||||
--
|
||||
@ -508,7 +522,6 @@
|
||||
test.capture [[
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
|
||||
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
|
||||
]]
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user