Skip to content

Commit eb160f7

Browse files
initial gcc compilation setup project
1 parent 9c65de2 commit eb160f7

File tree

8 files changed

+353
-5
lines changed

8 files changed

+353
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ todo*.txt
2121
/XE2/DMS/GeoDmsGuiDelphi.dproj.local
2222
/XE2/DMS/GeoDmsGuiDelphi.identcache
2323
/XE2/DMS/GeoDmsGuiDelphi.res
24+
/msbuild_linux/obj

DmsLinuxDebug.props

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="14.1" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ImportGroup Label="PropertySheets">
4+
<Import Project="DmsLinuxDef.props" />
5+
</ImportGroup>
6+
<PropertyGroup>
7+
<_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion>
8+
<LinkIncremental>true</LinkIncremental>
9+
<RunCodeAnalysis>false</RunCodeAnalysis>
10+
</PropertyGroup>
11+
<PropertyGroup Label="Vcpkg">
12+
<VcpkgConfiguration>Debug</VcpkgConfiguration>
13+
</PropertyGroup>
14+
<PropertyGroup Label="Configuration">
15+
<UseDebugLibraries>true</UseDebugLibraries>
16+
</PropertyGroup>
17+
<ItemDefinitionGroup>
18+
<ClCompile>
19+
<PreprocessorDefinitions>_DEBUG;_ITERATOR_DEBUG_LEVEL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
20+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
21+
<Optimization>Disabled</Optimization>
22+
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
23+
<EnablePREfast>true</EnablePREfast>
24+
</ClCompile>
25+
<Midl>
26+
<PreprocessorDefinitions>_DEBUG;_ITERATOR_DEBUG_LEVEL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
27+
</Midl>
28+
<Link>
29+
<GenerateDebugInformation>true</GenerateDebugInformation>
30+
</Link>
31+
<ResourceCompile>
32+
<PreprocessorDefinitions>_DEBUG;_ITERATOR_DEBUG_LEVEL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
33+
</ResourceCompile>
34+
</ItemDefinitionGroup>
35+
</Project>

