Sun, 10 Nov 2024 14:06:03 +0100
improve the dist Makefile target
75
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="utf-8"?> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | <ItemGroup Label="ProjectConfigurations"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | <ProjectConfiguration Include="Debug|x64"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | <Configuration>Debug</Configuration> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | <Platform>x64</Platform> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
7 | </ProjectConfiguration> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | <ProjectConfiguration Include="Release|x64"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
9 | <Configuration>Release</Configuration> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
10 | <Platform>x64</Platform> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
11 | </ProjectConfiguration> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
12 | </ItemGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | <ItemGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
14 | <ClCompile Include="..\src\arguments.c" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
15 | <ClCompile Include="..\src\bfile_heuristics.c" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
16 | <ClCompile Include="..\src\cline.c" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
17 | <ClCompile Include="..\src\regex_parser.c" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
18 | <ClCompile Include="..\src\scanner.c" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | <ClCompile Include="..\src\settings.c" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | <ClCompile Include="..\src\string_list.c" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | </ItemGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | <ItemGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | <ClInclude Include="..\src\arguments.h" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | <ClInclude Include="..\src\bfile_heuristics.h" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
25 | <ClInclude Include="..\src\cline.h" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
26 | <ClInclude Include="..\src\regex_parser.h" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
27 | <ClInclude Include="..\src\scanner.h" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
28 | <ClInclude Include="..\src\settings.h" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
29 | <ClInclude Include="..\src\stdinc.h" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
30 | <ClInclude Include="..\src\string_list.h" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
31 | </ItemGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | <PropertyGroup Label="Globals"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
33 | <VCProjectVersion>17.0</VCProjectVersion> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
34 | <Keyword>Win32Proj</Keyword> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
35 | <ProjectGuid>{79a0817f-8dee-4e0d-9238-53a5023a708d}</ProjectGuid> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
36 | <RootNamespace>cline</RootNamespace> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
37 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
38 | </PropertyGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
39 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
40 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
41 | <ConfigurationType>Application</ConfigurationType> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
42 | <UseDebugLibraries>true</UseDebugLibraries> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
43 | <PlatformToolset>v143</PlatformToolset> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
44 | <CharacterSet>Unicode</CharacterSet> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
45 | </PropertyGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
46 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
47 | <ConfigurationType>Application</ConfigurationType> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
48 | <UseDebugLibraries>false</UseDebugLibraries> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
49 | <PlatformToolset>v143</PlatformToolset> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
50 | <WholeProgramOptimization>true</WholeProgramOptimization> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
51 | <CharacterSet>Unicode</CharacterSet> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
52 | </PropertyGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
53 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
54 | <ImportGroup Label="ExtensionSettings"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
55 | </ImportGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
56 | <ImportGroup Label="Shared"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
57 | </ImportGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
58 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
60 | </ImportGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
61 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
62 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
63 | </ImportGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
64 | <PropertyGroup Label="UserMacros" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
65 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
66 | <OutDir>$(SolutionDir)..\build\$(Configuration)\bin\</OutDir> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
67 | <IntDir>$(SolutionDir)..\build\$(Configuration)\obj\</IntDir> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
68 | </PropertyGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
69 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
70 | <OutDir>$(SolutionDir)..\build\$(Configuration)\bin\</OutDir> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
71 | <IntDir>$(SolutionDir)..\build\$(Configuration)\obj\</IntDir> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
72 | </PropertyGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
73 | <PropertyGroup Label="Vcpkg"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
74 | <VcpkgEnableManifest>true</VcpkgEnableManifest> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
75 | </PropertyGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
76 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
77 | <ClCompile> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
78 | <WarningLevel>Level3</WarningLevel> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
79 | <SDLCheck>true</SDLCheck> |
76
d11c154e33e1
fix zero-terminator written to wrong position when encountering too long lines - fixes #490
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
80 | <PreprocessorDefinitions>VERSION="1.4.2-win64-debug";_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
75
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
81 | <ConformanceMode>true</ConformanceMode> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
82 | <LanguageStandard_C>stdc11</LanguageStandard_C> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
83 | <AdditionalIncludeDirectories>$(ProjectDir)include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
84 | </ClCompile> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
85 | <Link> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
86 | <SubSystem>Console</SubSystem> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
87 | <GenerateDebugInformation>true</GenerateDebugInformation> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
88 | </Link> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
89 | </ItemDefinitionGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
90 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
91 | <ClCompile> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
92 | <WarningLevel>Level3</WarningLevel> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
93 | <FunctionLevelLinking>true</FunctionLevelLinking> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
94 | <IntrinsicFunctions>true</IntrinsicFunctions> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
95 | <SDLCheck>true</SDLCheck> |
76
d11c154e33e1
fix zero-terminator written to wrong position when encountering too long lines - fixes #490
Mike Becker <universe@uap-core.de>
parents:
75
diff
changeset
|
96 | <PreprocessorDefinitions>VERSION="1.4.2-win64";NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
75
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
97 | <ConformanceMode>true</ConformanceMode> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
98 | <LanguageStandard_C>stdc11</LanguageStandard_C> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
99 | <CompileAs>CompileAsC</CompileAs> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
100 | <AdditionalIncludeDirectories>$(ProjectDir)include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
101 | </ClCompile> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
102 | <Link> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
103 | <SubSystem>Console</SubSystem> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
104 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
105 | <OptimizeReferences>true</OptimizeReferences> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
106 | <GenerateDebugInformation>true</GenerateDebugInformation> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
107 | </Link> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
108 | </ItemDefinitionGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
109 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
110 | <ImportGroup Label="ExtensionTargets"> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
111 | </ImportGroup> |
ba4bc497c6a7
add msvc support - resolves #488
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
112 | </Project> |