DmsLinuxDef.props

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="14.3" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion>
5+
<_PropertySheetDisplayName>Dms</_PropertySheetDisplayName>
6+
<OutDir>..\..\bin\$(Configuration)\$(Platform)\</OutDir>
7+
<IntDir>..\..\obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
8+
<RunCodeAnalysis>true</RunCodeAnalysis>
9+
<CAExcludePath>c:\SourceData\ext\boost;$(CAExcludePath)</CAExcludePath>
10+
<Platforms>x64;x86</Platforms>
11+
</PropertyGroup>
12+
<PropertyGroup Label="Configuration">
13+
<PlatformToolset>v143</PlatformToolset>
14+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
15+
<EnableUnitySupport>true</EnableUnitySupport>
16+
<CharacterSet>Unicode</CharacterSet>
17+
</PropertyGroup>
18+
<ItemDefinitionGroup>
19+
<Bscmake>
20+
<SuppressStartupBanner>true</SuppressStartupBanner>
21+
</Bscmake>
22+
<ClCompile>
23+
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;BOOST_SPIRIT_USE_OLD_NAMESPACE;BOOST_SPIRIT_THREADSAFE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
24+
<ExceptionHandling>Sync</ExceptionHandling>
25+
<RuntimeTypeInfo>true</RuntimeTypeInfo>
26+
<PrecompiledHeader></PrecompiledHeader>
27+
<SuppressStartupBanner>true</SuppressStartupBanner>
28+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
29+
<LanguageStandard>stdcpplatest</LanguageStandard>
30+
<TreatAngleIncludeAsExternal>true</TreatAngleIncludeAsExternal>
31+
<WarningLevel>Level3</WarningLevel>
32+
<ExternalWarningLevel>TurnOffAllWarnings</ExternalWarningLevel>
33+
<DisableAnalyzeExternal>true</DisableAnalyzeExternal>
34+
<AnalyzeExternalRuleset>BasicCorrectnessRules.ruleset</AnalyzeExternalRuleset>
35+
<SDLCheck>true</SDLCheck>
36+
<FunctionLevelLinking>true</FunctionLevelLinking>
37+
<IntrinsicFunctions>true</IntrinsicFunctions>
38+
<ConformanceMode>true</ConformanceMode>
39+
<ControlFlowGuard>Guard</ControlFlowGuard>
40+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
41+
</ClCompile>
42+
<Link>
43+
<SuppressStartupBanner>true</SuppressStartupBanner>
44+
<LargeAddressAware>true</LargeAddressAware>
45+
<AdditionalDependencies>user32.lib;uuid.lib;%(AdditionalDependencies)</AdditionalDependencies>
46+
<DataExecutionPrevention>true</DataExecutionPrevention>
47+
<SubSystem>Windows</SubSystem>
48+
<GenerateDebugInformation>true</GenerateDebugInformation>
49+
<StackReserveSize>67108864</StackReserveSize>
50+
<StackCommitSize>8192</StackCommitSize>
51+
</Link>
52+
<Midl>
53+
<MkTypLibCompatible>true</MkTypLibCompatible>
54+
<SuppressStartupBanner>true</SuppressStartupBanner>
55+
</Midl>
56+
<ResourceCompile>
57+
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;BOOST_SPIRIT_USE_OLD_NAMESPACE;BOOST_SPIRIT_THREADSAFE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
58+
<Culture>0x0409</Culture>
59+
</ResourceCompile>
60+
</ItemDefinitionGroup>
61+
<ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
62+
<Midl>
63+
<TargetEnvironment>Win32</TargetEnvironment>
64+
</Midl>
65+
</ItemDefinitionGroup>
66+
<ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
67+
<Midl>
68+
<TargetEnvironment>ia64</TargetEnvironment>
69+
</Midl>
70+
</ItemDefinitionGroup>
71+
</Project>

DmsLinuxRelease.props

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="14.1" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ImportGroup Label="PropertySheets">
4+
<Import Project="DmsLinuxDef.props" />
5+
</ImportGroup>
6+
<PropertyGroup>
7+
<_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion>
8+
<CopyCppRuntimeToOutputDir>true</CopyCppRuntimeToOutputDir>
9+
<LinkIncremental>false</LinkIncremental>
10+
</PropertyGroup>
11+
<PropertyGroup Label="Vcpkg">
12+
<VcpkgConfiguration>Release</VcpkgConfiguration>
13+
</PropertyGroup>
14+
<PropertyGroup Label="Configuration">
15+
<UseDebugLibraries>false</UseDebugLibraries>
16+
<WholeProgramOptimization>true</WholeProgramOptimization>
17+
</PropertyGroup>
18+
<ItemDefinitionGroup>
19+
<Midl>
20+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
21+
</Midl>
22+
<ClCompile>
23+
<PreprocessorDefinitions>NDEBUG;_ITERATOR_DEBUG_LEVEL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
24+
<Optimization>MaxSpeed</Optimization>
25+
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
26+
<StringPooling>true</StringPooling>
27+
<OmitFramePointers>true</OmitFramePointers>
28+
<FunctionLevelLinking>true</FunctionLevelLinking>
29+
<WholeProgramOptimization>true</WholeProgramOptimization>
30+
<EnablePREfast>true</EnablePREfast>
31+
</ClCompile>
32+
<ResourceCompile>
33+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
34+
</ResourceCompile>
35+
<Link>
36+
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
37+
<RandomizedBaseAddress>true</RandomizedBaseAddress>
38+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
39+
<OptimizeReferences>true</OptimizeReferences>
40+
</Link>
41+
</ItemDefinitionGroup>
42+
</Project>

0 commit comments

Comments
 (0)