Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d20e5f024e | |||
|
|
5348c6e002 | ||
|
|
07934c01d5 | ||
|
|
84e7c726c9 | ||
|
|
7170c0b8f0 |
47
.gitignore
vendored
Normal file
47
.gitignore
vendored
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# Prerequisites
|
||||||
|
*.d
|
||||||
|
|
||||||
|
# Compiled Object files
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Compiled Dynamic libraries
|
||||||
|
*.so
|
||||||
|
*.dylib
|
||||||
|
*.dll
|
||||||
|
|
||||||
|
# Fortran module files
|
||||||
|
*.mod
|
||||||
|
*.smod
|
||||||
|
|
||||||
|
# Compiled Static libraries
|
||||||
|
*.lai
|
||||||
|
*.la
|
||||||
|
*.a
|
||||||
|
*.lib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
|
||||||
|
|
||||||
|
.DS_STORE
|
||||||
|
|
||||||
|
Win32
|
||||||
|
*.vcxproj.user
|
||||||
|
|
||||||
|
.vs
|
||||||
|
SimulationsRunner/Debug
|
||||||
|
SimulationsRunner/Release
|
||||||
|
|
||||||
|
x64/
|
||||||
|
Win32/
|
||||||
|
Debug/
|
||||||
|
Release/
|
||||||
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
2
.idea/game-physics.iml
generated
Normal file
2
.idea/game-physics.iml
generated
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module classpath="CMake" type="CPP_MODULE" version="4" />
|
||||||
4
.idea/misc.xml
generated
Normal file
4
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
|
||||||
|
</project>
|
||||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/game-physics.iml" filepath="$PROJECT_DIR$/.idea/game-physics.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
496
AntTweakBar/src/AntTweakBar_2022.vcxproj
Normal file
496
AntTweakBar/src/AntTweakBar_2022.vcxproj
Normal file
@@ -0,0 +1,496 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}</ProjectGuid>
|
||||||
|
<RootNamespace>AntTweakBar</RootNamespace>
|
||||||
|
<ProjectName>AntTweakBar</ProjectName>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>11.0.50727.1</_ProjectFileVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<OutDir>../lib\</OutDir>
|
||||||
|
<IntDir>release64\</IntDir>
|
||||||
|
<IgnoreImportLibrary>false</IgnoreImportLibrary>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<TargetName>$(ProjectName)64</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<IgnoreImportLibrary>false</IgnoreImportLibrary>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<TargetName>$(ProjectName)</TargetName>
|
||||||
|
<OutDir>../lib\</OutDir>
|
||||||
|
<IntDir>release32\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<OutDir>../lib/debug\</OutDir>
|
||||||
|
<IntDir>debug64\</IntDir>
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<TargetName>$(ProjectName)64</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<TargetName>$(ProjectName)</TargetName>
|
||||||
|
<OutDir>../lib/debug\</OutDir>
|
||||||
|
<IntDir>debug32\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>fxc /T vs_4_0_level_9_1 /E LineRectVS /Fh $(IntDir)TwDirect3D11_LineRectVS.h TwDirect3D11.hlsl
|
||||||
|
fxc/T vs_4_0_level_9_1 /E LineRectCstColorVS /Fh $(IntDir)TwDirect3D11_LineRectCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /T ps_4_0_level_9_1 /E LineRectPS /Fh $(IntDir)TwDirect3D11_LineRectPS.h TwDirect3D11.hlsl
|
||||||
|
fxc /T vs_4_0_level_9_1 /E TextVS /Fh $(IntDir)TwDirect3D11_TextVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /T vs_4_0_level_9_1 /E TextCstColorVS /Fh $(IntDir)TwDirect3D11_TextCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /T ps_4_0_level_9_1 /E TextPS /Fh $(IntDir)TwDirect3D11_TextPS.h TwDirect3D11.hlsl
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TargetEnvironment>X64</TargetEnvironment>
|
||||||
|
<TypeLibraryName>$(OutDir)AntTweakBar.tlb</TypeLibraryName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Full</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<AdditionalIncludeDirectories>../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN64;_WIN64;NDEBUG;_WINDOWS;_USRDLL;TW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<ExceptionHandling />
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>TwPrecomp.h</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>$(IntDir)AntTweakBar.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat />
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
<AdditionalIncludeDirectories>res;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<RegisterOutput>false</RegisterOutput>
|
||||||
|
<OutputFile>$(OutDir)AntTweakBar64.dll</OutputFile>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
|
||||||
|
<MapExports>false</MapExports>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention />
|
||||||
|
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>mkdir "$(SolutionDir)$(Platform)/$(Configuration)"
|
||||||
|
xcopy /y /f "$(TargetPath)" "$(SolutionDir)$(Platform)/$(Configuration)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>fxc /T vs_4_0_level_9_1 /E LineRectVS /Fh $(IntDir)TwDirect3D11_LineRectVS.h TwDirect3D11.hlsl
|
||||||
|
fxc/T vs_4_0_level_9_1 /E LineRectCstColorVS /Fh $(IntDir)TwDirect3D11_LineRectCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /T ps_4_0_level_9_1 /E LineRectPS /Fh $(IntDir)TwDirect3D11_LineRectPS.h TwDirect3D11.hlsl
|
||||||
|
fxc /T vs_4_0_level_9_1 /E TextVS /Fh $(IntDir)TwDirect3D11_TextVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /T vs_4_0_level_9_1 /E TextCstColorVS /Fh $(IntDir)TwDirect3D11_TextCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /T ps_4_0_level_9_1 /E TextPS /Fh $(IntDir)TwDirect3D11_TextPS.h TwDirect3D11.hlsl
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TypeLibraryName>$(OutDir)AntTweakBar.tlb</TypeLibraryName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Full</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<AdditionalIncludeDirectories>../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;TW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<ExceptionHandling>
|
||||||
|
</ExceptionHandling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<ForceConformanceInForLoopScope>true</ForceConformanceInForLoopScope>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>TwPrecomp.h</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>$(IntDir)AntTweakBar.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>
|
||||||
|
</DebugInformationFormat>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
<AdditionalIncludeDirectories>res;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<RegisterOutput>false</RegisterOutput>
|
||||||
|
<OutputFile>$(OutDir)AntTweakBar.dll</OutputFile>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
|
||||||
|
<MapExports>false</MapExports>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>mkdir "$(SolutionDir)$(Platform)/$(Configuration)"
|
||||||
|
xcopy /y /f "$(TargetPath)" "$(SolutionDir)$(Platform)/$(Configuration)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>fxc /Od /Zi /T vs_4_0_level_9_1 /E LineRectVS /Fh $(IntDir)TwDirect3D11_LineRectVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T vs_4_0_level_9_1 /E LineRectCstColorVS /Fh $(IntDir)TwDirect3D11_LineRectCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T ps_4_0_level_9_1 /E LineRectPS /Fh $(IntDir)TwDirect3D11_LineRectPS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T vs_4_0_level_9_1 /E TextVS /Fh $(IntDir)TwDirect3D11_TextVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T vs_4_0_level_9_1 /E TextCstColorVS /Fh $(IntDir)TwDirect3D11_TextCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T ps_4_0_level_9_1 /E TextPS /Fh $(IntDir)TwDirect3D11_TextPS.h TwDirect3D11.hlsl
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TargetEnvironment>X64</TargetEnvironment>
|
||||||
|
<TypeLibraryName>$(OutDir)AntTweakBar.tlb</TypeLibraryName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN64;_WIN64;_DEBUG;_WINDOWS;_USRDLL;TW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>TwPrecomp.h</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>$(IntDir)AntTweakBar.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
<AdditionalIncludeDirectories>res;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<OutputFile>$(OutDir)AntTweakBar64.dll</OutputFile>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention />
|
||||||
|
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>mkdir "$(SolutionDir)$(Platform)/$(Configuration)"
|
||||||
|
xcopy /y /f "$(TargetPath)" "$(SolutionDir)$(Platform)/$(Configuration)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>fxc /Od /Zi /T vs_4_0_level_9_1 /E LineRectVS /Fh $(IntDir)TwDirect3D11_LineRectVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T vs_4_0_level_9_1 /E LineRectCstColorVS /Fh $(IntDir)TwDirect3D11_LineRectCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T ps_4_0_level_9_1 /E LineRectPS /Fh $(IntDir)TwDirect3D11_LineRectPS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T vs_4_0_level_9_1 /E TextVS /Fh $(IntDir)TwDirect3D11_TextVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T vs_4_0_level_9_1 /E TextCstColorVS /Fh $(IntDir)TwDirect3D11_TextCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
fxc /Od /Zi /T ps_4_0_level_9_1 /E TextPS /Fh $(IntDir)TwDirect3D11_TextPS.h TwDirect3D11.hlsl
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TypeLibraryName>$(OutDir)AntTweakBar.tlb</TypeLibraryName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;TW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>TwPrecomp.h</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>$(IntDir)AntTweakBar.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
<AdditionalIncludeDirectories>res;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<OutputFile>$(OutDir)AntTweakBar.dll</OutputFile>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>mkdir "$(SolutionDir)$(Platform)/$(Configuration)"
|
||||||
|
xcopy /y /f "$(TargetPath)" "$(SolutionDir)$(Platform)/$(Configuration)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="LoadOGL.cpp" />
|
||||||
|
<ClCompile Include="LoadOGLCore.cpp" />
|
||||||
|
<ClCompile Include="TwBar.cpp" />
|
||||||
|
<ClCompile Include="TwColors.cpp" />
|
||||||
|
<ClCompile Include="TwDirect3D10.cpp" />
|
||||||
|
<ClCompile Include="TwDirect3D11.cpp" />
|
||||||
|
<ClCompile Include="TwDirect3D9.cpp" />
|
||||||
|
<ClCompile Include="TwEventGLFW.c">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TwEventGLUT.c">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TwEventSDL.c">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TwEventSDL12.c">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TwEventSDL13.c">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TwEventSFML.cpp">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TwEventWin.c">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TwFonts.cpp" />
|
||||||
|
<ClCompile Include="TwMgr.cpp" />
|
||||||
|
<ClCompile Include="TwOpenGL.cpp" />
|
||||||
|
<ClCompile Include="TwOpenGLCore.cpp">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TwPrecomp.cpp">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="TwDirect3D11.hlsl">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\AntTweakBar.h" />
|
||||||
|
<ClInclude Include="AntPerfTimer.h" />
|
||||||
|
<ClInclude Include="LoadOGL.h" />
|
||||||
|
<ClInclude Include="LoadOGLCore.h" />
|
||||||
|
<ClInclude Include="MiniGLFW.h" />
|
||||||
|
<ClInclude Include="MiniGLUT.h" />
|
||||||
|
<ClInclude Include="MiniSDL12.h" />
|
||||||
|
<ClInclude Include="MiniSDL13.h" />
|
||||||
|
<ClInclude Include="MiniSFML16.h" />
|
||||||
|
<ClInclude Include="resource.h" />
|
||||||
|
<ClInclude Include="TwBar.h" />
|
||||||
|
<ClInclude Include="TwColors.h" />
|
||||||
|
<ClInclude Include="TwDirect3D10.h" />
|
||||||
|
<ClInclude Include="TwDirect3D11.h" />
|
||||||
|
<ClInclude Include="TwDirect3D9.h" />
|
||||||
|
<ClInclude Include="TwFonts.h" />
|
||||||
|
<ClInclude Include="TwGraph.h" />
|
||||||
|
<ClInclude Include="TwMgr.h" />
|
||||||
|
<ClInclude Include="TwOpenGL.h" />
|
||||||
|
<ClInclude Include="TwOpenGLCore.h" />
|
||||||
|
<ClInclude Include="TwPrecomp.h" />
|
||||||
|
<ClInclude Include="res\TwXCursors.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="AntTweakBar.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="res\cur00000.cur" />
|
||||||
|
<None Include="res\cur00001.cur" />
|
||||||
|
<None Include="res\cur00002.cur" />
|
||||||
|
<None Include="res\cur00003.cur" />
|
||||||
|
<None Include="res\cur00004.cur" />
|
||||||
|
<None Include="res\cur00005.cur" />
|
||||||
|
<None Include="res\cur00006.cur" />
|
||||||
|
<None Include="res\cur00007.cur" />
|
||||||
|
<None Include="res\cur00008.cur" />
|
||||||
|
<None Include="res\cur00009.cur" />
|
||||||
|
<None Include="res\cur00010.cur" />
|
||||||
|
<None Include="res\cur00011.cur" />
|
||||||
|
<None Include="res\cur00012.cur" />
|
||||||
|
<None Include="res\cur00013.cur" />
|
||||||
|
<None Include="res\FontFixed1.pgm" />
|
||||||
|
<None Include="res\FontLargeAA.pgm" />
|
||||||
|
<None Include="res\FontNormal.pgm" />
|
||||||
|
<None Include="FontSmall.pgm" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Text Include="res\FontChars.txt" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
457
AntTweakBar/src/CMakeLists.txt
Normal file
457
AntTweakBar/src/CMakeLists.txt
Normal file
@@ -0,0 +1,457 @@
|
|||||||
|
set(PROJECT_NAME AntTweakBar)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Source groups
|
||||||
|
################################################################################
|
||||||
|
set(no_group_source_files
|
||||||
|
"FontSmall.pgm"
|
||||||
|
"res/cur00000.cur"
|
||||||
|
"res/cur00001.cur"
|
||||||
|
"res/cur00002.cur"
|
||||||
|
"res/cur00003.cur"
|
||||||
|
"res/cur00004.cur"
|
||||||
|
"res/cur00005.cur"
|
||||||
|
"res/cur00006.cur"
|
||||||
|
"res/cur00007.cur"
|
||||||
|
"res/cur00008.cur"
|
||||||
|
"res/cur00009.cur"
|
||||||
|
"res/cur00010.cur"
|
||||||
|
"res/cur00011.cur"
|
||||||
|
"res/cur00012.cur"
|
||||||
|
"res/cur00013.cur"
|
||||||
|
"res/FontChars.txt"
|
||||||
|
"res/FontFixed1.pgm"
|
||||||
|
"res/FontLargeAA.pgm"
|
||||||
|
"res/FontNormal.pgm"
|
||||||
|
# "TwDirect3D11.hlsl"
|
||||||
|
)
|
||||||
|
source_group("" FILES ${no_group_source_files})
|
||||||
|
|
||||||
|
set(Headers
|
||||||
|
"../include/AntTweakBar.h"
|
||||||
|
"AntPerfTimer.h"
|
||||||
|
"LoadOGL.h"
|
||||||
|
"LoadOGLCore.h"
|
||||||
|
"MiniGLFW.h"
|
||||||
|
"MiniGLUT.h"
|
||||||
|
"MiniSDL12.h"
|
||||||
|
"MiniSDL13.h"
|
||||||
|
"MiniSFML16.h"
|
||||||
|
"res/TwXCursors.h"
|
||||||
|
"resource.h"
|
||||||
|
"TwBar.h"
|
||||||
|
"TwColors.h"
|
||||||
|
"TwDirect3D10.h"
|
||||||
|
"TwDirect3D11.h"
|
||||||
|
"TwDirect3D9.h"
|
||||||
|
"TwFonts.h"
|
||||||
|
"TwGraph.h"
|
||||||
|
"TwMgr.h"
|
||||||
|
"TwOpenGL.h"
|
||||||
|
"TwOpenGLCore.h"
|
||||||
|
"TwPrecomp.h"
|
||||||
|
)
|
||||||
|
source_group("Headers" FILES ${Headers})
|
||||||
|
|
||||||
|
set(Sources
|
||||||
|
"LoadOGL.cpp"
|
||||||
|
"LoadOGLCore.cpp"
|
||||||
|
"TwBar.cpp"
|
||||||
|
"TwColors.cpp"
|
||||||
|
"TwDirect3D10.cpp"
|
||||||
|
"TwDirect3D11.cpp"
|
||||||
|
"TwDirect3D9.cpp"
|
||||||
|
"TwEventGLFW.c"
|
||||||
|
"TwEventGLUT.c"
|
||||||
|
"TwEventSDL.c"
|
||||||
|
"TwEventSDL12.c"
|
||||||
|
"TwEventSDL13.c"
|
||||||
|
"TwEventSFML.cpp"
|
||||||
|
"TwEventWin.c"
|
||||||
|
"TwFonts.cpp"
|
||||||
|
"TwMgr.cpp"
|
||||||
|
"TwOpenGL.cpp"
|
||||||
|
"TwOpenGLCore.cpp"
|
||||||
|
"TwPrecomp.cpp"
|
||||||
|
)
|
||||||
|
source_group("Sources" FILES ${Sources})
|
||||||
|
|
||||||
|
set(ALL_FILES
|
||||||
|
${no_group_source_files}
|
||||||
|
${Headers}
|
||||||
|
${Sources}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target
|
||||||
|
################################################################################
|
||||||
|
add_library(${PROJECT_NAME} SHARED ${ALL_FILES})
|
||||||
|
|
||||||
|
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/TwPrecomp.h>"
|
||||||
|
)
|
||||||
|
|
||||||
|
use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}")
|
||||||
|
set(ROOT_NAMESPACE AntTweakBar)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target name
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "AntTweakBar"
|
||||||
|
TARGET_NAME_RELEASE "AntTweakBar"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "AntTweakBar64"
|
||||||
|
TARGET_NAME_RELEASE "AntTweakBar64"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Output directory
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/../lib/debug"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/../lib"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/../lib/debug"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/../lib"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}"
|
||||||
|
ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}"
|
||||||
|
ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
ARCHIVE_OUTPUT_NAME_DEBUG "${TARGET_NAME}"
|
||||||
|
ARCHIVE_OUTPUT_NAME_RELEASE "${TARGET_NAME}"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
ARCHIVE_OUTPUT_NAME_DEBUG "${TARGET_NAME}"
|
||||||
|
ARCHIVE_OUTPUT_NAME_RELEASE "${TARGET_NAME}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
PDB_OUTPUT_DIRECTORY "${OUTPUT_DIRECTORY}"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
PDB_OUTPUT_DIRECTORY "${OUTPUT_DIRECTORY}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# MSVC runtime library
|
||||||
|
################################################################################
|
||||||
|
get_property(MSVC_RUNTIME_LIBRARY_DEFAULT TARGET ${PROJECT_NAME} PROPERTY MSVC_RUNTIME_LIBRARY)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT "MSVC_RUNTIME_LIBRARY_STR"
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
MultiThreadedDebug
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
MultiThreaded
|
||||||
|
>
|
||||||
|
$<$<NOT:$<OR:$<CONFIG:Debug>,$<CONFIG:Release>>>:${MSVC_RUNTIME_LIBRARY_DEFAULT}>
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT "MSVC_RUNTIME_LIBRARY_STR"
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
MultiThreadedDebug
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
MultiThreaded
|
||||||
|
>
|
||||||
|
$<$<NOT:$<OR:$<CONFIG:Debug>,$<CONFIG:Release>>>:${MSVC_RUNTIME_LIBRARY_DEFAULT}>
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY ${MSVC_RUNTIME_LIBRARY_STR})
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Include directories
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/../include"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/../include"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile definitions
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"_WINDOWS;"
|
||||||
|
"_USRDLL;"
|
||||||
|
"TW_EXPORTS;"
|
||||||
|
"_MBCS"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN64;"
|
||||||
|
"_WIN64;"
|
||||||
|
"_WINDOWS;"
|
||||||
|
"_USRDLL;"
|
||||||
|
"TW_EXPORTS;"
|
||||||
|
"_MBCS"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile and link options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od;
|
||||||
|
/RTC1;
|
||||||
|
/ZI
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/Ox;
|
||||||
|
/Ob1;
|
||||||
|
/Oi;
|
||||||
|
/GF;
|
||||||
|
/Gy;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
/Ot;
|
||||||
|
/Zc:forScope
|
||||||
|
>
|
||||||
|
/W4;
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING}
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od;
|
||||||
|
/RTC1;
|
||||||
|
/Zi
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/Ox;
|
||||||
|
/Ob1;
|
||||||
|
/Oi;
|
||||||
|
/GF;
|
||||||
|
/Gy;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
/Ot;
|
||||||
|
/Zc:forScope
|
||||||
|
>
|
||||||
|
/W4;
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
source_file_compile_options(TwEventGLFW.c ${FILE_CL_OPTIONS})
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
source_file_compile_options(TwEventGLUT.c ${FILE_CL_OPTIONS})
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
source_file_compile_options(TwEventSDL.c ${FILE_CL_OPTIONS})
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
source_file_compile_options(TwEventSDL12.c ${FILE_CL_OPTIONS})
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
source_file_compile_options(TwEventSDL13.c ${FILE_CL_OPTIONS})
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
source_file_compile_options(TwEventSFML.cpp ${FILE_CL_OPTIONS})
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
source_file_compile_options(TwEventWin.c ${FILE_CL_OPTIONS})
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
string(CONCAT FILE_CL_OPTIONS
|
||||||
|
"/Y-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
source_file_compile_options(TwOpenGLCore.cpp ${FILE_CL_OPTIONS})
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/DEBUG;
|
||||||
|
/INCREMENTAL
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/INCREMENTAL:NO
|
||||||
|
>
|
||||||
|
/NOLOGO;
|
||||||
|
/DYNAMICBASE:NO
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/DEBUG;
|
||||||
|
/INCREMENTAL
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/INCREMENTAL:NO
|
||||||
|
>
|
||||||
|
/NOLOGO;
|
||||||
|
/MACHINE:X64;
|
||||||
|
/DYNAMICBASE:NO
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Pre build events
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
add_custom_command_if(
|
||||||
|
TARGET ${PROJECT_NAME}
|
||||||
|
PRE_BUILD
|
||||||
|
COMMANDS
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T vs_4_0_level_9_1 /E LineRectVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T vs_4_0_level_9_1 /E LineRectCstColorVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T ps_4_0_level_9_1 /E LineRectPS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectPS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T vs_4_0_level_9_1 /E TextVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T vs_4_0_level_9_1 /E TextCstColorVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T ps_4_0_level_9_1 /E TextPS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextPS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T vs_4_0_level_9_1 /E LineRectVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc/T vs_4_0_level_9_1 /E LineRectCstColorVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T ps_4_0_level_9_1 /E LineRectPS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectPS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T vs_4_0_level_9_1 /E TextVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T vs_4_0_level_9_1 /E TextCstColorVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T ps_4_0_level_9_1 /E TextPS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextPS.h TwDirect3D11.hlsl
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
add_custom_command_if(
|
||||||
|
TARGET ${PROJECT_NAME}
|
||||||
|
PRE_BUILD
|
||||||
|
COMMANDS
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T vs_4_0_level_9_1 /E LineRectVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T vs_4_0_level_9_1 /E LineRectCstColorVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T ps_4_0_level_9_1 /E LineRectPS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectPS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T vs_4_0_level_9_1 /E TextVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T vs_4_0_level_9_1 /E TextCstColorVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Debug> fxc /Od /Zi /T ps_4_0_level_9_1 /E TextPS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextPS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T vs_4_0_level_9_1 /E LineRectVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc/T vs_4_0_level_9_1 /E LineRectCstColorVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T ps_4_0_level_9_1 /E LineRectPS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_LineRectPS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T vs_4_0_level_9_1 /E TextVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T vs_4_0_level_9_1 /E TextCstColorVS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextCstColorVS.h TwDirect3D11.hlsl
|
||||||
|
COMMAND $<CONFIG:Release> fxc /T ps_4_0_level_9_1 /E TextPS /Fh ${CMAKE_CURRENT_BINARY_DIR}\\${CMAKE_CFG_INTDIR}\\TwDirect3D11_TextPS.h TwDirect3D11.hlsl
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Post build events
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
add_custom_command_if(
|
||||||
|
TARGET ${PROJECT_NAME}
|
||||||
|
POST_BUILD
|
||||||
|
COMMANDS
|
||||||
|
COMMAND $<CONFIG:Debug> mkdir "$<SHELL_PATH:${CMAKE_SOURCE_DIR}/>${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>"
|
||||||
|
COMMAND $<CONFIG:Debug> xcopy /y /f "$<SHELL_PATH:$<TARGET_FILE:${PROJECT_NAME}>>" "$<SHELL_PATH:${CMAKE_SOURCE_DIR}/>${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>"
|
||||||
|
COMMAND $<CONFIG:Release> mkdir "$<SHELL_PATH:${CMAKE_SOURCE_DIR}/>${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>"
|
||||||
|
COMMAND $<CONFIG:Release> xcopy /y /f "$<SHELL_PATH:$<TARGET_FILE:${PROJECT_NAME}>>" "$<SHELL_PATH:${CMAKE_SOURCE_DIR}/>${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
add_custom_command_if(
|
||||||
|
TARGET ${PROJECT_NAME}
|
||||||
|
POST_BUILD
|
||||||
|
COMMANDS
|
||||||
|
COMMAND $<CONFIG:Debug> mkdir "$<SHELL_PATH:${CMAKE_SOURCE_DIR}/>${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>"
|
||||||
|
COMMAND $<CONFIG:Debug> xcopy /y /f "$<SHELL_PATH:$<TARGET_FILE:${PROJECT_NAME}>>" "$<SHELL_PATH:${CMAKE_SOURCE_DIR}/>${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>"
|
||||||
|
COMMAND $<CONFIG:Release> mkdir "$<SHELL_PATH:${CMAKE_SOURCE_DIR}/>${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>"
|
||||||
|
COMMAND $<CONFIG:Release> xcopy /y /f "$<SHELL_PATH:$<TARGET_FILE:${PROJECT_NAME}>>" "$<SHELL_PATH:${CMAKE_SOURCE_DIR}/>${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
@@ -5748,8 +5748,13 @@ int ANT_CALL TwKeyTest(int _Key, int _Modifiers)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201402L) || __cplusplus >= 201402L)
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
struct StructCompare : public function<bool(TwType, TwType)>
|
||||||
|
#else
|
||||||
struct StructCompare : public binary_function<TwType, TwType, bool>
|
struct StructCompare : public binary_function<TwType, TwType, bool>
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
bool operator()(const TwType& _Left, const TwType& _Right) const
|
bool operator()(const TwType& _Left, const TwType& _Right) const
|
||||||
{
|
{
|
||||||
|
|||||||
65
CMake/Default.cmake
Normal file
65
CMake/Default.cmake
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
################################################################################
|
||||||
|
# Command for variable_watch. This command issues error message, if a variable
|
||||||
|
# is changed. If variable PROPERTY_READER_GUARD_DISABLED is TRUE nothing happens
|
||||||
|
# variable_watch(<variable> property_reader_guard)
|
||||||
|
################################################################################
|
||||||
|
function(property_reader_guard VARIABLE ACCESS VALUE CURRENT_LIST_FILE STACK)
|
||||||
|
if("${PROPERTY_READER_GUARD_DISABLED}")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if("${ACCESS}" STREQUAL "MODIFIED_ACCESS")
|
||||||
|
message(FATAL_ERROR
|
||||||
|
" Variable ${VARIABLE} is not supposed to be changed.\n"
|
||||||
|
" It is used only for reading target property ${VARIABLE}.\n"
|
||||||
|
" Use\n"
|
||||||
|
" set_target_properties(\"<target>\" PROPERTIES \"${VARIABLE}\" \"<value>\")\n"
|
||||||
|
" or\n"
|
||||||
|
" set_target_properties(\"<target>\" PROPERTIES \"${VARIABLE}_<CONFIG>\" \"<value>\")\n"
|
||||||
|
" instead.\n")
|
||||||
|
endif()
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Create variable <name> with generator expression that expands to value of
|
||||||
|
# target property <name>_<CONFIG>. If property is empty or not set then property
|
||||||
|
# <name> is used instead. Variable <name> has watcher property_reader_guard that
|
||||||
|
# doesn't allow to edit it.
|
||||||
|
# create_property_reader(<name>)
|
||||||
|
# Input:
|
||||||
|
# name - Name of watched property and output variable
|
||||||
|
################################################################################
|
||||||
|
function(create_property_reader NAME)
|
||||||
|
set(PROPERTY_READER_GUARD_DISABLED TRUE)
|
||||||
|
set(CONFIG_VALUE "$<TARGET_GENEX_EVAL:${PROPS_TARGET},$<TARGET_PROPERTY:${PROPS_TARGET},${NAME}_$<UPPER_CASE:$<CONFIG>>>>")
|
||||||
|
set(IS_CONFIG_VALUE_EMPTY "$<STREQUAL:${CONFIG_VALUE},>")
|
||||||
|
set(GENERAL_VALUE "$<TARGET_GENEX_EVAL:${PROPS_TARGET},$<TARGET_PROPERTY:${PROPS_TARGET},${NAME}>>")
|
||||||
|
set("${NAME}" "$<IF:${IS_CONFIG_VALUE_EMPTY},${GENERAL_VALUE},${CONFIG_VALUE}>" PARENT_SCOPE)
|
||||||
|
variable_watch("${NAME}" property_reader_guard)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Set property $<name>_${PROPS_CONFIG_U} of ${PROPS_TARGET} to <value>
|
||||||
|
# set_config_specific_property(<name> <value>)
|
||||||
|
# Input:
|
||||||
|
# name - Prefix of property name
|
||||||
|
# value - New value
|
||||||
|
################################################################################
|
||||||
|
function(set_config_specific_property NAME VALUE)
|
||||||
|
set_target_properties("${PROPS_TARGET}" PROPERTIES "${NAME}_${PROPS_CONFIG_U}" "${VALUE}")
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
create_property_reader("TARGET_NAME")
|
||||||
|
create_property_reader("OUTPUT_DIRECTORY")
|
||||||
|
|
||||||
|
set_config_specific_property("TARGET_NAME" "${PROPS_TARGET}")
|
||||||
|
set_config_specific_property("OUTPUT_NAME" "${TARGET_NAME}")
|
||||||
|
set_config_specific_property("ARCHIVE_OUTPUT_NAME" "${TARGET_NAME}")
|
||||||
|
set_config_specific_property("LIBRARY_OUTPUT_NAME" "${TARGET_NAME}")
|
||||||
|
set_config_specific_property("RUNTIME_OUTPUT_NAME" "${TARGET_NAME}")
|
||||||
|
|
||||||
|
set_config_specific_property("ARCHIVE_OUTPUT_DIRECTORY" "${OUTPUT_DIRECTORY}")
|
||||||
|
set_config_specific_property("LIBRARY_OUTPUT_DIRECTORY" "${OUTPUT_DIRECTORY}")
|
||||||
|
set_config_specific_property("RUNTIME_OUTPUT_DIRECTORY" "${OUTPUT_DIRECTORY}")
|
||||||
12
CMake/DefaultCXX.cmake
Normal file
12
CMake/DefaultCXX.cmake
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/Default.cmake")
|
||||||
|
|
||||||
|
set_config_specific_property("OUTPUT_DIRECTORY" "${CMAKE_SOURCE_DIR}$<$<NOT:$<STREQUAL:${CMAKE_VS_PLATFORM_NAME},Win32>>:/${CMAKE_VS_PLATFORM_NAME}>/${PROPS_CONFIG}")
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
create_property_reader("DEFAULT_CXX_EXCEPTION_HANDLING")
|
||||||
|
create_property_reader("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT")
|
||||||
|
|
||||||
|
set_target_properties("${PROPS_TARGET}" PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
|
||||||
|
set_config_specific_property("DEFAULT_CXX_EXCEPTION_HANDLING" "/EHsc")
|
||||||
|
set_config_specific_property("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT" "/Zi")
|
||||||
|
endif()
|
||||||
12
CMake/DefaultFortran.cmake
Normal file
12
CMake/DefaultFortran.cmake
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/Default.cmake")
|
||||||
|
|
||||||
|
set_config_specific_property("OUTPUT_DIRECTORY" "${CMAKE_CURRENT_SOURCE_DIR}$<$<NOT:$<STREQUAL:${CMAKE_VS_PLATFORM_NAME},Win32>>:/${CMAKE_VS_PLATFORM_NAME}>/${PROPS_CONFIG}")
|
||||||
|
|
||||||
|
get_target_property(${PROPS_TARGET}_BINARY_DIR ${PROPS_TARGET} BINARY_DIR)
|
||||||
|
set(DEFAULT_FORTRAN_MODULES_DIR "${${PROPS_TARGET}_BINARY_DIR}/${PROPS_TARGET}.Modules.dir")
|
||||||
|
set_target_properties(${PROPS_TARGET} PROPERTIES Fortran_MODULE_DIRECTORY ${DEFAULT_FORTRAN_MODULES_DIR})
|
||||||
|
|
||||||
|
if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
|
||||||
|
# Hack for visual studio generator (https://gitlab.kitware.com/cmake/cmake/issues/19552)
|
||||||
|
add_custom_command(TARGET ${PROPS_TARGET} PRE_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_PROPERTY:${PROPS_TARGET},Fortran_MODULE_DIRECTORY>/${CMAKE_CFG_INTDIR})
|
||||||
|
endif()
|
||||||
234
CMake/Utils.cmake
Normal file
234
CMake/Utils.cmake
Normal file
@@ -0,0 +1,234 @@
|
|||||||
|
# utils file for projects came from visual studio solution with cmake-converter.
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Wrap each token of the command with condition
|
||||||
|
################################################################################
|
||||||
|
cmake_policy(PUSH)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
macro(prepare_commands)
|
||||||
|
unset(TOKEN_ROLE)
|
||||||
|
unset(COMMANDS)
|
||||||
|
foreach(TOKEN ${ARG_COMMANDS})
|
||||||
|
if("${TOKEN}" STREQUAL "COMMAND")
|
||||||
|
set(TOKEN_ROLE "KEYWORD")
|
||||||
|
elseif("${TOKEN_ROLE}" STREQUAL "KEYWORD")
|
||||||
|
set(TOKEN_ROLE "CONDITION")
|
||||||
|
elseif("${TOKEN_ROLE}" STREQUAL "CONDITION")
|
||||||
|
set(TOKEN_ROLE "COMMAND")
|
||||||
|
elseif("${TOKEN_ROLE}" STREQUAL "COMMAND")
|
||||||
|
set(TOKEN_ROLE "ARG")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if("${TOKEN_ROLE}" STREQUAL "KEYWORD")
|
||||||
|
list(APPEND COMMANDS "${TOKEN}")
|
||||||
|
elseif("${TOKEN_ROLE}" STREQUAL "CONDITION")
|
||||||
|
set(CONDITION ${TOKEN})
|
||||||
|
elseif("${TOKEN_ROLE}" STREQUAL "COMMAND")
|
||||||
|
list(APPEND COMMANDS "$<$<NOT:${CONDITION}>:${DUMMY}>$<${CONDITION}:${TOKEN}>")
|
||||||
|
elseif("${TOKEN_ROLE}" STREQUAL "ARG")
|
||||||
|
list(APPEND COMMANDS "$<${CONDITION}:${TOKEN}>")
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endmacro()
|
||||||
|
cmake_policy(POP)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Transform all the tokens to absolute paths
|
||||||
|
################################################################################
|
||||||
|
macro(prepare_output)
|
||||||
|
unset(OUTPUT)
|
||||||
|
foreach(TOKEN ${ARG_OUTPUT})
|
||||||
|
if(IS_ABSOLUTE ${TOKEN})
|
||||||
|
list(APPEND OUTPUT "${TOKEN}")
|
||||||
|
else()
|
||||||
|
list(APPEND OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/${TOKEN}")
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Parse add_custom_command_if args.
|
||||||
|
#
|
||||||
|
# Input:
|
||||||
|
# PRE_BUILD - Pre build event option
|
||||||
|
# PRE_LINK - Pre link event option
|
||||||
|
# POST_BUILD - Post build event option
|
||||||
|
# TARGET - Target
|
||||||
|
# OUTPUT - List of output files
|
||||||
|
# DEPENDS - List of files on which the command depends
|
||||||
|
# COMMANDS - List of commands(COMMAND condition1 commannd1 args1 COMMAND
|
||||||
|
# condition2 commannd2 args2 ...)
|
||||||
|
# Output:
|
||||||
|
# OUTPUT - Output files
|
||||||
|
# DEPENDS - Files on which the command depends
|
||||||
|
# COMMENT - Comment
|
||||||
|
# PRE_BUILD - TRUE/FALSE
|
||||||
|
# PRE_LINK - TRUE/FALSE
|
||||||
|
# POST_BUILD - TRUE/FALSE
|
||||||
|
# TARGET - Target name
|
||||||
|
# COMMANDS - Prepared commands(every token is wrapped in CONDITION)
|
||||||
|
# NAME - Unique name for custom target
|
||||||
|
# STEP - PRE_BUILD/PRE_LINK/POST_BUILD
|
||||||
|
################################################################################
|
||||||
|
function(add_custom_command_if_parse_arguments)
|
||||||
|
cmake_parse_arguments("ARG" "PRE_BUILD;PRE_LINK;POST_BUILD" "TARGET;COMMENT" "DEPENDS;OUTPUT;COMMANDS" ${ARGN})
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(DUMMY "cd.")
|
||||||
|
elseif(UNIX)
|
||||||
|
set(DUMMY "true")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
prepare_commands()
|
||||||
|
prepare_output()
|
||||||
|
|
||||||
|
set(DEPENDS "${ARG_DEPENDS}")
|
||||||
|
set(COMMENT "${ARG_COMMENT}")
|
||||||
|
set(PRE_BUILD "${ARG_PRE_BUILD}")
|
||||||
|
set(PRE_LINK "${ARG_PRE_LINK}")
|
||||||
|
set(POST_BUILD "${ARG_POST_BUILD}")
|
||||||
|
set(TARGET "${ARG_TARGET}")
|
||||||
|
if(PRE_BUILD)
|
||||||
|
set(STEP "PRE_BUILD")
|
||||||
|
elseif(PRE_LINK)
|
||||||
|
set(STEP "PRE_LINK")
|
||||||
|
elseif(POST_BUILD)
|
||||||
|
set(STEP "POST_BUILD")
|
||||||
|
endif()
|
||||||
|
set(NAME "${TARGET}_${STEP}")
|
||||||
|
|
||||||
|
set(OUTPUT "${OUTPUT}" PARENT_SCOPE)
|
||||||
|
set(DEPENDS "${DEPENDS}" PARENT_SCOPE)
|
||||||
|
set(COMMENT "${COMMENT}" PARENT_SCOPE)
|
||||||
|
set(PRE_BUILD "${PRE_BUILD}" PARENT_SCOPE)
|
||||||
|
set(PRE_LINK "${PRE_LINK}" PARENT_SCOPE)
|
||||||
|
set(POST_BUILD "${POST_BUILD}" PARENT_SCOPE)
|
||||||
|
set(TARGET "${TARGET}" PARENT_SCOPE)
|
||||||
|
set(COMMANDS "${COMMANDS}" PARENT_SCOPE)
|
||||||
|
set(STEP "${STEP}" PARENT_SCOPE)
|
||||||
|
set(NAME "${NAME}" PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Add conditional custom command
|
||||||
|
#
|
||||||
|
# Generating Files
|
||||||
|
# The first signature is for adding a custom command to produce an output:
|
||||||
|
# add_custom_command_if(
|
||||||
|
# <OUTPUT output1 [output2 ...]>
|
||||||
|
# <COMMANDS>
|
||||||
|
# <COMMAND condition command1 [args1...]>
|
||||||
|
# [COMMAND condition command2 [args2...]]
|
||||||
|
# [DEPENDS [depends...]]
|
||||||
|
# [COMMENT comment]
|
||||||
|
#
|
||||||
|
# Build Events
|
||||||
|
# add_custom_command_if(
|
||||||
|
# <TARGET target>
|
||||||
|
# <PRE_BUILD | PRE_LINK | POST_BUILD>
|
||||||
|
# <COMMAND condition command1 [args1...]>
|
||||||
|
# [COMMAND condition command2 [args2...]]
|
||||||
|
# [COMMENT comment]
|
||||||
|
#
|
||||||
|
# Input:
|
||||||
|
# output - Output files the command is expected to produce
|
||||||
|
# condition - Generator expression for wrapping the command
|
||||||
|
# command - Command-line(s) to execute at build time.
|
||||||
|
# args - Command`s args
|
||||||
|
# depends - Files on which the command depends
|
||||||
|
# comment - Display the given message before the commands are executed at
|
||||||
|
# build time.
|
||||||
|
# PRE_BUILD - Run before any other rules are executed within the target
|
||||||
|
# PRE_LINK - Run after sources have been compiled but before linking the
|
||||||
|
# binary
|
||||||
|
# POST_BUILD - Run after all other rules within the target have been
|
||||||
|
# executed
|
||||||
|
################################################################################
|
||||||
|
function(add_custom_command_if)
|
||||||
|
add_custom_command_if_parse_arguments(${ARGN})
|
||||||
|
|
||||||
|
if(OUTPUT AND TARGET)
|
||||||
|
message(FATAL_ERROR "Wrong syntax. A TARGET and OUTPUT can not both be specified.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(OUTPUT)
|
||||||
|
add_custom_command(OUTPUT ${OUTPUT}
|
||||||
|
${COMMANDS}
|
||||||
|
DEPENDS ${DEPENDS}
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
COMMENT ${COMMENT})
|
||||||
|
elseif(TARGET)
|
||||||
|
if(PRE_BUILD AND NOT ${CMAKE_GENERATOR} MATCHES "Visual Studio")
|
||||||
|
add_custom_target(
|
||||||
|
${NAME}
|
||||||
|
${COMMANDS}
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
COMMENT ${COMMENT})
|
||||||
|
add_dependencies(${TARGET} ${NAME})
|
||||||
|
else()
|
||||||
|
add_custom_command(
|
||||||
|
TARGET ${TARGET}
|
||||||
|
${STEP}
|
||||||
|
${COMMANDS}
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
COMMENT ${COMMENT})
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
message(FATAL_ERROR "Wrong syntax. A TARGET or OUTPUT must be specified.")
|
||||||
|
endif()
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Use props file for a target and configs
|
||||||
|
# use_props(<target> <configs...> <props_file>)
|
||||||
|
# Inside <props_file> there are following variables:
|
||||||
|
# PROPS_TARGET - <target>
|
||||||
|
# PROPS_CONFIG - One of <configs...>
|
||||||
|
# PROPS_CONFIG_U - Uppercase PROPS_CONFIG
|
||||||
|
# Input:
|
||||||
|
# target - Target to apply props file
|
||||||
|
# configs - Build configurations to apply props file
|
||||||
|
# props_file - CMake script
|
||||||
|
################################################################################
|
||||||
|
macro(use_props TARGET CONFIGS PROPS_FILE)
|
||||||
|
set(PROPS_TARGET "${TARGET}")
|
||||||
|
foreach(PROPS_CONFIG ${CONFIGS})
|
||||||
|
string(TOUPPER "${PROPS_CONFIG}" PROPS_CONFIG_U)
|
||||||
|
|
||||||
|
get_filename_component(ABSOLUTE_PROPS_FILE "${PROPS_FILE}" ABSOLUTE BASE_DIR "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
|
if(EXISTS "${ABSOLUTE_PROPS_FILE}")
|
||||||
|
include("${ABSOLUTE_PROPS_FILE}")
|
||||||
|
else()
|
||||||
|
message(WARNING "Corresponding cmake file from props \"${ABSOLUTE_PROPS_FILE}\" doesn't exist")
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Add compile options to source file
|
||||||
|
# source_file_compile_options(<source_file> [compile_options...])
|
||||||
|
# Input:
|
||||||
|
# source_file - Source file
|
||||||
|
# compile_options - Options to add to COMPILE_FLAGS property
|
||||||
|
################################################################################
|
||||||
|
function(source_file_compile_options SOURCE_FILE)
|
||||||
|
if("${ARGC}" LESS_EQUAL "1")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_source_file_property(COMPILE_OPTIONS "${SOURCE_FILE}" COMPILE_OPTIONS)
|
||||||
|
|
||||||
|
if(COMPILE_OPTIONS)
|
||||||
|
list(APPEND COMPILE_OPTIONS ${ARGN})
|
||||||
|
else()
|
||||||
|
set(COMPILE_OPTIONS "${ARGN}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set_source_files_properties("${SOURCE_FILE}" PROPERTIES COMPILE_OPTIONS "${COMPILE_OPTIONS}")
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Default properties of visual studio projects
|
||||||
|
################################################################################
|
||||||
|
set(DEFAULT_CXX_PROPS "${CMAKE_CURRENT_LIST_DIR}/DefaultCXX.cmake")
|
||||||
|
set(DEFAULT_Fortran_PROPS "${CMAKE_CURRENT_LIST_DIR}/DefaultFortran.cmake")
|
||||||
96
CMakeLists.txt
Normal file
96
CMakeLists.txt
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.16.0 FATAL_ERROR)
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_VERSION 10.0 CACHE STRING "" FORCE)
|
||||||
|
|
||||||
|
project(Template_2022 C CXX)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Set target arch type if empty. Visual studio solution generator provides it.
|
||||||
|
################################################################################
|
||||||
|
if(NOT CMAKE_VS_PLATFORM_NAME)
|
||||||
|
set(CMAKE_VS_PLATFORM_NAME "x64")
|
||||||
|
endif()
|
||||||
|
message("${CMAKE_VS_PLATFORM_NAME} architecture in use")
|
||||||
|
|
||||||
|
if(NOT ("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32"
|
||||||
|
OR "${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64"))
|
||||||
|
message(FATAL_ERROR "${CMAKE_VS_PLATFORM_NAME} arch is not supported!")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Global configuration types
|
||||||
|
################################################################################
|
||||||
|
set(CMAKE_CONFIGURATION_TYPES
|
||||||
|
"Debug"
|
||||||
|
"Release"
|
||||||
|
CACHE STRING "" FORCE
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Global compiler options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
# remove default flags provided with CMake for MSVC
|
||||||
|
set(CMAKE_C_FLAGS "")
|
||||||
|
set(CMAKE_C_FLAGS_DEBUG "")
|
||||||
|
set(CMAKE_C_FLAGS_RELEASE "")
|
||||||
|
set(CMAKE_CXX_FLAGS "")
|
||||||
|
set(CMAKE_CXX_FLAGS_DEBUG "")
|
||||||
|
set(CMAKE_CXX_FLAGS_RELEASE "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Global linker options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
# remove default flags provided with CMake for MSVC
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS "")
|
||||||
|
set(CMAKE_MODULE_LINKER_FLAGS "")
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS "")
|
||||||
|
set(CMAKE_STATIC_LINKER_FLAGS "")
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS}")
|
||||||
|
set(CMAKE_MODULE_LINKER_FLAGS_DEBUG "${CMAKE_MODULE_LINKER_FLAGS}")
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS}")
|
||||||
|
set(CMAKE_STATIC_LINKER_FLAGS_DEBUG "${CMAKE_STATIC_LINKER_FLAGS}")
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS}")
|
||||||
|
set(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS}")
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS}")
|
||||||
|
set(CMAKE_STATIC_LINKER_FLAGS_RELEASE "${CMAKE_STATIC_LINKER_FLAGS}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Nuget packages function stub.
|
||||||
|
################################################################################
|
||||||
|
function(use_package TARGET PACKAGE VERSION)
|
||||||
|
message(WARNING "No implementation of use_package. Create yours. "
|
||||||
|
"Package \"${PACKAGE}\" with version \"${VERSION}\" "
|
||||||
|
"for target \"${TARGET}\" is ignored!")
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Common utils
|
||||||
|
################################################################################
|
||||||
|
include(CMake/Utils.cmake)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Additional Global Settings(add specific info there)
|
||||||
|
################################################################################
|
||||||
|
include(CMake/GlobalSettingsInclude.cmake OPTIONAL)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Use solution folders feature
|
||||||
|
################################################################################
|
||||||
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Sub-projects
|
||||||
|
################################################################################
|
||||||
|
add_subdirectory(AntTweakBar/src)
|
||||||
|
add_subdirectory(DirectXTK)
|
||||||
|
add_subdirectory(DXUT11/Core)
|
||||||
|
add_subdirectory(DXUT11/Optional)
|
||||||
|
add_subdirectory(Effects11)
|
||||||
|
add_subdirectory(Simulations)
|
||||||
|
add_subdirectory(SimulationsRunner)
|
||||||
|
add_subdirectory(SimulatorTester)
|
||||||
|
|
||||||
154
DXUT11/Core/CMakeLists.txt
Normal file
154
DXUT11/Core/CMakeLists.txt
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
set(PROJECT_NAME DXUT)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Source groups
|
||||||
|
################################################################################
|
||||||
|
set(no_group_source_files
|
||||||
|
"dxerr.cpp"
|
||||||
|
"DXUT.cpp"
|
||||||
|
"DXUTDevice11.cpp"
|
||||||
|
"DXUTmisc.cpp"
|
||||||
|
)
|
||||||
|
source_group("" FILES ${no_group_source_files})
|
||||||
|
|
||||||
|
set(ALL_FILES
|
||||||
|
${no_group_source_files}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target
|
||||||
|
################################################################################
|
||||||
|
add_library(${PROJECT_NAME} STATIC ${ALL_FILES})
|
||||||
|
|
||||||
|
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/DXUT.h>"
|
||||||
|
)
|
||||||
|
|
||||||
|
use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}")
|
||||||
|
set(ROOT_NAMESPACE DXUT)
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
VS_GLOBAL_KEYWORD "Win32Proj"
|
||||||
|
)
|
||||||
|
################################################################################
|
||||||
|
# Target name
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "DXUT"
|
||||||
|
TARGET_NAME_RELEASE "DXUT"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Output directory
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/Bin/DirectXTK_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/Bin/DirectXTK_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# MSVC runtime library
|
||||||
|
################################################################################
|
||||||
|
get_property(MSVC_RUNTIME_LIBRARY_DEFAULT TARGET ${PROJECT_NAME} PROPERTY MSVC_RUNTIME_LIBRARY)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT "MSVC_RUNTIME_LIBRARY_STR"
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
MultiThreadedDebugDLL
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
MultiThreadedDLL
|
||||||
|
>
|
||||||
|
$<$<NOT:$<OR:$<CONFIG:Debug>,$<CONFIG:Release>>>:${MSVC_RUNTIME_LIBRARY_DEFAULT}>
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY ${MSVC_RUNTIME_LIBRARY_STR})
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Include directories
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/../../DirectXTK/Inc"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile definitions
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG;"
|
||||||
|
"DEBUG;"
|
||||||
|
"PROFILE"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"_WINDOWS;"
|
||||||
|
"_LIB;"
|
||||||
|
"USE_DIRECT3D11_2;"
|
||||||
|
"USE_DIRECTXTK;"
|
||||||
|
"_WIN32_WINNT=0x0600;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile and link options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od;
|
||||||
|
/RTC1;
|
||||||
|
/ZI
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Gy;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT}
|
||||||
|
>
|
||||||
|
/Oi;
|
||||||
|
/arch:SSE2;
|
||||||
|
/W4;
|
||||||
|
/fp:fast;
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/DELAYLOAD:%(DelayLoadDLLs);
|
||||||
|
/MANIFEST;
|
||||||
|
/MACHINE:X86;
|
||||||
|
/SUBSYSTEM:WINDOWS;
|
||||||
|
/NXCOMPAT;
|
||||||
|
/DYNAMICBASE
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
/DEBUG:FULL
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
426
DXUT11/Core/DXUT_DirectXTK_2022.vcxproj
Normal file
426
DXUT11/Core/DXUT_DirectXTK_2022.vcxproj
Normal file
@@ -0,0 +1,426 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Profile|Win32">
|
||||||
|
<Configuration>Profile</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Profile|x64">
|
||||||
|
<Configuration>Profile</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>DXUT</ProjectName>
|
||||||
|
<ProjectGuid>{85344B7F-5AA0-4e12-A065-D1333D11F6CA}</ProjectGuid>
|
||||||
|
<RootNamespace>DXUT</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings" />
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Profile|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUT</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUT</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUT</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUT</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUT</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUT</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;DEBUG;PROFILE;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;DEBUG;PROFILE;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;PROFILE;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;PROFILE;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup />
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="DXUT.cpp">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Profile|x64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<CLInclude Include="DXUT.h" />
|
||||||
|
<ClCompile Include="DXUTDevice11.cpp" />
|
||||||
|
<CLInclude Include="DXUTDevice11.h" />
|
||||||
|
<ClCompile Include="DXUTmisc.cpp" />
|
||||||
|
<CLInclude Include="DXUTmisc.h" />
|
||||||
|
<CLInclude Include="DXErr.h" />
|
||||||
|
<ClCompile Include="DXErr.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets" />
|
||||||
|
</Project>
|
||||||
23
DXUT11/Core/DXUT_DirectXTK_2022.vcxproj.filters
Normal file
23
DXUT11/Core/DXUT_DirectXTK_2022.vcxproj.filters
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns:atg="http://atg.xbox.com" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{8e114980-c1a3-4ada-ad7c-83caadf5daeb}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup />
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="DXUT.cpp" />
|
||||||
|
<CLInclude Include="DXUT.h" />
|
||||||
|
<ClCompile Include="DXUTDevice11.cpp" />
|
||||||
|
<CLInclude Include="DXUTDevice11.h" />
|
||||||
|
<ClCompile Include="DXUTmisc.cpp" />
|
||||||
|
<CLInclude Include="DXUTmisc.h" />
|
||||||
|
<CLInclude Include="DXErr.h" />
|
||||||
|
<ClCompile Include="DXErr.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup></ItemGroup>
|
||||||
|
<ItemGroup></ItemGroup>
|
||||||
|
<ItemGroup></ItemGroup>
|
||||||
|
</Project>
|
||||||
158
DXUT11/Optional/CMakeLists.txt
Normal file
158
DXUT11/Optional/CMakeLists.txt
Normal file
@@ -0,0 +1,158 @@
|
|||||||
|
set(PROJECT_NAME DXUTOpt)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Source groups
|
||||||
|
################################################################################
|
||||||
|
set(no_group_source_files
|
||||||
|
"DXUTcamera.cpp"
|
||||||
|
"DXUTgui.cpp"
|
||||||
|
"DXUTguiIME.cpp"
|
||||||
|
"DXUTres.cpp"
|
||||||
|
"DXUTsettingsdlg.cpp"
|
||||||
|
"ImeUi.cpp"
|
||||||
|
"SDKmisc.cpp"
|
||||||
|
)
|
||||||
|
source_group("" FILES ${no_group_source_files})
|
||||||
|
|
||||||
|
set(ALL_FILES
|
||||||
|
${no_group_source_files}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target
|
||||||
|
################################################################################
|
||||||
|
add_library(${PROJECT_NAME} STATIC ${ALL_FILES})
|
||||||
|
|
||||||
|
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/DXUT.h>"
|
||||||
|
)
|
||||||
|
|
||||||
|
use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}")
|
||||||
|
set(ROOT_NAMESPACE DXUTOpt)
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
VS_GLOBAL_KEYWORD "Win32Proj"
|
||||||
|
)
|
||||||
|
################################################################################
|
||||||
|
# Target name
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "DXUTOpt"
|
||||||
|
TARGET_NAME_RELEASE "DXUTOpt"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Output directory
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/Bin/DirectXTK_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/Bin/DirectXTK_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# MSVC runtime library
|
||||||
|
################################################################################
|
||||||
|
get_property(MSVC_RUNTIME_LIBRARY_DEFAULT TARGET ${PROJECT_NAME} PROPERTY MSVC_RUNTIME_LIBRARY)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT "MSVC_RUNTIME_LIBRARY_STR"
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
MultiThreadedDebugDLL
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
MultiThreadedDLL
|
||||||
|
>
|
||||||
|
$<$<NOT:$<OR:$<CONFIG:Debug>,$<CONFIG:Release>>>:${MSVC_RUNTIME_LIBRARY_DEFAULT}>
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY ${MSVC_RUNTIME_LIBRARY_STR})
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Include directories
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/../../DirectXTK/Inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/../Core"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile definitions
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG;"
|
||||||
|
"DEBUG;"
|
||||||
|
"PROFILE"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"_WINDOWS;"
|
||||||
|
"_LIB;"
|
||||||
|
"USE_DIRECT3D11_2;"
|
||||||
|
"USE_DIRECTXTK;"
|
||||||
|
"_WIN32_WINNT=0x0600;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile and link options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od;
|
||||||
|
/RTC1;
|
||||||
|
/ZI
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Gy;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT}
|
||||||
|
>
|
||||||
|
/Oi;
|
||||||
|
/arch:SSE2;
|
||||||
|
/W4;
|
||||||
|
/fp:fast;
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/DELAYLOAD:%(DelayLoadDLLs);
|
||||||
|
/MANIFEST;
|
||||||
|
/MACHINE:X86;
|
||||||
|
/SUBSYSTEM:WINDOWS;
|
||||||
|
/NXCOMPAT;
|
||||||
|
/DYNAMICBASE
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
/DEBUG:FULL
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
433
DXUT11/Optional/DXUTOpt_DirectXTK_2022.vcxproj
Normal file
433
DXUT11/Optional/DXUTOpt_DirectXTK_2022.vcxproj
Normal file
@@ -0,0 +1,433 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Profile|Win32">
|
||||||
|
<Configuration>Profile</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Profile|x64">
|
||||||
|
<Configuration>Profile</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>DXUTOpt</ProjectName>
|
||||||
|
<ProjectGuid>{61B333C2-C4F7-4cc1-A9BF-83F6D95588EB}</ProjectGuid>
|
||||||
|
<RootNamespace>DXUTOpt</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings" />
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Profile|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUTOpt</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUTOpt</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUTOpt</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUTOpt</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUTOpt</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<GenerateManifest>true</GenerateManifest>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<OutDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\DirectXTK_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DXUTOpt</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;..\Core\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;DEBUG;PROFILE;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;..\Core\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;DEBUG;PROFILE;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;..\Core\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;..\Core\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;..\Core\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;PROFILE;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>..\..\DirectXTK\Inc;..\Core\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;PROFILE;_WINDOWS;_LIB;USE_DIRECT3D11_2;USE_DIRECTXTK;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>DXUT.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup />
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="DXUTcamera.cpp" />
|
||||||
|
<CLInclude Include="DXUTcamera.h" />
|
||||||
|
<ClCompile Include="DXUTgui.cpp" />
|
||||||
|
<CLInclude Include="DXUTgui.h" />
|
||||||
|
<ClCompile Include="DXUTguiIME.cpp" />
|
||||||
|
<CLInclude Include="DXUTguiIME.h" />
|
||||||
|
<CLInclude Include="DXUTlockfreepipe.h" />
|
||||||
|
<ClCompile Include="DXUTres.cpp">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Profile|x64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<CLInclude Include="DXUTres.h" />
|
||||||
|
<ClCompile Include="DXUTsettingsdlg.cpp" />
|
||||||
|
<CLInclude Include="DXUTsettingsdlg.h" />
|
||||||
|
<ClCompile Include="ImeUi.cpp" />
|
||||||
|
<CLInclude Include="ImeUi.h" />
|
||||||
|
<ClCompile Include="SDKmisc.cpp" />
|
||||||
|
<CLInclude Include="SDKmisc.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets" />
|
||||||
|
</Project>
|
||||||
30
DXUT11/Optional/DXUTOpt_DirectXTK_2022.vcxproj.filters
Normal file
30
DXUT11/Optional/DXUTOpt_DirectXTK_2022.vcxproj.filters
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns:atg="http://atg.xbox.com" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{8e114980-c1a3-4ada-ad7c-83caadf5daeb}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup />
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="DXUTcamera.cpp" />
|
||||||
|
<CLInclude Include="DXUTcamera.h" />
|
||||||
|
<ClCompile Include="DXUTgui.cpp" />
|
||||||
|
<CLInclude Include="DXUTgui.h" />
|
||||||
|
<ClCompile Include="DXUTguiIME.cpp" />
|
||||||
|
<CLInclude Include="DXUTguiIME.h" />
|
||||||
|
<CLInclude Include="DXUTlockfreepipe.h" />
|
||||||
|
<ClCompile Include="DXUTres.cpp" />
|
||||||
|
<CLInclude Include="DXUTres.h" />
|
||||||
|
<ClCompile Include="DXUTsettingsdlg.cpp" />
|
||||||
|
<CLInclude Include="DXUTsettingsdlg.h" />
|
||||||
|
<ClCompile Include="ImeUi.cpp" />
|
||||||
|
<CLInclude Include="ImeUi.h" />
|
||||||
|
<ClCompile Include="SDKmisc.cpp" />
|
||||||
|
<CLInclude Include="SDKmisc.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup></ItemGroup>
|
||||||
|
<ItemGroup></ItemGroup>
|
||||||
|
<ItemGroup></ItemGroup>
|
||||||
|
</Project>
|
||||||
584
DirectXTK/CMakeLists.txt
Normal file
584
DirectXTK/CMakeLists.txt
Normal file
@@ -0,0 +1,584 @@
|
|||||||
|
set(PROJECT_NAME DirectXTK_Desktop_2022)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Source groups
|
||||||
|
################################################################################
|
||||||
|
set(no_group_source_files
|
||||||
|
"Readme.txt"
|
||||||
|
)
|
||||||
|
source_group("" FILES ${no_group_source_files})
|
||||||
|
|
||||||
|
set(Inc
|
||||||
|
"Inc/CommonStates.h"
|
||||||
|
"Inc/DDSTextureLoader.h"
|
||||||
|
"Inc/DirectXHelpers.h"
|
||||||
|
"Inc/Effects.h"
|
||||||
|
"Inc/GeometricPrimitive.h"
|
||||||
|
"Inc/GraphicsMemory.h"
|
||||||
|
"Inc/Model.h"
|
||||||
|
"Inc/PostProcess.h"
|
||||||
|
"Inc/PrimitiveBatch.h"
|
||||||
|
"Inc/ScreenGrab.h"
|
||||||
|
"Inc/SpriteBatch.h"
|
||||||
|
"Inc/SpriteFont.h"
|
||||||
|
"Inc/VertexTypes.h"
|
||||||
|
"Inc/WICTextureLoader.h"
|
||||||
|
)
|
||||||
|
source_group("Inc" FILES ${Inc})
|
||||||
|
|
||||||
|
set(Inc__Shared
|
||||||
|
"Inc/GamePad.h"
|
||||||
|
"Inc/Keyboard.h"
|
||||||
|
"Inc/Mouse.h"
|
||||||
|
"Inc/SimpleMath.h"
|
||||||
|
"Inc/SimpleMath.inl"
|
||||||
|
)
|
||||||
|
source_group("Inc\\Shared" FILES ${Inc__Shared})
|
||||||
|
|
||||||
|
set(Src
|
||||||
|
"Src/AlphaTestEffect.cpp"
|
||||||
|
"Src/BasicEffect.cpp"
|
||||||
|
"Src/BasicPostProcess.cpp"
|
||||||
|
"Src/CommonStates.cpp"
|
||||||
|
"Src/ConstantBuffer.h"
|
||||||
|
"Src/DDSTextureLoader.cpp"
|
||||||
|
"Src/DGSLEffect.cpp"
|
||||||
|
"Src/DGSLEffectFactory.cpp"
|
||||||
|
"Src/DualPostProcess.cpp"
|
||||||
|
"Src/DualTextureEffect.cpp"
|
||||||
|
"Src/EffectCommon.cpp"
|
||||||
|
"Src/EffectCommon.h"
|
||||||
|
"Src/EffectFactory.cpp"
|
||||||
|
"Src/EnvironmentMapEffect.cpp"
|
||||||
|
"Src/GeometricPrimitive.cpp"
|
||||||
|
"Src/GraphicsMemory.cpp"
|
||||||
|
"Src/Model.cpp"
|
||||||
|
"Src/ModelLoadCMO.cpp"
|
||||||
|
"Src/ModelLoadSDKMESH.cpp"
|
||||||
|
"Src/ModelLoadVBO.cpp"
|
||||||
|
"Src/NormalMapEffect.cpp"
|
||||||
|
"Src/pch.cpp"
|
||||||
|
"Src/pch.h"
|
||||||
|
"Src/PrimitiveBatch.cpp"
|
||||||
|
"Src/ScreenGrab.cpp"
|
||||||
|
"Src/SkinnedEffect.cpp"
|
||||||
|
"Src/SpriteBatch.cpp"
|
||||||
|
"Src/SpriteFont.cpp"
|
||||||
|
"Src/ToneMapPostProcess.cpp"
|
||||||
|
"Src/VertexTypes.cpp"
|
||||||
|
"Src/WICTextureLoader.cpp"
|
||||||
|
)
|
||||||
|
source_group("Src" FILES ${Src})
|
||||||
|
|
||||||
|
set(Src__Shaders
|
||||||
|
"Src/Shaders/AlphaTestEffect.fx"
|
||||||
|
"Src/Shaders/BasicEffect.fx"
|
||||||
|
"Src/Shaders/CompileShaders.cmd"
|
||||||
|
"Src/Shaders/DGSLEffect.fx"
|
||||||
|
"Src/Shaders/DGSLLambert.hlsl"
|
||||||
|
"Src/Shaders/DGSLPhong.hlsl"
|
||||||
|
"Src/Shaders/DGSLUnlit.hlsl"
|
||||||
|
"Src/Shaders/DualTextureEffect.fx"
|
||||||
|
"Src/Shaders/EnvironmentMapEffect.fx"
|
||||||
|
"Src/Shaders/NormalMapEffect.fx"
|
||||||
|
"Src/Shaders/PostProcess.fx"
|
||||||
|
"Src/Shaders/SkinnedEffect.fx"
|
||||||
|
"Src/Shaders/SpriteEffect.fx"
|
||||||
|
"Src/Shaders/ToneMap.fx"
|
||||||
|
)
|
||||||
|
source_group("Src\\Shaders" FILES ${Src__Shaders})
|
||||||
|
|
||||||
|
set(Src__Shaders__Compiled
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_PSAlphaTestEqNe.inc"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_PSAlphaTestEqNeNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_PSAlphaTestLtGt.inc"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_PSAlphaTestLtGtNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_VSAlphaTest.inc"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_VSAlphaTestNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_VSAlphaTestVc.inc"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_VSAlphaTestVcNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasic.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicPixelLighting.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicPixelLightingTx.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicTx.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicTxNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicVertexLighting.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicVertexLightingNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicVertexLightingTx.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicVertexLightingTxNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasic.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLight.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightTx.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightTxBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightTxVc.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightTxVcBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightVc.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightVcBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLighting.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingTx.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingTxBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingTxVc.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingTxVcBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingVc.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingVcBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicTx.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicTxNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicTxVc.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicTxVcNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVc.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVcNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLighting.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingTx.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingTxBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingTxVc.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingTxVcBn.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingVc.inc"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingVcBn.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main1Bones.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main1BonesVc.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main2Bones.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main2BonesVc.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main4Bones.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main4BonesVc.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_mainVc.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLLambert_main.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLLambert_mainTk.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLLambert_mainTx.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLLambert_mainTxTk.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLPhong_main.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLPhong_mainTk.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLPhong_mainTx.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLPhong_mainTxTk.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLUnlit_main.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLUnlit_mainTk.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLUnlit_mainTx.inc"
|
||||||
|
"Src/Shaders/Compiled/DGSLUnlit_mainTxTk.inc"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_PSDualTexture.inc"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_PSDualTextureNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_VSDualTexture.inc"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_VSDualTextureNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_VSDualTextureVc.inc"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_VSDualTextureVcNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMap.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapPixelLighting.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapPixelLightingFresnel.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapPixelLightingFresnelNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapPixelLightingNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapSpecular.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapSpecularNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMap.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapBn.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapFresnel.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapFresnelBn.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapOneLight.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapOneLightBn.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapOneLightFresnel.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapOneLightFresnelBn.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapPixelLighting.inc"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapPixelLightingBn.inc"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTx.inc"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoFogSpec.inc"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoSpec.inc"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTx.inc"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTxBn.inc"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTxVc.inc"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTxVcBn.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSBloomBlur.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSBloomCombine.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSBloomExtract.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSCopy.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSDownScale2x2.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSDownScale4x4.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSGaussianBlur5x5.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSMerge.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSMonochrome.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSSepia.inc"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_VSQuad.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_PSSkinnedPixelLighting.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_PSSkinnedVertexLighting.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_PSSkinnedVertexLightingNoFog.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightFourBones.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightFourBonesBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightOneBone.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightOneBoneBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightTwoBones.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightTwoBonesBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingFourBones.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingFourBonesBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingOneBone.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingOneBoneBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingTwoBones.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingTwoBonesBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingFourBones.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingFourBonesBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingOneBone.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingOneBoneBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingTwoBones.inc"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingTwoBonesBn.inc"
|
||||||
|
"Src/Shaders/Compiled/SpriteEffect_SpritePixelShader.inc"
|
||||||
|
"Src/Shaders/Compiled/SpriteEffect_SpriteVertexShader.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PS_SRGB.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSACESFilmic.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSACESFilmic_SRGB.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSCopy.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSHDR10.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSReinhard.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSReinhard_SRGB.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSSaturate.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSSaturate_SRGB.inc"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_VSQuad.inc"
|
||||||
|
)
|
||||||
|
source_group("Src\\Shaders\\Compiled" FILES ${Src__Shaders__Compiled})
|
||||||
|
|
||||||
|
set(Src__Shaders__Shared
|
||||||
|
"Src/Shaders/Common.fxh"
|
||||||
|
"Src/Shaders/Lighting.fxh"
|
||||||
|
"Src/Shaders/Structures.fxh"
|
||||||
|
"Src/Shaders/Utilities.fxh"
|
||||||
|
)
|
||||||
|
source_group("Src\\Shaders\\Shared" FILES ${Src__Shaders__Shared})
|
||||||
|
|
||||||
|
set(Src__Shaders__Symbols
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_PSAlphaTestEqNe.pdb"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_PSAlphaTestEqNeNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_PSAlphaTestLtGt.pdb"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_PSAlphaTestLtGtNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_VSAlphaTest.pdb"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_VSAlphaTestNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_VSAlphaTestVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/AlphaTestEffect_VSAlphaTestVcNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasic.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicPixelLighting.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicPixelLightingTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicTxNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicVertexLighting.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicVertexLightingNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicVertexLightingTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_PSBasicVertexLightingTxNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasic.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLight.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightTxBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightTxVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightTxVcBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicOneLightVcBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLighting.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingTxBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingTxVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingTxVcBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicPixelLightingVcBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicTxNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicTxVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicTxVcNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVcNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLighting.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingTxBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingTxVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingTxVcBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/BasicEffect_VSBasicVertexLightingVcBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main1Bones.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main1BonesVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main2Bones.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main2BonesVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main4Bones.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_main4BonesVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLEffect_mainVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLLambert_main.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLLambert_mainTk.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLLambert_mainTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLLambert_mainTxTk.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLPhong_main.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLPhong_mainTk.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLPhong_mainTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLPhong_mainTxTk.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLUnlit_main.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLUnlit_mainTk.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLUnlit_mainTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/DGSLUnlit_mainTxTk.pdb"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_PSDualTexture.pdb"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_PSDualTextureNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_VSDualTexture.pdb"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_VSDualTextureNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_VSDualTextureVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/DualTextureEffect_VSDualTextureVcNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMap.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapPixelLighting.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapPixelLightingFresnel.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapPixelLightingFresnelNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapPixelLightingNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapSpecular.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_PSEnvMapSpecularNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMap.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapFresnel.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapFresnelBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapOneLight.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapOneLightBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapOneLightFresnel.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapOneLightFresnelBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapPixelLighting.pdb"
|
||||||
|
"Src/Shaders/Compiled/EnvironmentMapEffect_VSEnvMapPixelLightingBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoFogSpec.pdb"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoSpec.pdb"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTx.pdb"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTxBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTxVc.pdb"
|
||||||
|
"Src/Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTxVcBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSBloomBlur.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSBloomCombine.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSBloomExtract.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSCopy.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSDownScale2x2.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSDownScale4x4.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSGaussianBlur5x5.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSMerge.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSMonochrome.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_PSSepia.pdb"
|
||||||
|
"Src/Shaders/Compiled/PostProcess_VSQuad.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_PSSkinnedPixelLighting.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_PSSkinnedVertexLighting.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_PSSkinnedVertexLightingNoFog.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightFourBones.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightFourBonesBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightOneBone.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightOneBoneBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightTwoBones.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedOneLightTwoBonesBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingFourBones.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingFourBonesBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingOneBone.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingOneBoneBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingTwoBones.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedPixelLightingTwoBonesBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingFourBones.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingFourBonesBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingOneBone.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingOneBoneBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingTwoBones.pdb"
|
||||||
|
"Src/Shaders/Compiled/SkinnedEffect_VSSkinnedVertexLightingTwoBonesBn.pdb"
|
||||||
|
"Src/Shaders/Compiled/SpriteEffect_SpritePixelShader.pdb"
|
||||||
|
"Src/Shaders/Compiled/SpriteEffect_SpriteVertexShader.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PS_SRGB.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSACESFilmic.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSACESFilmic_SRGB.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSCopy.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSHDR10.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSReinhard.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSReinhard_SRGB.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSSaturate.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_PSSaturate_SRGB.pdb"
|
||||||
|
"Src/Shaders/Compiled/ToneMap_VSQuad.pdb"
|
||||||
|
)
|
||||||
|
source_group("Src\\Shaders\\Symbols" FILES ${Src__Shaders__Symbols})
|
||||||
|
|
||||||
|
set(Src__Shared
|
||||||
|
"Src/AlignedNew.h"
|
||||||
|
"Src/Bezier.h"
|
||||||
|
"Src/BinaryReader.cpp"
|
||||||
|
"Src/BinaryReader.h"
|
||||||
|
"Src/dds.h"
|
||||||
|
"Src/DemandCreate.h"
|
||||||
|
"Src/GamePad.cpp"
|
||||||
|
"Src/Geometry.cpp"
|
||||||
|
"Src/Geometry.h"
|
||||||
|
"Src/Keyboard.cpp"
|
||||||
|
"Src/LoaderHelpers.h"
|
||||||
|
"Src/Mouse.cpp"
|
||||||
|
"Src/PlatformHelpers.h"
|
||||||
|
"Src/SDKMesh.h"
|
||||||
|
"Src/SharedResourcePool.h"
|
||||||
|
"Src/SimpleMath.cpp"
|
||||||
|
"Src/TeapotData.inc"
|
||||||
|
"Src/vbo.h"
|
||||||
|
)
|
||||||
|
source_group("Src\\Shared" FILES ${Src__Shared})
|
||||||
|
|
||||||
|
set(ALL_FILES
|
||||||
|
${no_group_source_files}
|
||||||
|
${Inc}
|
||||||
|
${Inc__Shared}
|
||||||
|
${Src}
|
||||||
|
${Src__Shaders}
|
||||||
|
${Src__Shaders__Compiled}
|
||||||
|
${Src__Shaders__Shared}
|
||||||
|
${Src__Shaders__Symbols}
|
||||||
|
${Src__Shared}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target
|
||||||
|
################################################################################
|
||||||
|
add_library(${PROJECT_NAME} STATIC ${ALL_FILES})
|
||||||
|
|
||||||
|
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/Src/pch.h>"
|
||||||
|
)
|
||||||
|
|
||||||
|
use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}")
|
||||||
|
set(ROOT_NAMESPACE DirectXTK)
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
VS_GLOBAL_KEYWORD "Win32Proj"
|
||||||
|
)
|
||||||
|
################################################################################
|
||||||
|
# Target name
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "DirectXTK"
|
||||||
|
TARGET_NAME_RELEASE "DirectXTK"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "DirectXTK"
|
||||||
|
TARGET_NAME_RELEASE "DirectXTK"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Output directory
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/Bin/Desktop_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/Bin/Desktop_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/Bin/Desktop_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/Bin/Desktop_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Include directories
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/Inc"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/Inc"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile definitions
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"_WIN32_WINNT=0x0600;"
|
||||||
|
"_WIN7_PLATFORM_UPDATE;"
|
||||||
|
"WIN32;"
|
||||||
|
"_LIB;"
|
||||||
|
"_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"_WIN32_WINNT=0x0600;"
|
||||||
|
"_WIN7_PLATFORM_UPDATE;"
|
||||||
|
"WIN32;"
|
||||||
|
"_LIB;"
|
||||||
|
"_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile and link options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Oi;
|
||||||
|
/Gy
|
||||||
|
>
|
||||||
|
/arch:SSE2;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
/fp:fast;
|
||||||
|
/wd4996;
|
||||||
|
/permissive-;
|
||||||
|
/Zc:twoPhase-;
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING}
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Oi;
|
||||||
|
/Gy
|
||||||
|
>
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
/fp:fast;
|
||||||
|
/wd4996;
|
||||||
|
/permissive-;
|
||||||
|
/Zc:twoPhase-;
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/SUBSYSTEM:WINDOWS
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/SUBSYSTEM:WINDOWS
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
601
DirectXTK/DirectXTK_Desktop_2022.vcxproj
Normal file
601
DirectXTK/DirectXTK_Desktop_2022.vcxproj
Normal file
@@ -0,0 +1,601 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="Inc\CommonStates.h" />
|
||||||
|
<ClInclude Include="Inc\DDSTextureLoader.h" />
|
||||||
|
<ClInclude Include="Inc\DirectXHelpers.h" />
|
||||||
|
<ClInclude Include="Inc\Effects.h" />
|
||||||
|
<ClInclude Include="Inc\GamePad.h" />
|
||||||
|
<ClInclude Include="Inc\GeometricPrimitive.h" />
|
||||||
|
<ClInclude Include="Inc\GraphicsMemory.h" />
|
||||||
|
<ClInclude Include="Inc\Keyboard.h" />
|
||||||
|
<ClInclude Include="Inc\Model.h" />
|
||||||
|
<ClInclude Include="Inc\Mouse.h" />
|
||||||
|
<ClInclude Include="Inc\PostProcess.h" />
|
||||||
|
<ClInclude Include="Inc\SimpleMath.h" />
|
||||||
|
<ClInclude Include="Inc\SimpleMath.inl" />
|
||||||
|
<ClInclude Include="Inc\ScreenGrab.h" />
|
||||||
|
<ClInclude Include="Inc\SpriteBatch.h" />
|
||||||
|
<ClInclude Include="Inc\PrimitiveBatch.h" />
|
||||||
|
<ClInclude Include="Inc\SpriteFont.h" />
|
||||||
|
<ClInclude Include="Inc\VertexTypes.h" />
|
||||||
|
<ClInclude Include="Inc\WICTextureLoader.h" />
|
||||||
|
<ClInclude Include="Src\AlignedNew.h" />
|
||||||
|
<ClInclude Include="Src\Bezier.h" />
|
||||||
|
<ClInclude Include="Src\ConstantBuffer.h" />
|
||||||
|
<ClInclude Include="Src\BinaryReader.h" />
|
||||||
|
<ClInclude Include="Src\DemandCreate.h" />
|
||||||
|
<ClInclude Include="Src\EffectCommon.h" />
|
||||||
|
<ClInclude Include="Src\Geometry.h" />
|
||||||
|
<ClInclude Include="Src\LoaderHelpers.h" />
|
||||||
|
<ClInclude Include="Src\pch.h" />
|
||||||
|
<ClInclude Include="Src\PlatformHelpers.h" />
|
||||||
|
<ClInclude Include="Src\SDKMesh.h" />
|
||||||
|
<ClInclude Include="Src\SharedResourcePool.h" />
|
||||||
|
<ClInclude Include="Src\DDS.h" />
|
||||||
|
<ClInclude Include="Src\vbo.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="Src\AlphaTestEffect.cpp" />
|
||||||
|
<ClCompile Include="Src\BasicEffect.cpp" />
|
||||||
|
<ClCompile Include="Src\BasicPostProcess.cpp" />
|
||||||
|
<ClCompile Include="Src\CommonStates.cpp" />
|
||||||
|
<ClCompile Include="Src\DDSTextureLoader.cpp" />
|
||||||
|
<ClCompile Include="Src\DGSLEffect.cpp" />
|
||||||
|
<ClCompile Include="Src\DGSLEffectFactory.cpp" />
|
||||||
|
<ClCompile Include="Src\DualPostProcess.cpp" />
|
||||||
|
<ClCompile Include="Src\DualTextureEffect.cpp" />
|
||||||
|
<ClCompile Include="Src\BinaryReader.cpp" />
|
||||||
|
<ClCompile Include="Src\EffectCommon.cpp" />
|
||||||
|
<ClCompile Include="Src\EffectFactory.cpp" />
|
||||||
|
<ClCompile Include="Src\EnvironmentMapEffect.cpp" />
|
||||||
|
<ClCompile Include="Src\GamePad.cpp" />
|
||||||
|
<ClCompile Include="Src\GeometricPrimitive.cpp" />
|
||||||
|
<ClCompile Include="Src\Geometry.cpp" />
|
||||||
|
<ClCompile Include="Src\GraphicsMemory.cpp" />
|
||||||
|
<ClCompile Include="Src\Keyboard.cpp" />
|
||||||
|
<ClCompile Include="Src\Model.cpp" />
|
||||||
|
<ClCompile Include="Src\ModelLoadCMO.cpp" />
|
||||||
|
<ClCompile Include="Src\ModelLoadSDKMESH.cpp" />
|
||||||
|
<ClCompile Include="Src\ModelLoadVBO.cpp" />
|
||||||
|
<ClCompile Include="Src\Mouse.cpp" />
|
||||||
|
<ClCompile Include="Src\NormalMapEffect.cpp" />
|
||||||
|
<ClCompile Include="Src\pch.cpp">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Src\ScreenGrab.cpp" />
|
||||||
|
<ClCompile Include="Src\SimpleMath.cpp" />
|
||||||
|
<ClCompile Include="Src\SkinnedEffect.cpp" />
|
||||||
|
<ClCompile Include="Src\SpriteBatch.cpp" />
|
||||||
|
<ClCompile Include="Src\PrimitiveBatch.cpp" />
|
||||||
|
<ClCompile Include="Src\SpriteFont.cpp" />
|
||||||
|
<ClCompile Include="Src\ToneMapPostProcess.cpp" />
|
||||||
|
<ClCompile Include="Src\VertexTypes.cpp" />
|
||||||
|
<ClCompile Include="Src\WICTextureLoader.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Readme.txt" />
|
||||||
|
<None Include="Src\Shaders\Common.fxh" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestEqNe.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestEqNe.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestEqNeNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestEqNeNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestLtGt.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestLtGt.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestLtGtNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_PSAlphaTestLtGtNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTest.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTest.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestVcNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\AlphaTestEffect_VSAlphaTestVcNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasic.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasic.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicPixelLighting.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicPixelLighting.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicPixelLightingTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicPixelLightingTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicTxNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicTxNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLighting.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLighting.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingTxNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_PSBasicVertexLightingTxNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasic.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasic.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLight.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLight.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTxBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTxBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTxVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTxVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTxVcBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightTxVcBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightVcBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicOneLightVcBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLighting.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLighting.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTxBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTxBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTxVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTxVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTxVcBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingTxVcBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingVcBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicPixelLightingVcBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxVcNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicTxVcNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVcNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVcNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLighting.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLighting.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTxBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTxBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTxVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTxVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTxVcBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingTxVcBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingVcBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\BasicEffect_VSBasicVertexLightingVcBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main1Bones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main1Bones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main1BonesVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main1BonesVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main2Bones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main2Bones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main2BonesVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main2BonesVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main4Bones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main4Bones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main4BonesVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_main4BonesVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_mainVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLEffect_mainVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLLambert_main.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLLambert_main.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLLambert_mainTk.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLLambert_mainTk.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLLambert_mainTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLLambert_mainTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLLambert_mainTxTk.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLLambert_mainTxTk.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLPhong_main.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLPhong_main.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLPhong_mainTk.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLPhong_mainTk.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLPhong_mainTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLPhong_mainTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLPhong_mainTxTk.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLPhong_mainTxTk.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLUnlit_main.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLUnlit_main.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLUnlit_mainTk.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLUnlit_mainTk.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLUnlit_mainTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLUnlit_mainTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLUnlit_mainTxTk.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DGSLUnlit_mainTxTk.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_PSDualTexture.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_PSDualTexture.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_PSDualTextureNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_PSDualTextureNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTexture.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTexture.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureVcNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\DualTextureEffect_VSDualTextureVcNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMap.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMap.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapPixelLighting.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapPixelLighting.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapPixelLightingFresnel.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapPixelLightingFresnel.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapPixelLightingFresnelNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapPixelLightingFresnelNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapPixelLightingNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapPixelLightingNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapSpecular.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapSpecular.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapSpecularNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_PSEnvMapSpecularNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMap.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMap.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapFresnel.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapFresnel.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapFresnelBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapFresnelBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLight.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLight.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLightBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLightBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLightFresnel.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLightFresnel.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLightFresnelBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapOneLightFresnelBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapPixelLighting.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapPixelLighting.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapPixelLightingBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\EnvironmentMapEffect_VSEnvMapPixelLightingBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_PSNormalPixelLightingTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_PSNormalPixelLightingTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_PSNormalPixelLightingTxNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_PSNormalPixelLightingTxNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_PSNormalPixelLightingTxNoFogSpec.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_PSNormalPixelLightingTxNoFogSpec.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_PSNormalPixelLightingTxNoSpec.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_PSNormalPixelLightingTxNoSpec.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_VSNormalPixelLightingTx.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_VSNormalPixelLightingTx.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_VSNormalPixelLightingTxBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_VSNormalPixelLightingTxBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_VSNormalPixelLightingTxVc.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_VSNormalPixelLightingTxVc.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_VSNormalPixelLightingTxVcBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\NormalMapEffect_VSNormalPixelLightingTxVcBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSBloomBlur.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSBloomBlur.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSBloomCombine.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSBloomCombine.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSBloomExtract.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSBloomExtract.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSCopy.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSCopy.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSDownScale2x2.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSDownScale2x2.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSDownScale4x4.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSDownScale4x4.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSGaussianBlur5x5.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSGaussianBlur5x5.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSMerge.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSMerge.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSMonochrome.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSMonochrome.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSSepia.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_PSSepia.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_VSQuad.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\PostProcess_VSQuad.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedPixelLighting.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedPixelLighting.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedVertexLighting.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedVertexLighting.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedVertexLightingNoFog.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_PSSkinnedVertexLightingNoFog.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightFourBones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightFourBones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightFourBonesBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightFourBonesBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightOneBone.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightOneBone.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightOneBoneBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightOneBoneBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightTwoBones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightTwoBones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightTwoBonesBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedOneLightTwoBonesBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingFourBones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingFourBones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingFourBonesBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingFourBonesBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingOneBone.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingOneBone.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingOneBoneBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingOneBoneBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingTwoBones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingTwoBones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingTwoBonesBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedPixelLightingTwoBonesBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingFourBones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingFourBones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingFourBonesBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingFourBonesBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingOneBone.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingOneBone.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingOneBoneBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingOneBoneBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingTwoBones.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingTwoBones.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingTwoBonesBn.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SkinnedEffect_VSSkinnedVertexLightingTwoBonesBn.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SpriteEffect_SpritePixelShader.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SpriteEffect_SpritePixelShader.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SpriteEffect_SpriteVertexShader.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\SpriteEffect_SpriteVertexShader.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSACESFilmic.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSACESFilmic.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSACESFilmic_SRGB.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSACESFilmic_SRGB.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSCopy.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSCopy.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSHDR10.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSHDR10.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSReinhard.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSReinhard.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSReinhard_SRGB.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSReinhard_SRGB.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSSaturate.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSSaturate.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSSaturate_SRGB.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PSSaturate_SRGB.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PS_SRGB.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_PS_SRGB.pdb" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_VSQuad.inc" />
|
||||||
|
<None Include="Src\Shaders\Compiled\ToneMap_VSQuad.pdb" />
|
||||||
|
<None Include="Src\Shaders\CompileShaders.cmd" />
|
||||||
|
<None Include="Src\Shaders\Lighting.fxh" />
|
||||||
|
<None Include="Src\Shaders\SpriteEffect.fx" />
|
||||||
|
<None Include="Src\Shaders\Structures.fxh" />
|
||||||
|
<None Include="Src\Shaders\Utilities.fxh" />
|
||||||
|
<None Include="Src\TeapotData.inc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Src\Shaders\BasicEffect.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Src\Shaders\AlphaTestEffect.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
<None Include="Src\Shaders\DualTextureEffect.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
<None Include="Src\Shaders\EnvironmentMapEffect.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
<None Include="Src\Shaders\SkinnedEffect.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
<None Include="Src\Shaders\DGSLEffect.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
<None Include="Src\Shaders\DGSLLambert.hlsl">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
<None Include="Src\Shaders\DGSLPhong.hlsl">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
<None Include="Src\Shaders\DGSLUnlit.hlsl">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Src\Shaders\NormalMapEffect.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Src\Shaders\PostProcess.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Src\Shaders\ToneMap.fx">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals" />
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>DirectXTK</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DirectXTK</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DirectXTK</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DirectXTK</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>DirectXTK</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<WarningLevel>EnableAllWarnings</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>_WIN32_WINNT=0x0600;_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalIncludeDirectories>$(ProjectDir)Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
||||||
|
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<WarningLevel>EnableAllWarnings</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>_WIN32_WINNT=0x0600;_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalIncludeDirectories>$(ProjectDir)Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
||||||
|
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>EnableAllWarnings</WarningLevel>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>_WIN32_WINNT=0x0600;_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalIncludeDirectories>$(ProjectDir)Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
||||||
|
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>EnableAllWarnings</WarningLevel>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>_WIN32_WINNT=0x0600;_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalIncludeDirectories>$(ProjectDir)Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
||||||
|
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||||
|
<Exec Condition="!Exists('src/Shaders/Compiled/SpriteEffect_SpriteVertexShader.inc')" WorkingDirectory="$(ProjectDir)src/Shaders" Command="CompileShaders" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
||||||
1170
DirectXTK/DirectXTK_Desktop_2022.vcxproj.filters
Normal file
1170
DirectXTK/DirectXTK_Desktop_2022.vcxproj.filters
Normal file
File diff suppressed because it is too large
Load Diff
74
DirectXTK/MakeSpriteFont/MakeSpriteFont22.csproj
Normal file
74
DirectXTK/MakeSpriteFont/MakeSpriteFont22.csproj
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<ProductVersion>8.0.30703</ProductVersion>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<ProjectGuid>{7329B02D-C504-482A-A156-181D48CE493C}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>MakeSpriteFont</RootNamespace>
|
||||||
|
<AssemblyName>MakeSpriteFont</AssemblyName>
|
||||||
|
<TargetFramework>net48</TargetFramework>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|Win32'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>Win32</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|Win32'">
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>Win32</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="BitmapUtils.cs" />
|
||||||
|
<Compile Include="CharacterRegion.cs" />
|
||||||
|
<Compile Include="CommandLineParser.cs" />
|
||||||
|
<Compile Include="GlyphCropper.cs" />
|
||||||
|
<Compile Include="IFontImporter.cs" />
|
||||||
|
<Compile Include="SpriteFontWriter.cs" />
|
||||||
|
<Compile Include="TrueTypeImporter.cs" />
|
||||||
|
<Compile Include="BitmapImporter.cs" />
|
||||||
|
<Compile Include="GlyphPacker.cs" />
|
||||||
|
<Compile Include="CommandLineOptions.cs" />
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Glyph.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
||||||
0
DirectXTK/MakeSpriteFont/app.config
Normal file
0
DirectXTK/MakeSpriteFont/app.config
Normal file
158
Effects11/CMakeLists.txt
Normal file
158
Effects11/CMakeLists.txt
Normal file
@@ -0,0 +1,158 @@
|
|||||||
|
set(PROJECT_NAME Effects11)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Source groups
|
||||||
|
################################################################################
|
||||||
|
set(no_group_source_files
|
||||||
|
"EffectVariable.inl"
|
||||||
|
)
|
||||||
|
source_group("" FILES ${no_group_source_files})
|
||||||
|
|
||||||
|
set(Sources
|
||||||
|
"d3dxGlobal.cpp"
|
||||||
|
"EffectAPI.cpp"
|
||||||
|
"EffectLoad.cpp"
|
||||||
|
"EffectNonRuntime.cpp"
|
||||||
|
"EffectReflection.cpp"
|
||||||
|
"EffectRuntime.cpp"
|
||||||
|
)
|
||||||
|
source_group("Sources" FILES ${Sources})
|
||||||
|
|
||||||
|
set(ALL_FILES
|
||||||
|
${no_group_source_files}
|
||||||
|
${Sources}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target
|
||||||
|
################################################################################
|
||||||
|
add_library(${PROJECT_NAME} STATIC ${ALL_FILES})
|
||||||
|
|
||||||
|
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/pchfx.h>"
|
||||||
|
)
|
||||||
|
|
||||||
|
use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}")
|
||||||
|
set(ROOT_NAMESPACE Effects11)
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
VS_GLOBAL_KEYWORD "Win32Proj"
|
||||||
|
)
|
||||||
|
################################################################################
|
||||||
|
# Target name
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "Effects11d"
|
||||||
|
TARGET_NAME_RELEASE "Effects11"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Output directory
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/Bin/Desktop_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/Bin/Desktop_2022/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# MSVC runtime library
|
||||||
|
################################################################################
|
||||||
|
get_property(MSVC_RUNTIME_LIBRARY_DEFAULT TARGET ${PROJECT_NAME} PROPERTY MSVC_RUNTIME_LIBRARY)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
string(CONCAT "MSVC_RUNTIME_LIBRARY_STR"
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
MultiThreadedDebugDLL
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
MultiThreadedDLL
|
||||||
|
>
|
||||||
|
$<$<NOT:$<OR:$<CONFIG:Debug>,$<CONFIG:Release>>>:${MSVC_RUNTIME_LIBRARY_DEFAULT}>
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY ${MSVC_RUNTIME_LIBRARY_STR})
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Include directories
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/Binary;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/inc"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile definitions
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG;"
|
||||||
|
"DEBUG;"
|
||||||
|
"PROFILE"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"_WIN7_PLATFORM_UPDATE;"
|
||||||
|
"WIN32;"
|
||||||
|
"_WINDOWS;"
|
||||||
|
"_LIB;"
|
||||||
|
"D3DXFX_LARGEADDRESS_HANDLE;"
|
||||||
|
"_WIN32_WINNT=0x0600;"
|
||||||
|
"_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile and link options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od;
|
||||||
|
/RTC1;
|
||||||
|
/ZI
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Gy;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT}
|
||||||
|
>
|
||||||
|
/Oi;
|
||||||
|
/arch:SSE2;
|
||||||
|
/W4;
|
||||||
|
/fp:fast;
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/DELAYLOAD:%(DelayLoadDLLs);
|
||||||
|
/MACHINE:X86;
|
||||||
|
/SUBSYSTEM:WINDOWS;
|
||||||
|
/NXCOMPAT;
|
||||||
|
/DYNAMICBASE
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
/DEBUG:FULL
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
419
Effects11/Effects11_2022.vcxproj
Normal file
419
Effects11/Effects11_2022.vcxproj
Normal file
@@ -0,0 +1,419 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Profile|Win32">
|
||||||
|
<Configuration>Profile</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Profile|x64">
|
||||||
|
<Configuration>Profile</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>Effects11</ProjectName>
|
||||||
|
<ProjectGuid>{DF460EAB-570D-4B50-9089-2E2FC801BF38}</ProjectGuid>
|
||||||
|
<RootNamespace>Effects11</RootNamespace>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings" />
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Profile|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>Effects11d</TargetName>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>Effects11d</TargetName>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>Effects11</TargetName>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>Effects11</TargetName>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>Effects11</TargetName>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'">
|
||||||
|
<OutDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>Bin\Desktop_2022\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>Effects11</TargetName>
|
||||||
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>.\Binary;.\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>pchfx.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;DEBUG;PROFILE;_WINDOWS;_LIB;D3DXFX_LARGEADDRESS_HANDLE;_WIN32_WINNT=0x0600;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>.\Binary;.\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>pchfx.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;DEBUG;PROFILE;_WINDOWS;_LIB;D3DXFX_LARGEADDRESS_HANDLE;_WIN32_WINNT=0x0600;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>.\Binary;.\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>pchfx.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_WINDOWS;_LIB;D3DXFX_LARGEADDRESS_HANDLE;_WIN32_WINNT=0x0600;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>.\Binary;.\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>pchfx.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_WINDOWS;_LIB;D3DXFX_LARGEADDRESS_HANDLE;_WIN32_WINNT=0x0600;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>.\Binary;.\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>pchfx.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;PROFILE;_WINDOWS;_LIB;D3DXFX_LARGEADDRESS_HANDLE;_WIN32_WINNT=0x0600;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|X64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<OpenMPSupport>false</OpenMPSupport>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<AdditionalIncludeDirectories>.\Binary;.\Inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>pchfx.h</PrecompiledHeaderFile>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<PreprocessorDefinitions>_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;PROFILE;_WINDOWS;_LIB;D3DXFX_LARGEADDRESS_HANDLE;_WIN32_WINNT=0x0600;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<LargeAddressAware>true</LargeAddressAware>
|
||||||
|
<RandomizedBaseAddress>true</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>true</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<UACExecutionLevel>AsInvoker</UACExecutionLevel>
|
||||||
|
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup />
|
||||||
|
<ItemGroup>
|
||||||
|
<CLInclude Include="pchfx.h" />
|
||||||
|
<CLInclude Include=".\Inc\d3dx11effect.h" />
|
||||||
|
<CLInclude Include=".\Inc\d3dxglobal.h" />
|
||||||
|
<CLInclude Include=".\Binary\EffectBinaryFormat.h" />
|
||||||
|
<CLInclude Include=".\Binary\EffectStateBase11.h" />
|
||||||
|
<CLInclude Include=".\Binary\EffectStates11.h" />
|
||||||
|
<CLInclude Include=".\Binary\SOParser.h" />
|
||||||
|
<ClCompile Include="d3dxGlobal.cpp">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|X64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|X64'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Profile|X64'">Create</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<CLInclude Include="Effect.h" />
|
||||||
|
<ClCompile Include="EffectAPI.cpp" />
|
||||||
|
<ClCompile Include="EffectLoad.cpp" />
|
||||||
|
<CLInclude Include="EffectLoad.h" />
|
||||||
|
<ClCompile Include="EffectNonRuntime.cpp" />
|
||||||
|
<ClCompile Include="EffectReflection.cpp" />
|
||||||
|
<ClCompile Include="EffectRuntime.cpp" />
|
||||||
|
<None Include="EffectVariable.inl" />
|
||||||
|
<CLInclude Include="IUnknownImp.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets" />
|
||||||
|
</Project>
|
||||||
250
Simulations/CMakeLists.txt
Normal file
250
Simulations/CMakeLists.txt
Normal file
@@ -0,0 +1,250 @@
|
|||||||
|
set(PROJECT_NAME Simulations)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Source groups
|
||||||
|
################################################################################
|
||||||
|
set(no_group_source_files
|
||||||
|
"../readme.txt"
|
||||||
|
)
|
||||||
|
source_group("" FILES ${no_group_source_files})
|
||||||
|
|
||||||
|
set(Headers
|
||||||
|
"DrawingUtilitiesClass.h"
|
||||||
|
"MassSpringSystemSimulator.h"
|
||||||
|
"Simulator.h"
|
||||||
|
"TemplateSimulator.h"
|
||||||
|
"util/FFmpeg.h"
|
||||||
|
"util/matrixbase.h"
|
||||||
|
"util/quaternion.h"
|
||||||
|
"util/timer.h"
|
||||||
|
"util/util.h"
|
||||||
|
"util/vectorbase.h"
|
||||||
|
)
|
||||||
|
source_group("Headers" FILES ${Headers})
|
||||||
|
|
||||||
|
set(Sources
|
||||||
|
"TemplateSimulator.cpp"
|
||||||
|
"util/FFmpeg.cpp"
|
||||||
|
"util/util.cpp"
|
||||||
|
)
|
||||||
|
source_group("Sources" FILES ${Sources})
|
||||||
|
|
||||||
|
set(ALL_FILES
|
||||||
|
${no_group_source_files}
|
||||||
|
${Headers}
|
||||||
|
${Sources}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target
|
||||||
|
################################################################################
|
||||||
|
add_library(${PROJECT_NAME} STATIC ${ALL_FILES})
|
||||||
|
|
||||||
|
use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}")
|
||||||
|
set(ROOT_NAMESPACE Simulations)
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
VS_GLOBAL_KEYWORD "Win32Proj"
|
||||||
|
)
|
||||||
|
################################################################################
|
||||||
|
# Target name
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "${PROJECT_NAME}"
|
||||||
|
TARGET_NAME_RELEASE "${PROJECT_NAME}"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
TARGET_NAME_DEBUG "${PROJECT_NAME}"
|
||||||
|
TARGET_NAME_RELEASE "${PROJECT_NAME}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Output directory
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_SOURCE_DIR}/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_SOURCE_DIR}/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_SOURCE_DIR}/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_SOURCE_DIR}/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Include directories
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DirectXTK/Inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Core;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Optional;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Effects11/inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/AntTweakBar/include"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DirectXTK/Inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Core;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Optional;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Effects11/inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/AntTweakBar/include"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile definitions
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"NOMINMAX;"
|
||||||
|
"_CONSOLE;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"NOMINMAX;"
|
||||||
|
"_CONSOLE;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile and link options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Oi;
|
||||||
|
/Gy
|
||||||
|
>
|
||||||
|
/W3;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
/Y-
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Oi;
|
||||||
|
/Gy
|
||||||
|
>
|
||||||
|
/W3;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
/Y-
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/SUBSYSTEM:CONSOLE
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/SUBSYSTEM:CONSOLE
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Dependencies
|
||||||
|
################################################################################
|
||||||
|
# Link with other targets.
|
||||||
|
target_link_libraries(${PROJECT_NAME} PUBLIC
|
||||||
|
AntTweakBar
|
||||||
|
DirectXTK_Desktop_2022
|
||||||
|
DXUT
|
||||||
|
DXUTOpt
|
||||||
|
Effects11
|
||||||
|
)
|
||||||
|
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set(ADDITIONAL_LIBRARY_DEPENDENCIES
|
||||||
|
"D3DCompiler;"
|
||||||
|
"Mf;"
|
||||||
|
"mfuuid;"
|
||||||
|
"Mfplat;"
|
||||||
|
"Mfreadwrite;"
|
||||||
|
"comctl32;"
|
||||||
|
"kernel32;"
|
||||||
|
"user32;"
|
||||||
|
"gdi32;"
|
||||||
|
"winspool;"
|
||||||
|
"comdlg32;"
|
||||||
|
"advapi32;"
|
||||||
|
"shell32;"
|
||||||
|
"ole32;"
|
||||||
|
"oleaut32;"
|
||||||
|
"uuid;"
|
||||||
|
"odbc32;"
|
||||||
|
"odbccp32"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set(ADDITIONAL_LIBRARY_DEPENDENCIES
|
||||||
|
"D3DCompiler;"
|
||||||
|
"Mf;"
|
||||||
|
"mfuuid;"
|
||||||
|
"Mfplat;"
|
||||||
|
"Mfreadwrite;"
|
||||||
|
"comctl32;"
|
||||||
|
"kernel32;"
|
||||||
|
"user32;"
|
||||||
|
"gdi32;"
|
||||||
|
"winspool;"
|
||||||
|
"comdlg32;"
|
||||||
|
"advapi32;"
|
||||||
|
"shell32;"
|
||||||
|
"ole32;"
|
||||||
|
"oleaut32;"
|
||||||
|
"uuid;"
|
||||||
|
"odbc32;"
|
||||||
|
"odbccp32"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
target_link_libraries(${PROJECT_NAME} PUBLIC "${ADDITIONAL_LIBRARY_DEPENDENCIES}")
|
||||||
|
|
||||||
278
Simulations/Demo_2022.vcxproj
Normal file
278
Simulations/Demo_2022.vcxproj
Normal file
@@ -0,0 +1,278 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{3CABED2C-12F1-4408-AAAE-E2185A426F35}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>Simulations</RootNamespace>
|
||||||
|
<ProjectName>Simulations</ProjectName>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<TargetExt>.lib</TargetExt>
|
||||||
|
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>$(ProjectName)</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<TargetExt>.lib</TargetExt>
|
||||||
|
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>$(ProjectName)</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<TargetExt>.lib</TargetExt>
|
||||||
|
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>$(ProjectName)</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<TargetExt>.lib</TargetExt>
|
||||||
|
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<TargetName>$(ProjectName)</TargetName>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;NOMINMAX;_CONSOLE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile />
|
||||||
|
<PrecompiledHeaderOutputFile />
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<FxCompile>
|
||||||
|
<EntryPointName />
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderType>Effect</ShaderType>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderModel>5.0</ShaderModel>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ObjectFileOutput>$(OutDir)%(Filename).fxo</ObjectFileOutput>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;NOMINMAX;_CONSOLE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<FxCompile>
|
||||||
|
<EntryPointName>
|
||||||
|
</EntryPointName>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderType>Effect</ShaderType>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderModel>5.0</ShaderModel>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ObjectFileOutput>$(OutDir)%(Filename).fxo</ObjectFileOutput>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NOMINMAX;_CONSOLE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile />
|
||||||
|
<PrecompiledHeaderOutputFile />
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<FxCompile>
|
||||||
|
<EntryPointName />
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderType>Effect</ShaderType>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderModel>5.0</ShaderModel>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ObjectFileOutput>$(OutDir)%(Filename).fxo</ObjectFileOutput>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NOMINMAX;_CONSOLE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<FxCompile>
|
||||||
|
<EntryPointName>
|
||||||
|
</EntryPointName>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderType>Effect</ShaderType>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderModel>5.0</ShaderModel>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ObjectFileOutput>$(OutDir)%(Filename).fxo</ObjectFileOutput>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="TemplateSimulator.cpp" />
|
||||||
|
<ClCompile Include="util\FFmpeg.cpp" />
|
||||||
|
<ClCompile Include="util\util.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="DrawingUtilitiesClass.h" />
|
||||||
|
<ClInclude Include="MassSpringSystemSimulator.h" />
|
||||||
|
<ClInclude Include="Simulator.h" />
|
||||||
|
<ClInclude Include="TemplateSimulator.h" />
|
||||||
|
<ClInclude Include="util\FFmpeg.h" />
|
||||||
|
<ClInclude Include="util\matrixbase.h" />
|
||||||
|
<ClInclude Include="util\quaternion.h" />
|
||||||
|
<ClInclude Include="util\timer.h" />
|
||||||
|
<ClInclude Include="util\util.h" />
|
||||||
|
<ClInclude Include="util\vectorbase.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<FxCompile Include="effect.fx">
|
||||||
|
<EntryPointName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
</EntryPointName>
|
||||||
|
<EntryPointName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</EntryPointName>
|
||||||
|
<EntryPointName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
</EntryPointName>
|
||||||
|
<EntryPointName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</EntryPointName>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Text Include="..\readme.txt" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\AntTweakBar\src\AntTweakBar_2022.vcxproj">
|
||||||
|
<Project>{b99e1fa1-c30a-45f2-9d57-9e9c21b2df42}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DirectXTK\DirectXTK_Desktop_2022.vcxproj">
|
||||||
|
<Project>{e0b52ae7-e160-4d32-bf3f-910b785e5a8e}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DXUT11\Core\DXUT_DirectXTK_2022.vcxproj">
|
||||||
|
<Project>{85344b7f-5aa0-4e12-a065-d1333d11f6ca}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DXUT11\Optional\DXUTOpt_DirectXTK_2022.vcxproj">
|
||||||
|
<Project>{61b333c2-c4f7-4cc1-a9bf-83f6d95588eb}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Effects11\Effects11_2022.vcxproj">
|
||||||
|
<Project>{df460eab-570d-4b50-9089-2e2fc801bf38}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -1,159 +0,0 @@
|
|||||||
#include "DiffusionSimulator.h"
|
|
||||||
#include "pcgsolver.h"
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
Grid::Grid() {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
DiffusionSimulator::DiffusionSimulator()
|
|
||||||
{
|
|
||||||
m_iTestCase = 0;
|
|
||||||
m_vfMovableObjectPos = Vec3();
|
|
||||||
m_vfMovableObjectFinalPos = Vec3();
|
|
||||||
m_vfRotate = Vec3();
|
|
||||||
// to be implemented
|
|
||||||
}
|
|
||||||
|
|
||||||
const char * DiffusionSimulator::getTestCasesStr(){
|
|
||||||
return "Explicit_solver, Implicit_solver";
|
|
||||||
}
|
|
||||||
|
|
||||||
void DiffusionSimulator::reset(){
|
|
||||||
m_mouse.x = m_mouse.y = 0;
|
|
||||||
m_trackmouse.x = m_trackmouse.y = 0;
|
|
||||||
m_oldtrackmouse.x = m_oldtrackmouse.y = 0;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void DiffusionSimulator::initUI(DrawingUtilitiesClass * DUC)
|
|
||||||
{
|
|
||||||
this->DUC = DUC;
|
|
||||||
// to be implemented
|
|
||||||
}
|
|
||||||
|
|
||||||
void DiffusionSimulator::notifyCaseChanged(int testCase)
|
|
||||||
{
|
|
||||||
m_iTestCase = testCase;
|
|
||||||
m_vfMovableObjectPos = Vec3(0, 0, 0);
|
|
||||||
m_vfRotate = Vec3(0, 0, 0);
|
|
||||||
//
|
|
||||||
//to be implemented
|
|
||||||
//
|
|
||||||
switch (m_iTestCase)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
cout << "Explicit solver!\n";
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
cout << "Implicit solver!\n";
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
cout << "Empty Test!\n";
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Grid* DiffusionSimulator::diffuseTemperatureExplicit() {//add your own parameters
|
|
||||||
Grid* newT = new Grid();
|
|
||||||
// to be implemented
|
|
||||||
//make sure that the temperature in boundary cells stays zero
|
|
||||||
return newT;
|
|
||||||
}
|
|
||||||
|
|
||||||
void setupB(std::vector<Real>& b) {//add your own parameters
|
|
||||||
// to be implemented
|
|
||||||
//set vector B[sizeX*sizeY]
|
|
||||||
for (int i = 0; i < 25; i++) {
|
|
||||||
b.at(i) = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void fillT() {//add your own parameters
|
|
||||||
// to be implemented
|
|
||||||
//fill T with solved vector x
|
|
||||||
//make sure that the temperature in boundary cells stays zero
|
|
||||||
}
|
|
||||||
|
|
||||||
void setupA(SparseMatrix<Real>& A, double factor) {//add your own parameters
|
|
||||||
// to be implemented
|
|
||||||
//setup Matrix A[sizeX*sizeY*sizeZ, sizeX*sizeY*sizeZ]
|
|
||||||
// set with: A.set_element( index1, index2 , value );
|
|
||||||
// if needed, read with: A(index1, index2);
|
|
||||||
// avoid zero rows in A -> set the diagonal value for boundary cells to 1.0
|
|
||||||
for (int i = 0; i < 25; i++) {
|
|
||||||
A.set_element(i, i, 1); // set diagonal
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void DiffusionSimulator::diffuseTemperatureImplicit() {//add your own parameters
|
|
||||||
// solve A T = b
|
|
||||||
// to be implemented
|
|
||||||
const int N = 25;//N = sizeX*sizeY*sizeZ
|
|
||||||
SparseMatrix<Real> *A = new SparseMatrix<Real> (N);
|
|
||||||
std::vector<Real> *b = new std::vector<Real>(N);
|
|
||||||
|
|
||||||
setupA(*A, 0.1);
|
|
||||||
setupB(*b);
|
|
||||||
|
|
||||||
// perform solve
|
|
||||||
Real pcg_target_residual = 1e-05;
|
|
||||||
Real pcg_max_iterations = 1000;
|
|
||||||
Real ret_pcg_residual = 1e10;
|
|
||||||
int ret_pcg_iterations = -1;
|
|
||||||
|
|
||||||
SparsePCGSolver<Real> solver;
|
|
||||||
solver.set_solver_parameters(pcg_target_residual, pcg_max_iterations, 0.97, 0.25);
|
|
||||||
|
|
||||||
std::vector<Real> x(N);
|
|
||||||
for (int j = 0; j < N; ++j) { x[j] = 0.; }
|
|
||||||
|
|
||||||
// preconditioners: 0 off, 1 diagonal, 2 incomplete cholesky
|
|
||||||
solver.solve(*A, *b, x, ret_pcg_residual, ret_pcg_iterations, 0);
|
|
||||||
// x contains the new temperature values
|
|
||||||
fillT();//copy x to T
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void DiffusionSimulator::simulateTimestep(float timeStep)
|
|
||||||
{
|
|
||||||
// to be implemented
|
|
||||||
// update current setup for each frame
|
|
||||||
switch (m_iTestCase)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
T = diffuseTemperatureExplicit();
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
diffuseTemperatureImplicit();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void DiffusionSimulator::drawObjects()
|
|
||||||
{
|
|
||||||
// to be implemented
|
|
||||||
//visualization
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void DiffusionSimulator::drawFrame(ID3D11DeviceContext* pd3dImmediateContext)
|
|
||||||
{
|
|
||||||
drawObjects();
|
|
||||||
}
|
|
||||||
|
|
||||||
void DiffusionSimulator::onClick(int x, int y)
|
|
||||||
{
|
|
||||||
m_trackmouse.x = x;
|
|
||||||
m_trackmouse.y = y;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DiffusionSimulator::onMouse(int x, int y)
|
|
||||||
{
|
|
||||||
m_oldtrackmouse.x = x;
|
|
||||||
m_oldtrackmouse.y = y;
|
|
||||||
m_trackmouse.x = x;
|
|
||||||
m_trackmouse.y = y;
|
|
||||||
}
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
#ifndef DIFFUSIONSIMULATOR_h
|
|
||||||
#define DIFFUSIONSIMULATOR_h
|
|
||||||
|
|
||||||
#include "Simulator.h"
|
|
||||||
#include "vectorbase.h"
|
|
||||||
|
|
||||||
//impement your own grid class for saving grid data
|
|
||||||
class Grid {
|
|
||||||
public:
|
|
||||||
// Construtors
|
|
||||||
Grid();
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
// Attributes
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class DiffusionSimulator:public Simulator{
|
|
||||||
public:
|
|
||||||
// Construtors
|
|
||||||
DiffusionSimulator();
|
|
||||||
|
|
||||||
// Functions
|
|
||||||
const char * getTestCasesStr();
|
|
||||||
void initUI(DrawingUtilitiesClass * DUC);
|
|
||||||
void reset();
|
|
||||||
void drawFrame(ID3D11DeviceContext* pd3dImmediateContext);
|
|
||||||
void notifyCaseChanged(int testCase);
|
|
||||||
void simulateTimestep(float timeStep);
|
|
||||||
void externalForcesCalculations(float timeElapsed) {};
|
|
||||||
void onClick(int x, int y);
|
|
||||||
void onMouse(int x, int y);
|
|
||||||
// Specific Functions
|
|
||||||
void drawObjects();
|
|
||||||
Grid* diffuseTemperatureExplicit();
|
|
||||||
void diffuseTemperatureImplicit();
|
|
||||||
|
|
||||||
private:
|
|
||||||
// Attributes
|
|
||||||
Vec3 m_vfMovableObjectPos;
|
|
||||||
Vec3 m_vfMovableObjectFinalPos;
|
|
||||||
Vec3 m_vfRotate;
|
|
||||||
Point2D m_mouse;
|
|
||||||
Point2D m_trackmouse;
|
|
||||||
Point2D m_oldtrackmouse;
|
|
||||||
Grid *T; //save results of every time step
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
#include "SphereSystemSimulator.h"
|
|
||||||
|
|
||||||
std::function<float(float)> SphereSystemSimulator::m_Kernels[5] = {
|
|
||||||
[](float x) {return 1.0f; }, // Constant, m_iKernel = 0
|
|
||||||
[](float x) {return 1.0f - x; }, // Linear, m_iKernel = 1, as given in the exercise Sheet, x = d/2r
|
|
||||||
[](float x) {return (1.0f - x)*(1.0f - x); }, // Quadratic, m_iKernel = 2
|
|
||||||
[](float x) {return 1.0f / (x)-1.0f; }, // Weak Electric Charge, m_iKernel = 3
|
|
||||||
[](float x) {return 1.0f / (x*x) - 1.0f; }, // Electric Charge, m_iKernel = 4
|
|
||||||
};
|
|
||||||
|
|
||||||
// SphereSystemSimulator member functions
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
#ifndef SPHSYSTEMSIMULATOR_h
|
|
||||||
#define SPHSYSTEMSIMULATOR_h
|
|
||||||
#include "Simulator.h"
|
|
||||||
//#include "spheresystem.h", add your sphere system header file
|
|
||||||
|
|
||||||
#define NAIVEACC 0
|
|
||||||
#define GRIDACC 1
|
|
||||||
|
|
||||||
class SphereSystemSimulator:public Simulator{
|
|
||||||
public:
|
|
||||||
// Construtors
|
|
||||||
SphereSystemSimulator();
|
|
||||||
// Functions
|
|
||||||
const char * getTestCasesStr();
|
|
||||||
void initUI(DrawingUtilitiesClass * DUC);
|
|
||||||
void reset();
|
|
||||||
void drawFrame(ID3D11DeviceContext* pd3dImmediateContext);
|
|
||||||
void notifyCaseChanged(int testCase);
|
|
||||||
void externalForcesCalculations(float timeElapsed);
|
|
||||||
void simulateTimestep(float timeStep);
|
|
||||||
void onClick(int x, int y);
|
|
||||||
void onMouse(int x, int y);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
// Attributes
|
|
||||||
Vec3 externalForce;
|
|
||||||
Point2D m_mouse;
|
|
||||||
Point2D m_trackmouse;
|
|
||||||
Point2D m_oldtrackmouse;
|
|
||||||
float m_fMass;
|
|
||||||
float m_fRadius;
|
|
||||||
float m_fForceScaling;
|
|
||||||
float m_fDamping;
|
|
||||||
int m_iNumSpheres;
|
|
||||||
|
|
||||||
int m_iKernel; // index of the m_Kernels[5], more detials in SphereSystemSimulator.cpp
|
|
||||||
static std::function<float(float)> m_Kernels[5];
|
|
||||||
|
|
||||||
int m_iAccelerator; // switch between NAIVEACC and GRIDACC, (optionally, KDTREEACC, 2)
|
|
||||||
|
|
||||||
//SphereSystem * m_pSphereSystem; // add your own sphere system member!
|
|
||||||
// for Demo 3 only:
|
|
||||||
// you will need multiple SphereSystem objects to do comparisons in Demo 3
|
|
||||||
// m_iAccelerator should be ignored.
|
|
||||||
// SphereSystem * m_pSphereSystemGrid;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -1,160 +0,0 @@
|
|||||||
/******************************************************************************
|
|
||||||
*
|
|
||||||
* MantaFlow fluid solver framework
|
|
||||||
* Copyright 2011 Tobias Pfaff, Nils Thuerey
|
|
||||||
*
|
|
||||||
* This program is free software, distributed under the terms of the
|
|
||||||
* GNU General Public License (GPL)
|
|
||||||
* http://www.gnu.org/licenses
|
|
||||||
*
|
|
||||||
* Globally used macros and functions
|
|
||||||
*
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _GENERAL_H
|
|
||||||
#define _GENERAL_H
|
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <sstream>
|
|
||||||
#include <cmath>
|
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
namespace Manta {
|
|
||||||
|
|
||||||
// ui data exchange
|
|
||||||
#ifdef GUI
|
|
||||||
// defined in qtmain.cpp
|
|
||||||
extern void updateQtGui(bool full, int frame, float time, const std::string& curPlugin);
|
|
||||||
#else
|
|
||||||
// dummy function if GUI is not enabled
|
|
||||||
inline void updateQtGui(bool full, int frame, float time, const std::string& curPlugin) {}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// activate debug mode if _DEBUG is defined (eg for windows)
|
|
||||||
#ifndef DEBUG
|
|
||||||
#ifdef _DEBUG
|
|
||||||
#define DEBUG 1
|
|
||||||
#endif // _DEBUG
|
|
||||||
#endif // DEBUG
|
|
||||||
|
|
||||||
// Standard exception
|
|
||||||
class Error : public std::exception
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
Error(const std::string& s) : mS(s) {
|
|
||||||
# ifdef DEBUG
|
|
||||||
// print error
|
|
||||||
std::cerr << "Aborting: "<< s <<" \n";
|
|
||||||
// then force immedieate crash in debug mode
|
|
||||||
*(volatile int*)(0) = 1;
|
|
||||||
# endif
|
|
||||||
}
|
|
||||||
virtual ~Error() throw() {}
|
|
||||||
virtual const char* what() const throw() { return mS.c_str(); }
|
|
||||||
private:
|
|
||||||
std::string mS;
|
|
||||||
};
|
|
||||||
|
|
||||||
// mark unused parameter variables
|
|
||||||
#define unusedParameter(x) ((void)x)
|
|
||||||
|
|
||||||
// Debug output functions and macros
|
|
||||||
extern int gDebugLevel;
|
|
||||||
|
|
||||||
#define MSGSTREAM std::ostringstream msg; msg.precision(7); msg.width(9);
|
|
||||||
#define debMsg(mStr, level) if (_chklevel(level)) { MSGSTREAM; msg << mStr; std::cout << msg.str() << std::endl; }
|
|
||||||
inline bool _chklevel(int level=0) { return gDebugLevel >= level; }
|
|
||||||
|
|
||||||
// error and assertation macros
|
|
||||||
#ifdef DEBUG
|
|
||||||
# define DEBUG_ONLY(a) a
|
|
||||||
#else
|
|
||||||
# define DEBUG_ONLY(a)
|
|
||||||
#endif
|
|
||||||
#define throwError(msg) { std::ostringstream __s; __s << msg << std::endl << "Error raised in " << __FILE__ << ":" << __LINE__; throw Manta::Error(__s.str()); }
|
|
||||||
#define errMsg(msg) throwError(msg);
|
|
||||||
#define assertMsg(cond,msg) if(!(cond)) throwError(msg)
|
|
||||||
#define assertDeb(cond,msg) DEBUG_ONLY( assertMsg(cond,msg) )
|
|
||||||
|
|
||||||
// for compatibility with blender, blender only defines WITH_MANTA, make sure we have "BLENDER"
|
|
||||||
#ifndef BLENDER
|
|
||||||
#ifdef WITH_MANTA
|
|
||||||
#define BLENDER 1
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// common type for indexing large grids
|
|
||||||
typedef long long IndexInt;
|
|
||||||
|
|
||||||
// template tricks
|
|
||||||
template<typename T>
|
|
||||||
struct remove_pointers {
|
|
||||||
typedef T type;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<typename T>
|
|
||||||
struct remove_pointers<T*> {
|
|
||||||
typedef T type;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<typename T>
|
|
||||||
struct remove_pointers<T&> {
|
|
||||||
typedef T type;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Commonly used enums and types
|
|
||||||
//! Timing class for preformance measuring
|
|
||||||
struct MuTime {
|
|
||||||
MuTime() { get(); }
|
|
||||||
MuTime operator-(const MuTime& a) { MuTime b; b.time = time - a.time; return b; };
|
|
||||||
MuTime operator+(const MuTime& a) { MuTime b; b.time = time + a.time; return b; };
|
|
||||||
MuTime operator/(unsigned long a) { MuTime b; b.time = time / a; return b; };
|
|
||||||
MuTime& operator+=(const MuTime& a) { time += a.time; return *this; }
|
|
||||||
MuTime& operator-=(const MuTime& a) { time -= a.time; return *this; }
|
|
||||||
MuTime& operator/=(unsigned long a) { time /= a; return *this; }
|
|
||||||
std::string toString();
|
|
||||||
|
|
||||||
void clear() { time = 0; }
|
|
||||||
void get();
|
|
||||||
MuTime update();
|
|
||||||
|
|
||||||
unsigned long time;
|
|
||||||
};
|
|
||||||
std::ostream& operator<< (std::ostream& os, const MuTime& t);
|
|
||||||
|
|
||||||
//! generate a string with infos about the current mantaflow build
|
|
||||||
std::string buildInfoString();
|
|
||||||
|
|
||||||
// Some commonly used math helpers
|
|
||||||
template<class T> inline T square(T a) {
|
|
||||||
return a*a;
|
|
||||||
}
|
|
||||||
template<class T> inline T cubed(T a) {
|
|
||||||
return a*a*a;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class T> inline T clamp(const T& val, const T& vmin, const T& vmax) {
|
|
||||||
if (val < vmin) return vmin;
|
|
||||||
if (val > vmax) return vmax;
|
|
||||||
return val;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class T> inline T nmod(const T& a, const T& b);
|
|
||||||
template<> inline int nmod(const int& a, const int& b) { int c=a%b; return (c<0) ? (c+b) : c; }
|
|
||||||
template<> inline float nmod(const float& a, const float& b) { float c=std::fmod(a,b); return (c<0) ? (c+b) : c; }
|
|
||||||
template<> inline double nmod(const double& a, const double& b) { double c=std::fmod(a,b); return (c<0) ? (c+b) : c; }
|
|
||||||
|
|
||||||
template<class T> inline T safeDivide(const T& a, const T& b);
|
|
||||||
template<> inline int safeDivide<int>(const int &a, const int& b) { return (b) ? (a/b) : a; }
|
|
||||||
template<> inline float safeDivide<float>(const float &a, const float& b) { return (b) ? (a/b) : a; }
|
|
||||||
template<> inline double safeDivide<double>(const double &a, const double& b) { return (b) ? (a/b) : a; }
|
|
||||||
|
|
||||||
inline bool c_isnan(float c) {
|
|
||||||
volatile float d=c;
|
|
||||||
return d != d;
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -20,11 +20,10 @@ using namespace GamePhysics;
|
|||||||
|
|
||||||
//#define ADAPTIVESTEP
|
//#define ADAPTIVESTEP
|
||||||
|
|
||||||
//#define TEMPLATE_DEMO
|
#define TEMPLATE_DEMO
|
||||||
//#define MASS_SPRING_SYSTEM
|
//#define MASS_SPRING_SYSTEM
|
||||||
//#define RIGID_BODY_SYSTEM
|
//#define RIGID_BODY_SYSTEM
|
||||||
//#define SPH_SYSTEM
|
//#define SPH_SYSTEM
|
||||||
#define DIFFUSION_SYSTEM
|
|
||||||
|
|
||||||
#ifdef TEMPLATE_DEMO
|
#ifdef TEMPLATE_DEMO
|
||||||
#include "TemplateSimulator.h"
|
#include "TemplateSimulator.h"
|
||||||
@@ -39,10 +38,6 @@ using namespace GamePhysics;
|
|||||||
//#include "SPHSystemSimulator.h"
|
//#include "SPHSystemSimulator.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DIFFUSION_SYSTEM
|
|
||||||
#include "DiffusionSimulator.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
DrawingUtilitiesClass * g_pDUC;
|
DrawingUtilitiesClass * g_pDUC;
|
||||||
Simulator * g_pSimulator;
|
Simulator * g_pSimulator;
|
||||||
float g_fTimestep = 0.001;
|
float g_fTimestep = 0.001;
|
||||||
@@ -374,9 +369,6 @@ int main(int argc, char* argv[])
|
|||||||
#endif
|
#endif
|
||||||
#ifdef SPH_SYSTEM
|
#ifdef SPH_SYSTEM
|
||||||
//g_pSimulator= new SPHSystemSimulator();
|
//g_pSimulator= new SPHSystemSimulator();
|
||||||
#endif
|
|
||||||
#ifdef DIFFUSION_SYSTEM
|
|
||||||
g_pSimulator= new DiffusionSimulator();
|
|
||||||
#endif
|
#endif
|
||||||
g_pSimulator->reset();
|
g_pSimulator->reset();
|
||||||
|
|
||||||
|
|||||||
@@ -1,750 +0,0 @@
|
|||||||
//
|
|
||||||
// Preconditioned conjugate gradient solver
|
|
||||||
//
|
|
||||||
// Created by Robert Bridson, Ryoichi Ando and Nils Thuerey
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef RCMATRIX3_H
|
|
||||||
#define RCMATRIX3_H
|
|
||||||
|
|
||||||
#include <iterator>
|
|
||||||
#include <cassert>
|
|
||||||
#include <vector>
|
|
||||||
#include <fstream>
|
|
||||||
#include <cmath>
|
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
// index type
|
|
||||||
#define int_index long long
|
|
||||||
|
|
||||||
// parallelization disabled
|
|
||||||
|
|
||||||
#define parallel_for(size) { int thread_number = 0; int_index parallel_index=0; for( int_index parallel_index=0; parallel_index<(int_index)size; parallel_index++ ) {
|
|
||||||
#define parallel_end } thread_number=parallel_index=0; }
|
|
||||||
|
|
||||||
#define parallel_block
|
|
||||||
#define do_parallel
|
|
||||||
#define do_end
|
|
||||||
#define block_end
|
|
||||||
|
|
||||||
#include "vectorbase.h"
|
|
||||||
|
|
||||||
// note - "Int" instead of "N" here, the latter is size!
|
|
||||||
template<class Int, class T>
|
|
||||||
struct InstantBLAS {
|
|
||||||
static inline Int offset(Int N, Int incX) { return ((incX) > 0 ? 0 : ((N) - 1) * (-(incX))); }
|
|
||||||
static T cblas_ddot( const Int N, const T *X, const Int incX, const T *Y, const Int incY) {
|
|
||||||
double r = 0.0; // always use double precision internally here...
|
|
||||||
Int i;
|
|
||||||
Int ix = offset(N,incX);
|
|
||||||
Int iy = offset(N,incY);
|
|
||||||
for (i = 0; i < N; i++) {
|
|
||||||
r += X[ix] * Y[iy];
|
|
||||||
ix += incX;
|
|
||||||
iy += incY;
|
|
||||||
}
|
|
||||||
return (T)r;
|
|
||||||
}
|
|
||||||
static void cblas_daxpy( const Int N, const T alpha, const T *X, const Int incX, T *Y, const Int incY) {
|
|
||||||
Int i;
|
|
||||||
if (N <= 0 ) return;
|
|
||||||
if (alpha == 0.0) return;
|
|
||||||
if (incX == 1 && incY == 1) {
|
|
||||||
const Int m = N % 4;
|
|
||||||
for (i = 0; i < m; i++)
|
|
||||||
Y[i] += alpha * X[i];
|
|
||||||
for (i = m; i + 3 < N; i += 4) {
|
|
||||||
Y[i ] += alpha * X[i ];
|
|
||||||
Y[i + 1] += alpha * X[i + 1];
|
|
||||||
Y[i + 2] += alpha * X[i + 2];
|
|
||||||
Y[i + 3] += alpha * X[i + 3];
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
Int ix = offset(N, incX);
|
|
||||||
Int iy = offset(N, incY);
|
|
||||||
for (i = 0; i < N; i++) {
|
|
||||||
Y[iy] += alpha * X[ix];
|
|
||||||
ix += incX;
|
|
||||||
iy += incY;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// dot products ==============================================================
|
|
||||||
static inline T dot(const std::vector<T> &x, const std::vector<T> &y) {
|
|
||||||
return cblas_ddot((int)x.size(), &x[0], 1, &y[0], 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// inf-norm (maximum absolute value: index of max returned) ==================
|
|
||||||
static inline Int index_abs_max(const std::vector<T> &x) {
|
|
||||||
int maxind = 0;
|
|
||||||
T maxvalue = 0;
|
|
||||||
for(Int i = 0; i < (Int)x.size(); ++i) {
|
|
||||||
if(std::abs(x[i]) > maxvalue) {
|
|
||||||
maxvalue = fabs(x[i]);
|
|
||||||
maxind = i;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return maxind;
|
|
||||||
}
|
|
||||||
|
|
||||||
// inf-norm (maximum absolute value) =========================================
|
|
||||||
// technically not part of BLAS, but useful
|
|
||||||
static inline T abs_max(const std::vector<T> &x)
|
|
||||||
{ return std::abs(x[index_abs_max(x)]); }
|
|
||||||
|
|
||||||
// saxpy (y=alpha*x+y) =======================================================
|
|
||||||
static inline void add_scaled(T alpha, const std::vector<T> &x, std::vector<T> &y) {
|
|
||||||
cblas_daxpy((Int)x.size(), alpha, &x[0], 1, &y[0], 1);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
void zero(std::vector<T> &v)
|
|
||||||
{ for(int i=(int)v.size()-1; i>=0; --i) v[i]=0; }
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
void insert(std::vector<T> &a, unsigned int index, T e)
|
|
||||||
{
|
|
||||||
a.push_back(a.back());
|
|
||||||
for(unsigned int i=(unsigned int)a.size()-1; i>index; --i)
|
|
||||||
a[i]=a[i-1];
|
|
||||||
a[index]=e;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
void erase(std::vector<T> &a, unsigned int index)
|
|
||||||
{
|
|
||||||
for(unsigned int i=index; i<a.size()-1; ++i)
|
|
||||||
a[i]=a[i+1];
|
|
||||||
a.pop_back();
|
|
||||||
}
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
// Dynamic compressed sparse row matrix.
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
struct SparseMatrix
|
|
||||||
{
|
|
||||||
int n; // dimension
|
|
||||||
std::vector<std::vector<int> > index; // for each row, a list of all column indices (sorted)
|
|
||||||
std::vector<std::vector<T> > value; // values corresponding to index
|
|
||||||
|
|
||||||
explicit SparseMatrix(int n_=0, int expected_nonzeros_per_row=7)
|
|
||||||
: n(n_), index(n_), value(n_)
|
|
||||||
{
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
index[i].reserve(expected_nonzeros_per_row);
|
|
||||||
value[i].reserve(expected_nonzeros_per_row);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void clear(void)
|
|
||||||
{
|
|
||||||
n=0;
|
|
||||||
index.clear();
|
|
||||||
value.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
void zero(void)
|
|
||||||
{
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
index[i].resize(0);
|
|
||||||
value[i].resize(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void resize(int n_)
|
|
||||||
{
|
|
||||||
n=n_;
|
|
||||||
index.resize(n);
|
|
||||||
value.resize(n);
|
|
||||||
}
|
|
||||||
|
|
||||||
T operator()(int i, int j) const
|
|
||||||
{
|
|
||||||
for(int k=0; k<(int)index[i].size(); ++k){
|
|
||||||
if(index[i][k]==j) return value[i][k];
|
|
||||||
else if(index[i][k]>j) return 0;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void set_element(int i, int j, T new_value)
|
|
||||||
{
|
|
||||||
int k=0;
|
|
||||||
for(; k<(int)index[i].size(); ++k){
|
|
||||||
if(index[i][k]==j){
|
|
||||||
value[i][k]=new_value;
|
|
||||||
return;
|
|
||||||
}else if(index[i][k]>j){
|
|
||||||
insert(index[i], k, j);
|
|
||||||
insert(value[i], k, new_value);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
index[i].push_back(j);
|
|
||||||
value[i].push_back(new_value);
|
|
||||||
}
|
|
||||||
|
|
||||||
void add_to_element(int i, int j, T increment_value)
|
|
||||||
{
|
|
||||||
int k=0;
|
|
||||||
for(; k<(int)index[i].size(); ++k){
|
|
||||||
if(index[i][k]==j){
|
|
||||||
value[i][k]+=increment_value;
|
|
||||||
return;
|
|
||||||
}else if(index[i][k]>j){
|
|
||||||
insert(index[i], k, j);
|
|
||||||
insert(value[i], k, increment_value);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
index[i].push_back(j);
|
|
||||||
value[i].push_back(increment_value);
|
|
||||||
}
|
|
||||||
|
|
||||||
// assumes indices is already sorted
|
|
||||||
void add_sparse_row(int i, const std::vector<int> &indices, const std::vector<T> &values)
|
|
||||||
{
|
|
||||||
int j=0, k=0;
|
|
||||||
while(j<indices.size() && k<(int)index[i].size()){
|
|
||||||
if(index[i][k]<indices[j]){
|
|
||||||
++k;
|
|
||||||
}else if(index[i][k]>indices[j]){
|
|
||||||
insert(index[i], k, indices[j]);
|
|
||||||
insert(value[i], k, values[j]);
|
|
||||||
++j;
|
|
||||||
}else{
|
|
||||||
value[i][k]+=values[j];
|
|
||||||
++j;
|
|
||||||
++k;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for(;j<indices.size(); ++j){
|
|
||||||
index[i].push_back(indices[j]);
|
|
||||||
value[i].push_back(values[j]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// assumes matrix has symmetric structure - so the indices in row i tell us which columns to delete i from
|
|
||||||
void symmetric_remove_row_and_column(int i)
|
|
||||||
{
|
|
||||||
for(int a=0; a<index[i].size(); ++a){
|
|
||||||
int j=index[i][a]; //
|
|
||||||
for(int b=0; b<index[j].size(); ++b){
|
|
||||||
if(index[j][b]==i){
|
|
||||||
erase(index[j], b);
|
|
||||||
erase(value[j], b);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
index[i].resize(0);
|
|
||||||
value[i].resize(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
void write_matlab(std::ostream &output, const char *variable_name)
|
|
||||||
{
|
|
||||||
output<<variable_name<<"=sparse([";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
for(int j=0; j<index[i].size(); ++j){
|
|
||||||
output<<i+1<<" ";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"],...\n [";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
for(int j=0; j<index[i].size(); ++j){
|
|
||||||
output<<index[i][j]+1<<" ";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"],...\n [";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
for(int j=0; j<value[i].size(); ++j){
|
|
||||||
output<<value[i][j]<<" ";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"], "<<n<<", "<<n<<");"<<std::endl;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef SparseMatrix<float> SparseMatrixf;
|
|
||||||
typedef SparseMatrix<double> SparseMatrixd;
|
|
||||||
|
|
||||||
// perform result=matrix*x
|
|
||||||
template<class T>
|
|
||||||
void multiply(const SparseMatrix<T> &matrix, const std::vector<T> &x, std::vector<T> &result)
|
|
||||||
{
|
|
||||||
assert(matrix.n==x.size());
|
|
||||||
result.resize(matrix.n);
|
|
||||||
//for(int i=0; i<matrix.n; ++i)
|
|
||||||
parallel_for(matrix.n) {
|
|
||||||
unsigned i (parallel_index);
|
|
||||||
T value=0;
|
|
||||||
for(int j=0; j<(int)matrix.index[i].size(); ++j){
|
|
||||||
value+=matrix.value[i][j]*x[matrix.index[i][j]];
|
|
||||||
}
|
|
||||||
result[i]=value;
|
|
||||||
} parallel_end
|
|
||||||
}
|
|
||||||
|
|
||||||
// perform result=result-matrix*x
|
|
||||||
template<class T>
|
|
||||||
void multiply_and_subtract(const SparseMatrix<T> &matrix, const std::vector<T> &x, std::vector<T> &result)
|
|
||||||
{
|
|
||||||
assert(matrix.n==x.size());
|
|
||||||
result.resize(matrix.n);
|
|
||||||
for(int i=0; i<(int)matrix.n; ++i){
|
|
||||||
for(int j=0; j<(int)matrix.index[i].size(); ++j){
|
|
||||||
result[i]-=matrix.value[i][j]*x[matrix.index[i][j]];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
// Fixed version of SparseMatrix. This is not a good structure for dynamically
|
|
||||||
// modifying the matrix, but can be significantly faster for matrix-vector
|
|
||||||
// multiplies due to better data locality.
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
struct FixedSparseMatrix
|
|
||||||
{
|
|
||||||
int n; // dimension
|
|
||||||
std::vector<T> value; // nonzero values row by row
|
|
||||||
std::vector<int> colindex; // corresponding column indices
|
|
||||||
std::vector<int> rowstart; // where each row starts in value and colindex (and last entry is one past the end, the number of nonzeros)
|
|
||||||
|
|
||||||
explicit FixedSparseMatrix(int n_=0)
|
|
||||||
: n(n_), value(0), colindex(0), rowstart(n_+1)
|
|
||||||
{}
|
|
||||||
|
|
||||||
void clear(void)
|
|
||||||
{
|
|
||||||
n=0;
|
|
||||||
value.clear();
|
|
||||||
colindex.clear();
|
|
||||||
rowstart.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
void resize(int n_)
|
|
||||||
{
|
|
||||||
n=n_;
|
|
||||||
rowstart.resize(n+1);
|
|
||||||
}
|
|
||||||
|
|
||||||
void construct_from_matrix(const SparseMatrix<T> &matrix)
|
|
||||||
{
|
|
||||||
resize(matrix.n);
|
|
||||||
rowstart[0]=0;
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
rowstart[i+1]=rowstart[i]+matrix.index[i].size();
|
|
||||||
}
|
|
||||||
value.resize(rowstart[n]);
|
|
||||||
colindex.resize(rowstart[n]);
|
|
||||||
int j=0;
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
for(int k=0; k<(int)matrix.index[i].size(); ++k){
|
|
||||||
value[j]=matrix.value[i][k];
|
|
||||||
colindex[j]=matrix.index[i][k];
|
|
||||||
++j;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void write_matlab(std::ostream &output, const char *variable_name)
|
|
||||||
{
|
|
||||||
output<<variable_name<<"=sparse([";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
for(int j=rowstart[i]; j<rowstart[i+1]; ++j){
|
|
||||||
output<<i+1<<" ";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"],...\n [";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
for(int j=rowstart[i]; j<rowstart[i+1]; ++j){
|
|
||||||
output<<colindex[j]+1<<" ";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"],...\n [";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
for(int j=rowstart[i]; j<rowstart[i+1]; ++j){
|
|
||||||
output<<value[j]<<" ";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"], "<<n<<", "<<n<<");"<<std::endl;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
// perform result=matrix*x
|
|
||||||
template<class T>
|
|
||||||
void multiply(const FixedSparseMatrix<T> &matrix, const std::vector<T> &x, std::vector<T> &result)
|
|
||||||
{
|
|
||||||
assert(matrix.n==x.size());
|
|
||||||
result.resize(matrix.n);
|
|
||||||
//for(int i=0; i<matrix.n; ++i)
|
|
||||||
parallel_for(matrix.n) {
|
|
||||||
unsigned i (parallel_index);
|
|
||||||
T value=0;
|
|
||||||
for(int j=matrix.rowstart[i]; j<matrix.rowstart[i+1]; ++j){
|
|
||||||
value+=matrix.value[j]*x[matrix.colindex[j]];
|
|
||||||
}
|
|
||||||
result[i]=value;
|
|
||||||
} parallel_end
|
|
||||||
}
|
|
||||||
|
|
||||||
// perform result=result-matrix*x
|
|
||||||
template<class T>
|
|
||||||
void multiply_and_subtract(const FixedSparseMatrix<T> &matrix, const std::vector<T> &x, std::vector<T> &result)
|
|
||||||
{
|
|
||||||
assert(matrix.n==x.size());
|
|
||||||
result.resize(matrix.n);
|
|
||||||
for(int i=0; i<matrix.n; ++i){
|
|
||||||
for(int j=matrix.rowstart[i]; j<matrix.rowstart[i+1]; ++j){
|
|
||||||
result[i]-=matrix.value[j]*x[matrix.colindex[j]];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
// A simple compressed sparse column data structure (with separate diagonal)
|
|
||||||
// for lower triangular matrices
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
struct SparseColumnLowerFactor
|
|
||||||
{
|
|
||||||
int n;
|
|
||||||
std::vector<T> invdiag; // reciprocals of diagonal elements
|
|
||||||
std::vector<T> value; // values below the diagonal, listed column by column
|
|
||||||
std::vector<int> rowindex; // a list of all row indices, for each column in turn
|
|
||||||
std::vector<int> colstart; // where each column begins in rowindex (plus an extra entry at the end, of #nonzeros)
|
|
||||||
std::vector<T> adiag; // just used in factorization: minimum "safe" diagonal entry allowed
|
|
||||||
|
|
||||||
explicit SparseColumnLowerFactor(int n_=0)
|
|
||||||
: n(n_), invdiag(n_), colstart(n_+1), adiag(n_)
|
|
||||||
{}
|
|
||||||
|
|
||||||
void clear(void)
|
|
||||||
{
|
|
||||||
n=0;
|
|
||||||
invdiag.clear();
|
|
||||||
value.clear();
|
|
||||||
rowindex.clear();
|
|
||||||
colstart.clear();
|
|
||||||
adiag.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
void resize(int n_)
|
|
||||||
{
|
|
||||||
n=n_;
|
|
||||||
invdiag.resize(n);
|
|
||||||
colstart.resize(n+1);
|
|
||||||
adiag.resize(n);
|
|
||||||
}
|
|
||||||
|
|
||||||
void write_matlab(std::ostream &output, const char *variable_name)
|
|
||||||
{
|
|
||||||
output<<variable_name<<"=sparse([";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
output<<" "<<i+1;
|
|
||||||
for(int j=colstart[i]; j<colstart[i+1]; ++j){
|
|
||||||
output<<" "<<rowindex[j]+1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"],...\n [";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
output<<" "<<i+1;
|
|
||||||
for(int j=colstart[i]; j<colstart[i+1]; ++j){
|
|
||||||
output<<" "<<i+1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"],...\n [";
|
|
||||||
for(int i=0; i<n; ++i){
|
|
||||||
output<<" "<<(invdiag[i]!=0 ? 1/invdiag[i] : 0);
|
|
||||||
for(int j=colstart[i]; j<colstart[i+1]; ++j){
|
|
||||||
output<<" "<<value[j];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
output<<"], "<<n<<", "<<n<<");"<<std::endl;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
// Incomplete Cholesky factorization, level zero, with option for modified version.
|
|
||||||
// Set modification_parameter between zero (regular incomplete Cholesky) and
|
|
||||||
// one (fully modified version), with values close to one usually giving the best
|
|
||||||
// results. The min_diagonal_ratio parameter is used to detect and correct
|
|
||||||
// problems in factorization: if a pivot is this much less than the diagonal
|
|
||||||
// entry from the original matrix, the original matrix entry is used instead.
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
void factor_modified_incomplete_cholesky0(const SparseMatrix<T> &matrix, SparseColumnLowerFactor<T> &factor,
|
|
||||||
T modification_parameter=0.97, T min_diagonal_ratio=0.25)
|
|
||||||
{
|
|
||||||
// first copy lower triangle of matrix into factor (Note: assuming A is symmetric of course!)
|
|
||||||
factor.resize(matrix.n);
|
|
||||||
zero(factor.invdiag); // important: eliminate old values from previous solves!
|
|
||||||
factor.value.resize(0);
|
|
||||||
factor.rowindex.resize(0);
|
|
||||||
zero(factor.adiag);
|
|
||||||
for(int i=0; i<matrix.n; ++i){
|
|
||||||
factor.colstart[i]=(int)factor.rowindex.size();
|
|
||||||
for(int j=0; j<(int)matrix.index[i].size(); ++j){
|
|
||||||
if(matrix.index[i][j]>i){
|
|
||||||
factor.rowindex.push_back(matrix.index[i][j]);
|
|
||||||
factor.value.push_back(matrix.value[i][j]);
|
|
||||||
}else if(matrix.index[i][j]==i){
|
|
||||||
factor.invdiag[i]=factor.adiag[i]=matrix.value[i][j];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
factor.colstart[matrix.n]=(int)factor.rowindex.size();
|
|
||||||
// now do the incomplete factorization (figure out numerical values)
|
|
||||||
|
|
||||||
// MATLAB code:
|
|
||||||
// L=tril(A);
|
|
||||||
// for k=1:size(L,2)
|
|
||||||
// L(k,k)=sqrt(L(k,k));
|
|
||||||
// L(k+1:end,k)=L(k+1:end,k)/L(k,k);
|
|
||||||
// for j=find(L(:,k))'
|
|
||||||
// if j>k
|
|
||||||
// fullupdate=L(:,k)*L(j,k);
|
|
||||||
// incompleteupdate=fullupdate.*(A(:,j)~=0);
|
|
||||||
// missing=sum(fullupdate-incompleteupdate);
|
|
||||||
// L(j:end,j)=L(j:end,j)-incompleteupdate(j:end);
|
|
||||||
// L(j,j)=L(j,j)-omega*missing;
|
|
||||||
// end
|
|
||||||
// end
|
|
||||||
// end
|
|
||||||
|
|
||||||
for(int k=0; k<matrix.n; ++k){
|
|
||||||
if(factor.adiag[k]==0) continue; // null row/column
|
|
||||||
// figure out the final L(k,k) entry
|
|
||||||
if(factor.invdiag[k]<min_diagonal_ratio*factor.adiag[k])
|
|
||||||
factor.invdiag[k]=1/sqrt(factor.adiag[k]); // drop to Gauss-Seidel here if the pivot looks dangerously small
|
|
||||||
else
|
|
||||||
factor.invdiag[k]=1/sqrt(factor.invdiag[k]);
|
|
||||||
// finalize the k'th column L(:,k)
|
|
||||||
for(int p=factor.colstart[k]; p<factor.colstart[k+1]; ++p){
|
|
||||||
factor.value[p]*=factor.invdiag[k];
|
|
||||||
}
|
|
||||||
// incompletely eliminate L(:,k) from future columns, modifying diagonals
|
|
||||||
for(int p=factor.colstart[k]; p<factor.colstart[k+1]; ++p){
|
|
||||||
int j=factor.rowindex[p]; // work on column j
|
|
||||||
T multiplier=factor.value[p];
|
|
||||||
T missing=0;
|
|
||||||
int a=factor.colstart[k];
|
|
||||||
// first look for contributions to missing from dropped entries above the diagonal in column j
|
|
||||||
int b=0;
|
|
||||||
while(a<factor.colstart[k+1] && factor.rowindex[a]<j){
|
|
||||||
// look for factor.rowindex[a] in matrix.index[j] starting at b
|
|
||||||
while(b<(int)matrix.index[j].size()){
|
|
||||||
if(matrix.index[j][b]<factor.rowindex[a])
|
|
||||||
++b;
|
|
||||||
else if(matrix.index[j][b]==factor.rowindex[a])
|
|
||||||
break;
|
|
||||||
else{
|
|
||||||
missing+=factor.value[a];
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
++a;
|
|
||||||
}
|
|
||||||
// adjust the diagonal j,j entry
|
|
||||||
if(a<factor.colstart[k+1] && factor.rowindex[a]==j){
|
|
||||||
factor.invdiag[j]-=multiplier*factor.value[a];
|
|
||||||
}
|
|
||||||
++a;
|
|
||||||
// and now eliminate from the nonzero entries below the diagonal in column j (or add to missing if we can't)
|
|
||||||
b=factor.colstart[j];
|
|
||||||
while(a<factor.colstart[k+1] && b<factor.colstart[j+1]){
|
|
||||||
if(factor.rowindex[b]<factor.rowindex[a])
|
|
||||||
++b;
|
|
||||||
else if(factor.rowindex[b]==factor.rowindex[a]){
|
|
||||||
factor.value[b]-=multiplier*factor.value[a];
|
|
||||||
++a;
|
|
||||||
++b;
|
|
||||||
}else{
|
|
||||||
missing+=factor.value[a];
|
|
||||||
++a;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// and if there's anything left to do, add it to missing
|
|
||||||
while(a<factor.colstart[k+1]){
|
|
||||||
missing+=factor.value[a];
|
|
||||||
++a;
|
|
||||||
}
|
|
||||||
// and do the final diagonal adjustment from the missing entries
|
|
||||||
factor.invdiag[j]-=modification_parameter*multiplier*missing;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
// Solution routines with lower triangular matrix.
|
|
||||||
|
|
||||||
// solve L*result=rhs
|
|
||||||
template<class T>
|
|
||||||
void solve_lower(const SparseColumnLowerFactor<T> &factor, const std::vector<T> &rhs, std::vector<T> &result)
|
|
||||||
{
|
|
||||||
assert(factor.n==rhs.size());
|
|
||||||
assert(factor.n==result.size());
|
|
||||||
result=rhs;
|
|
||||||
for(int i=0; i<factor.n; ++i){
|
|
||||||
result[i]*=factor.invdiag[i];
|
|
||||||
for(int j=factor.colstart[i]; j<factor.colstart[i+1]; ++j){
|
|
||||||
result[factor.rowindex[j]]-=factor.value[j]*result[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// solve L^T*result=rhs
|
|
||||||
template<class T>
|
|
||||||
void solve_lower_transpose_in_place(const SparseColumnLowerFactor<T> &factor, std::vector<T> &x)
|
|
||||||
{
|
|
||||||
assert(factor.n==(int)x.size());
|
|
||||||
assert(factor.n>0);
|
|
||||||
int i=factor.n;
|
|
||||||
do{
|
|
||||||
--i;
|
|
||||||
for(int j=factor.colstart[i]; j<factor.colstart[i+1]; ++j){
|
|
||||||
x[i]-=factor.value[j]*x[factor.rowindex[j]];
|
|
||||||
}
|
|
||||||
x[i]*=factor.invdiag[i];
|
|
||||||
}while(i!=0);
|
|
||||||
}
|
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
// Encapsulates the Conjugate Gradient algorithm with incomplete Cholesky
|
|
||||||
// factorization preconditioner.
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
struct SparsePCGSolver
|
|
||||||
{
|
|
||||||
SparsePCGSolver(void)
|
|
||||||
{
|
|
||||||
set_solver_parameters(1e-5, 100, 0.97, 0.25);
|
|
||||||
}
|
|
||||||
|
|
||||||
void set_solver_parameters(T tolerance_factor_, int max_iterations_, T modified_incomplete_cholesky_parameter_=0.97, T min_diagonal_ratio_=0.25)
|
|
||||||
{
|
|
||||||
tolerance_factor=tolerance_factor_;
|
|
||||||
if(tolerance_factor<1e-30) tolerance_factor=1e-30;
|
|
||||||
max_iterations=max_iterations_;
|
|
||||||
modified_incomplete_cholesky_parameter=modified_incomplete_cholesky_parameter_;
|
|
||||||
min_diagonal_ratio=min_diagonal_ratio_;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool solve(const SparseMatrix<T> &matrix, const std::vector<T> &rhs, std::vector<T> &result, T &relative_residual_out, int &iterations_out, int precondition=2)
|
|
||||||
{
|
|
||||||
int n=matrix.n;
|
|
||||||
if((int)m.size()!=n){ m.resize(n); s.resize(n); z.resize(n); r.resize(n); }
|
|
||||||
zero(result);
|
|
||||||
r=rhs;
|
|
||||||
double residual_out=InstantBLAS<int,T>::abs_max(r);
|
|
||||||
if(residual_out==0) {
|
|
||||||
iterations_out=0;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
//double tol=tolerance_factor*residual_out; // relative residual
|
|
||||||
double tol=tolerance_factor;
|
|
||||||
double residual_0 = residual_out;
|
|
||||||
|
|
||||||
form_preconditioner(matrix, precondition);
|
|
||||||
apply_preconditioner( r, z, precondition);
|
|
||||||
double rho=InstantBLAS<int,T>::dot(z, r);
|
|
||||||
if(rho==0 || rho!=rho) {
|
|
||||||
iterations_out=0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
s=z;
|
|
||||||
fixed_matrix.construct_from_matrix(matrix);
|
|
||||||
int iteration;
|
|
||||||
for(iteration=0; iteration<max_iterations; ++iteration){
|
|
||||||
multiply(fixed_matrix, s, z);
|
|
||||||
double alpha=rho/InstantBLAS<int,T>::dot(s, z);
|
|
||||||
InstantBLAS<int,T>::add_scaled(alpha, s, result);
|
|
||||||
InstantBLAS<int,T>::add_scaled(-alpha, z, r);
|
|
||||||
residual_out=InstantBLAS<int,T>::abs_max(r);
|
|
||||||
relative_residual_out = residual_out / residual_0;
|
|
||||||
if(residual_out<=tol) {
|
|
||||||
iterations_out=iteration+1;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
apply_preconditioner(r, z, precondition);
|
|
||||||
double rho_new=InstantBLAS<int,T>::dot(z, r);
|
|
||||||
double beta=rho_new/rho;
|
|
||||||
InstantBLAS<int,T>::add_scaled(beta, s, z); s.swap(z); // s=beta*s+z
|
|
||||||
rho=rho_new;
|
|
||||||
}
|
|
||||||
iterations_out=iteration;
|
|
||||||
relative_residual_out = residual_out / residual_0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
|
||||||
|
|
||||||
// internal structures
|
|
||||||
SparseColumnLowerFactor<T> ic_factor; // modified incomplete cholesky factor
|
|
||||||
std::vector<T> m, z, s, r; // temporary vectors for PCG
|
|
||||||
FixedSparseMatrix<T> fixed_matrix; // used within loop
|
|
||||||
|
|
||||||
// parameters
|
|
||||||
T tolerance_factor;
|
|
||||||
int max_iterations;
|
|
||||||
T modified_incomplete_cholesky_parameter;
|
|
||||||
T min_diagonal_ratio;
|
|
||||||
|
|
||||||
void form_preconditioner(const SparseMatrix<T>& matrix, int precondition=2)
|
|
||||||
{
|
|
||||||
if(precondition==2) {
|
|
||||||
// incomplete cholesky
|
|
||||||
factor_modified_incomplete_cholesky0(matrix, ic_factor, modified_incomplete_cholesky_parameter, min_diagonal_ratio);
|
|
||||||
|
|
||||||
} else if(precondition==1) {
|
|
||||||
// diagonal
|
|
||||||
ic_factor.resize(matrix.n);
|
|
||||||
zero(ic_factor.invdiag);
|
|
||||||
for(int i=0; i<matrix.n; ++i) {
|
|
||||||
for(int j=0; j<(int)matrix.index[i].size(); ++j){
|
|
||||||
if(matrix.index[i][j]==i){
|
|
||||||
ic_factor.invdiag[i] = 1./matrix.value[i][j];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void apply_preconditioner(const std::vector<T> &x, std::vector<T> &result, int precondition=2)
|
|
||||||
{
|
|
||||||
if (precondition==2) {
|
|
||||||
// incomplete cholesky
|
|
||||||
solve_lower(ic_factor, x, result);
|
|
||||||
solve_lower_transpose_in_place(ic_factor,result);
|
|
||||||
} else if(precondition==1) {
|
|
||||||
// diagonal
|
|
||||||
for(int_index i=0; i<(int_index)result.size(); ++i) {
|
|
||||||
result[i] = x[i] * ic_factor.invdiag[i];
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// off
|
|
||||||
result = x;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#undef parallel_for
|
|
||||||
#undef parallel_end
|
|
||||||
#undef int_index
|
|
||||||
|
|
||||||
#undef parallel_block
|
|
||||||
#undef do_parallel
|
|
||||||
#undef do_end
|
|
||||||
#undef block_end
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -14,29 +14,29 @@ namespace GamePhysics
|
|||||||
|
|
||||||
// basic inlined vector class
|
// basic inlined vector class
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
class vector4Dim
|
class ntlVector4Dim
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
inline vector4Dim() : x(0),y(0),z(0),t(0) {}
|
inline ntlVector4Dim() : x(0),y(0),z(0),t(0) {}
|
||||||
|
|
||||||
//! Copy-Constructor
|
//! Copy-Constructor
|
||||||
inline vector4Dim ( const vector4Dim<Scalar> &v ) : x(v.x), y(v.y), z(v.z),t(v.t) {}
|
inline ntlVector4Dim ( const ntlVector4Dim<Scalar> &v ) : x(v.x), y(v.y), z(v.z),t(v.t) {}
|
||||||
|
|
||||||
//! Copy-Constructor
|
//! Copy-Constructor
|
||||||
inline vector4Dim ( const float * v) : x((Scalar)v[0]), y((Scalar)v[1]), z((Scalar)v[2]), t((Scalar)v[3]) {}
|
inline ntlVector4Dim ( const float * v) : x((Scalar)v[0]), y((Scalar)v[1]), z((Scalar)v[2]), t((Scalar)v[3]) {}
|
||||||
|
|
||||||
//! Copy-Constructor
|
//! Copy-Constructor
|
||||||
inline vector4Dim ( const double * v) : x((Scalar)v[0]), y((Scalar)v[1]), z((Scalar)v[2]), t((Scalar)v[3]) {}
|
inline ntlVector4Dim ( const double * v) : x((Scalar)v[0]), y((Scalar)v[1]), z((Scalar)v[2]), t((Scalar)v[3]) {}
|
||||||
|
|
||||||
//! Construct a vector from one Scalar
|
//! Construct a vector from one Scalar
|
||||||
inline vector4Dim ( Scalar v) : x(v), y(v), z(v), t(v) {}
|
inline ntlVector4Dim ( Scalar v) : x(v), y(v), z(v), t(v) {}
|
||||||
|
|
||||||
//! Construct a vector from four Ss
|
//! Construct a vector from four Ss
|
||||||
inline vector4Dim ( Scalar vx, Scalar vy, Scalar vz, Scalar vw) : x(vx), y(vy), z(vz), t(vw) {}
|
inline ntlVector4Dim ( Scalar vx, Scalar vy, Scalar vz, Scalar vw) : x(vx), y(vy), z(vz), t(vw) {}
|
||||||
|
|
||||||
//! Construct a vector from four Ss
|
//! Construct a vector from four Ss
|
||||||
//inline vector4Dim(DirectX::XMVECTOR &v ); // TODO CHECK!
|
//inline ntlVector4Dim(DirectX::XMVECTOR &v ); // TODO CHECK!
|
||||||
|
|
||||||
// get address of array for OpenGL
|
// get address of array for OpenGL
|
||||||
Scalar *getAddress() { return value; }
|
Scalar *getAddress() { return value; }
|
||||||
@@ -44,7 +44,7 @@ public:
|
|||||||
// Operators
|
// Operators
|
||||||
|
|
||||||
//! Assignment operator
|
//! Assignment operator
|
||||||
inline const vector4Dim<Scalar>& operator= ( const vector4Dim<Scalar>& v ) {
|
inline const ntlVector4Dim<Scalar>& operator= ( const ntlVector4Dim<Scalar>& v ) {
|
||||||
x = v.x;
|
x = v.x;
|
||||||
y = v.y;
|
y = v.y;
|
||||||
z = v.z;
|
z = v.z;
|
||||||
@@ -52,12 +52,12 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assignment operator
|
//! Assignment operator
|
||||||
inline const vector4Dim<Scalar>& operator= ( Scalar s ) {
|
inline const ntlVector4Dim<Scalar>& operator= ( Scalar s ) {
|
||||||
x = y = z = t = s;
|
x = y = z = t = s;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assign and add operator
|
//! Assign and add operator
|
||||||
inline const vector4Dim<Scalar>& operator+= ( const vector4Dim<Scalar>& v ) {
|
inline const ntlVector4Dim<Scalar>& operator+= ( const ntlVector4Dim<Scalar>& v ) {
|
||||||
x += v.x;
|
x += v.x;
|
||||||
y += v.y;
|
y += v.y;
|
||||||
z += v.z;
|
z += v.z;
|
||||||
@@ -65,7 +65,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assign and add operator
|
//! Assign and add operator
|
||||||
inline const vector4Dim<Scalar>& operator+= ( Scalar s ) {
|
inline const ntlVector4Dim<Scalar>& operator+= ( Scalar s ) {
|
||||||
x += s;
|
x += s;
|
||||||
y += s;
|
y += s;
|
||||||
z += s;
|
z += s;
|
||||||
@@ -73,7 +73,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assign and sub operator
|
//! Assign and sub operator
|
||||||
inline const vector4Dim<Scalar>& operator-= ( const vector4Dim<Scalar>& v ) {
|
inline const ntlVector4Dim<Scalar>& operator-= ( const ntlVector4Dim<Scalar>& v ) {
|
||||||
x -= v.x;
|
x -= v.x;
|
||||||
y -= v.y;
|
y -= v.y;
|
||||||
z -= v.z;
|
z -= v.z;
|
||||||
@@ -81,7 +81,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assign and sub operator
|
//! Assign and sub operator
|
||||||
inline const vector4Dim<Scalar>& operator-= ( Scalar s ) {
|
inline const ntlVector4Dim<Scalar>& operator-= ( Scalar s ) {
|
||||||
x -= s;
|
x -= s;
|
||||||
y -= s;
|
y -= s;
|
||||||
z -= s;
|
z -= s;
|
||||||
@@ -89,7 +89,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assign and mult operator
|
//! Assign and mult operator
|
||||||
inline const vector4Dim<Scalar>& operator*= ( const vector4Dim<Scalar>& v ) {
|
inline const ntlVector4Dim<Scalar>& operator*= ( const ntlVector4Dim<Scalar>& v ) {
|
||||||
x *= v.x;
|
x *= v.x;
|
||||||
y *= v.y;
|
y *= v.y;
|
||||||
z *= v.z;
|
z *= v.z;
|
||||||
@@ -97,7 +97,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assign and mult operator
|
//! Assign and mult operator
|
||||||
inline const vector4Dim<Scalar>& operator*= ( Scalar s ) {
|
inline const ntlVector4Dim<Scalar>& operator*= ( Scalar s ) {
|
||||||
x *= s;
|
x *= s;
|
||||||
y *= s;
|
y *= s;
|
||||||
z *= s;
|
z *= s;
|
||||||
@@ -105,7 +105,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assign and div operator
|
//! Assign and div operator
|
||||||
inline const vector4Dim<Scalar>& operator/= ( const vector4Dim<Scalar>& v ) {
|
inline const ntlVector4Dim<Scalar>& operator/= ( const ntlVector4Dim<Scalar>& v ) {
|
||||||
x /= v.x;
|
x /= v.x;
|
||||||
y /= v.y;
|
y /= v.y;
|
||||||
z /= v.z;
|
z /= v.z;
|
||||||
@@ -113,7 +113,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
//! Assign and div operator
|
//! Assign and div operator
|
||||||
inline const vector4Dim<Scalar>& operator/= ( Scalar s ) {
|
inline const ntlVector4Dim<Scalar>& operator/= ( Scalar s ) {
|
||||||
x /= s;
|
x /= s;
|
||||||
y /= s;
|
y /= s;
|
||||||
z /= s;
|
z /= s;
|
||||||
@@ -121,29 +121,29 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void safeDivide (const vector4Dim<Scalar>& v);
|
inline void safeDivide (const ntlVector4Dim<Scalar>& v);
|
||||||
|
|
||||||
//! Negation operator
|
//! Negation operator
|
||||||
inline vector4Dim<Scalar> operator- () const {
|
inline ntlVector4Dim<Scalar> operator- () const {
|
||||||
return vector4Dim<Scalar> (-x, -y, -z, -t);
|
return ntlVector4Dim<Scalar> (-x, -y, -z, -t);
|
||||||
}
|
}
|
||||||
|
|
||||||
// binary operator add
|
// binary operator add
|
||||||
inline vector4Dim<Scalar> operator+ (const vector4Dim<Scalar>&) const;
|
inline ntlVector4Dim<Scalar> operator+ (const ntlVector4Dim<Scalar>&) const;
|
||||||
// binary operator add
|
// binary operator add
|
||||||
inline vector4Dim<Scalar> operator+ (Scalar) const;
|
inline ntlVector4Dim<Scalar> operator+ (Scalar) const;
|
||||||
// binary operator sub
|
// binary operator sub
|
||||||
inline vector4Dim<Scalar> operator- (const vector4Dim<Scalar>&) const;
|
inline ntlVector4Dim<Scalar> operator- (const ntlVector4Dim<Scalar>&) const;
|
||||||
// binary operator sub
|
// binary operator sub
|
||||||
inline vector4Dim<Scalar> operator- (Scalar) const;
|
inline ntlVector4Dim<Scalar> operator- (Scalar) const;
|
||||||
// binary operator mult
|
// binary operator mult
|
||||||
inline vector4Dim<Scalar> operator* (const vector4Dim<Scalar>&) const;
|
inline ntlVector4Dim<Scalar> operator* (const ntlVector4Dim<Scalar>&) const;
|
||||||
// binary operator mult
|
// binary operator mult
|
||||||
inline vector4Dim<Scalar> operator* (Scalar) const;
|
inline ntlVector4Dim<Scalar> operator* (Scalar) const;
|
||||||
// binary operator div
|
// binary operator div
|
||||||
inline vector4Dim<Scalar> operator/ (const vector4Dim<Scalar>&) const;
|
inline ntlVector4Dim<Scalar> operator/ (const ntlVector4Dim<Scalar>&) const;
|
||||||
// binary operator div
|
// binary operator div
|
||||||
inline vector4Dim<Scalar> operator/ (Scalar) const;
|
inline ntlVector4Dim<Scalar> operator/ (Scalar) const;
|
||||||
|
|
||||||
//! Get smallest component
|
//! Get smallest component
|
||||||
//inline Scalar min() const { return ( x<y ) ? ( ( x<z ) ? x:z ) : ( ( y<z ) ? y:z ); // todo t!!}
|
//inline Scalar min() const { return ( x<y ) ? ( ( x<z ) ? x:z ) : ( ( y<z ) ? y:z ); // todo t!!}
|
||||||
@@ -185,7 +185,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
// zero element
|
// zero element
|
||||||
static const vector4Dim<Scalar> ZERO;
|
static const ntlVector4Dim<Scalar> ZERO;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
@@ -196,9 +196,9 @@ protected:
|
|||||||
//************************************************************************
|
//************************************************************************
|
||||||
//! Addition operator
|
//! Addition operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar> vector4Dim<Scalar>::operator+ ( const vector4Dim<Scalar> &v) const
|
inline ntlVector4Dim<Scalar> ntlVector4Dim<Scalar>::operator+ ( const ntlVector4Dim<Scalar> &v) const
|
||||||
{
|
{
|
||||||
return vector4Dim<Scalar> (value[0]+v.value[0],
|
return ntlVector4Dim<Scalar> (value[0]+v.value[0],
|
||||||
value[1]+v.value[1],
|
value[1]+v.value[1],
|
||||||
value[2]+v.value[2],
|
value[2]+v.value[2],
|
||||||
value[3]+v.value[3]);
|
value[3]+v.value[3]);
|
||||||
@@ -206,42 +206,42 @@ inline vector4Dim<Scalar> vector4Dim<Scalar>::operator+ ( const vector4Dim<Scala
|
|||||||
|
|
||||||
//! Addition operator
|
//! Addition operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
vector4Dim<Scalar>::operator+(Scalar s) const
|
ntlVector4Dim<Scalar>::operator+(Scalar s) const
|
||||||
{
|
{
|
||||||
return vector4Dim<Scalar>(value[0]+s,
|
return ntlVector4Dim<Scalar>(value[0]+s,
|
||||||
value[1]+s,
|
value[1]+s,
|
||||||
value[2]+s,
|
value[2]+s,
|
||||||
value[3]+s);
|
value[3]+s);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
operator+(float s, vector4Dim<Scalar> v)
|
operator+(float s, ntlVector4Dim<Scalar> v)
|
||||||
{
|
{
|
||||||
return v + s;
|
return v + s;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
operator+(double s, vector4Dim<Scalar> v)
|
operator+(double s, ntlVector4Dim<Scalar> v)
|
||||||
{
|
{
|
||||||
return v + s;
|
return v + s;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
operator+(int s, vector4Dim<Scalar> v)
|
operator+(int s, ntlVector4Dim<Scalar> v)
|
||||||
{
|
{
|
||||||
return v + s;
|
return v + s;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Subtraction operator
|
//! Subtraction operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
vector4Dim<Scalar>::operator-( const vector4Dim<Scalar> &v ) const
|
ntlVector4Dim<Scalar>::operator-( const ntlVector4Dim<Scalar> &v ) const
|
||||||
{
|
{
|
||||||
return vector4Dim<Scalar>(value[0]-v.value[0],
|
return ntlVector4Dim<Scalar>(value[0]-v.value[0],
|
||||||
value[1]-v.value[1],
|
value[1]-v.value[1],
|
||||||
value[2]-v.value[2],
|
value[2]-v.value[2],
|
||||||
value[3]-v.value[3]);
|
value[3]-v.value[3]);
|
||||||
@@ -249,10 +249,10 @@ vector4Dim<Scalar>::operator-( const vector4Dim<Scalar> &v ) const
|
|||||||
|
|
||||||
//! Subtraction operator
|
//! Subtraction operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
vector4Dim<Scalar>::operator-(Scalar s ) const
|
ntlVector4Dim<Scalar>::operator-(Scalar s ) const
|
||||||
{
|
{
|
||||||
return vector4Dim<Scalar>(value[0]-s,
|
return ntlVector4Dim<Scalar>(value[0]-s,
|
||||||
value[1]-s,
|
value[1]-s,
|
||||||
value[2]-s,
|
value[2]-s,
|
||||||
value[3]-s,);
|
value[3]-s,);
|
||||||
@@ -260,50 +260,50 @@ vector4Dim<Scalar>::operator-(Scalar s ) const
|
|||||||
|
|
||||||
//! Multiplication operator
|
//! Multiplication operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
vector4Dim<Scalar>::operator* ( const vector4Dim<Scalar>& v ) const
|
ntlVector4Dim<Scalar>::operator* ( const ntlVector4Dim<Scalar>& v ) const
|
||||||
{
|
{
|
||||||
return vector4Dim<Scalar>(value[0]*v.value[0],
|
return ntlVector4Dim<Scalar>(value[0]*v.value[0],
|
||||||
value[1]*v.value[1],
|
value[1]*v.value[1],
|
||||||
value[2]*v.value[2],
|
value[2]*v.value[2],
|
||||||
value[3]*v.value[3]);
|
value[3]*v.value[3]);
|
||||||
}
|
}
|
||||||
//! Multiplication operator
|
//! Multiplication operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
vector4Dim<Scalar>::operator* (Scalar s) const
|
ntlVector4Dim<Scalar>::operator* (Scalar s) const
|
||||||
{
|
{
|
||||||
return vector4Dim<Scalar>(value[0]*s, value[1]*s, value[2]*s, value[3]*s);
|
return ntlVector4Dim<Scalar>(value[0]*s, value[1]*s, value[2]*s, value[3]*s);
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Multiplication operator
|
//! Multiplication operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
operator* (float s, vector4Dim<Scalar> v)
|
operator* (float s, ntlVector4Dim<Scalar> v)
|
||||||
{
|
{
|
||||||
return v * s;
|
return v * s;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
operator*(double s, vector4Dim<Scalar> v)
|
operator*(double s, ntlVector4Dim<Scalar> v)
|
||||||
{
|
{
|
||||||
return v * s;
|
return v * s;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
operator*(int s, vector4Dim<Scalar> v)
|
operator*(int s, ntlVector4Dim<Scalar> v)
|
||||||
{
|
{
|
||||||
return v * s;
|
return v * s;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Division operator
|
//! Division operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
vector4Dim<Scalar>::operator/ (const vector4Dim<Scalar> & v) const
|
ntlVector4Dim<Scalar>::operator/ (const ntlVector4Dim<Scalar> & v) const
|
||||||
{
|
{
|
||||||
return vector4Dim<Scalar> (value[0]/v.value[0],
|
return ntlVector4Dim<Scalar> (value[0]/v.value[0],
|
||||||
value[1]/v.value[1],
|
value[1]/v.value[1],
|
||||||
value[2]/v.value[2],
|
value[2]/v.value[2],
|
||||||
value[3]/v.value[3]);
|
value[3]/v.value[3]);
|
||||||
@@ -311,10 +311,10 @@ vector4Dim<Scalar>::operator/ (const vector4Dim<Scalar> & v) const
|
|||||||
|
|
||||||
//! Division operator
|
//! Division operator
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar>
|
inline ntlVector4Dim<Scalar>
|
||||||
vector4Dim<Scalar>::operator / (Scalar s) const
|
ntlVector4Dim<Scalar>::operator / (Scalar s) const
|
||||||
{
|
{
|
||||||
return vector4Dim<Scalar> (value[0]/s,
|
return ntlVector4Dim<Scalar> (value[0]/s,
|
||||||
value[1]/s,
|
value[1]/s,
|
||||||
value[2]/s,
|
value[2]/s,
|
||||||
value[3]/s);
|
value[3]/s);
|
||||||
@@ -322,7 +322,7 @@ vector4Dim<Scalar>::operator / (Scalar s) const
|
|||||||
|
|
||||||
//! Safe divide
|
//! Safe divide
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline void vector4Dim<Scalar>::safeDivide( const vector4Dim<Scalar> &v )
|
inline void ntlVector4Dim<Scalar>::safeDivide( const ntlVector4Dim<Scalar> &v )
|
||||||
{
|
{
|
||||||
value[0] = (v.value[0]!=0) ? (value[0] / v.value[0]) : 0;
|
value[0] = (v.value[0]!=0) ? (value[0] / v.value[0]) : 0;
|
||||||
value[1] = (v.value[1]!=0) ? (value[1] / v.value[1]) : 0;
|
value[1] = (v.value[1]!=0) ? (value[1] / v.value[1]) : 0;
|
||||||
@@ -336,14 +336,14 @@ inline void vector4Dim<Scalar>::safeDivide( const vector4Dim<Scalar> &v )
|
|||||||
|
|
||||||
//! Dot product
|
//! Dot product
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline Scalar dot ( const vector4Dim<Scalar> &t, const vector4Dim<Scalar> &v ) {
|
inline Scalar dot ( const ntlVector4Dim<Scalar> &t, const ntlVector4Dim<Scalar> &v ) {
|
||||||
return t.x*v.x + t.y*v.y + t.z*v.z + t.t*v.t;
|
return t.x*v.x + t.y*v.y + t.z*v.z + t.t*v.t;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Cross product
|
//! Cross product
|
||||||
/*template<class Scalar>
|
/*template<class Scalar>
|
||||||
inline vector4Dim<Scalar> cross ( const vector4Dim<Scalar> &t, const vector4Dim<Scalar> &v ) {
|
inline ntlVector4Dim<Scalar> cross ( const ntlVector4Dim<Scalar> &t, const ntlVector4Dim<Scalar> &v ) {
|
||||||
NYI vector4Dim<Scalar> cp (
|
NYI ntlVector4Dim<Scalar> cp (
|
||||||
( ( t.y*v.z ) - ( t.z*v.y ) ),
|
( ( t.y*v.z ) - ( t.z*v.y ) ),
|
||||||
( ( t.z*v.x ) - ( t.x*v.z ) ),
|
( ( t.z*v.x ) - ( t.x*v.z ) ),
|
||||||
( ( t.x*v.y ) - ( t.y*v.x ) ) );
|
( ( t.x*v.y ) - ( t.y*v.x ) ) );
|
||||||
@@ -353,36 +353,36 @@ inline vector4Dim<Scalar> cross ( const vector4Dim<Scalar> &t, const vector4Dim<
|
|||||||
|
|
||||||
//! Compute the magnitude (length) of the vector
|
//! Compute the magnitude (length) of the vector
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline Scalar norm ( const vector4Dim<Scalar>& v ) {
|
inline Scalar norm ( const ntlVector4Dim<Scalar>& v ) {
|
||||||
Scalar l = v.x*v.x + v.y*v.y + v.z*v.z + v.t*v.t;
|
Scalar l = v.x*v.x + v.y*v.y + v.z*v.z + v.t*v.t;
|
||||||
return ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON ) ? 1. : sqrt ( l );
|
return ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON ) ? 1. : sqrt ( l );
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Compute squared magnitude
|
//! Compute squared magnitude
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline Scalar normSquare ( const vector4Dim<Scalar>& v ) {
|
inline Scalar normSquare ( const ntlVector4Dim<Scalar>& v ) {
|
||||||
return v.x*v.x + v.y*v.y + v.z*v.z + v.t*v.t;
|
return v.x*v.x + v.y*v.y + v.z*v.z + v.t*v.t;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Returns a normalized vector
|
//! Returns a normalized vector
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline vector4Dim<Scalar> getNormalized ( const vector4Dim<Scalar>& v ) {
|
inline ntlVector4Dim<Scalar> getNormalized ( const ntlVector4Dim<Scalar>& v ) {
|
||||||
Scalar l = v.x*v.x + v.y*v.y + v.z*v.z + v.t*v.t;
|
Scalar l = v.x*v.x + v.y*v.y + v.z*v.z + v.t*v.t;
|
||||||
if ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON )
|
if ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON )
|
||||||
return v; /* normalized "enough"... */
|
return v; /* normalized "enough"... */
|
||||||
else if ( l > VECTOR_EPSILON*VECTOR_EPSILON )
|
else if ( l > VECTOR_EPSILON*VECTOR_EPSILON )
|
||||||
{
|
{
|
||||||
Scalar fac = 1./sqrt ( l );
|
Scalar fac = 1./sqrt ( l );
|
||||||
return vector4Dim<Scalar> ( v.x*fac, v.y*fac, v.z*fac , v.t*fac );
|
return ntlVector4Dim<Scalar> ( v.x*fac, v.y*fac, v.z*fac , v.t*fac );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return vector4Dim<Scalar> ( ( Scalar ) 0 );
|
return ntlVector4Dim<Scalar> ( ( Scalar ) 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Compute the norm of the vector and normalize it.
|
//! Compute the norm of the vector and normalize it.
|
||||||
/*! \return The value of the norm */
|
/*! \return The value of the norm */
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline Scalar normalize ( vector4Dim<Scalar> &v ) {
|
inline Scalar normalize ( ntlVector4Dim<Scalar> &v ) {
|
||||||
Scalar norm;
|
Scalar norm;
|
||||||
Scalar l = v.x*v.x + v.y*v.y + v.z*v.z + v.t*v.t;
|
Scalar l = v.x*v.x + v.y*v.y + v.z*v.z + v.t*v.t;
|
||||||
if ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON ) {
|
if ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON ) {
|
||||||
@@ -391,14 +391,14 @@ inline Scalar normalize ( vector4Dim<Scalar> &v ) {
|
|||||||
norm = sqrt ( l );
|
norm = sqrt ( l );
|
||||||
v *= 1./norm;
|
v *= 1./norm;
|
||||||
} else {
|
} else {
|
||||||
v = vector4Dim<Scalar>::ZERO;
|
v = ntlVector4Dim<Scalar>::ZERO;
|
||||||
norm = 0.;
|
norm = 0.;
|
||||||
}
|
}
|
||||||
return ( Scalar ) norm;
|
return ( Scalar ) norm;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
inline bool equal(const vector4Dim<Scalar> &v, const vector4Dim<Scalar> &c)
|
inline bool equal(const ntlVector4Dim<Scalar> &v, const ntlVector4Dim<Scalar> &c)
|
||||||
{
|
{
|
||||||
return (ABS(v[0]-c[0]) +
|
return (ABS(v[0]-c[0]) +
|
||||||
ABS(v[1]-c[1]) +
|
ABS(v[1]-c[1]) +
|
||||||
@@ -407,7 +407,7 @@ inline bool equal(const vector4Dim<Scalar> &v, const vector4Dim<Scalar> &c)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! Outputs the object in human readable form as string
|
//! Outputs the object in human readable form as string
|
||||||
template<class Scalar> std::string vector4Dim<Scalar>::toString() const {
|
template<class Scalar> std::string ntlVector4Dim<Scalar>::toString() const {
|
||||||
char buf[256];
|
char buf[256];
|
||||||
snprintf ( buf,256,"<%f,%f,%f,%f>", ( double ) ( *this ) [0], ( double ) ( *this ) [1], ( double ) ( *this ) [2] , ( double ) ( *this ) [3] );
|
snprintf ( buf,256,"<%f,%f,%f,%f>", ( double ) ( *this ) [0], ( double ) ( *this ) [1], ( double ) ( *this ) [2] , ( double ) ( *this ) [3] );
|
||||||
return std::string ( buf );
|
return std::string ( buf );
|
||||||
@@ -415,7 +415,7 @@ template<class Scalar> std::string vector4Dim<Scalar>::toString() const {
|
|||||||
|
|
||||||
//! Outputs the object in human readable form to stream
|
//! Outputs the object in human readable form to stream
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
std::ostream& operator<< ( std::ostream& os, const vector4Dim<Scalar>& i ) {
|
std::ostream& operator<< ( std::ostream& os, const ntlVector4Dim<Scalar>& i ) {
|
||||||
char buf[256];
|
char buf[256];
|
||||||
snprintf ( buf,256,"[%d,%d,%d,%d]", (double) i[0], (double) i[1], (double) i[2] , (double) i[3] );
|
snprintf ( buf,256,"[%d,%d,%d,%d]", (double) i[0], (double) i[1], (double) i[2] , (double) i[3] );
|
||||||
os << std::string ( buf );
|
os << std::string ( buf );
|
||||||
@@ -424,7 +424,7 @@ std::ostream& operator<< ( std::ostream& os, const vector4Dim<Scalar>& i ) {
|
|||||||
|
|
||||||
//! Reads the contents of the object from a stream
|
//! Reads the contents of the object from a stream
|
||||||
template<class Scalar>
|
template<class Scalar>
|
||||||
std::istream& operator>> ( std::istream& is, vector4Dim<Scalar>& i ) {
|
std::istream& operator>> ( std::istream& is, ntlVector4Dim<Scalar>& i ) {
|
||||||
char c;
|
char c;
|
||||||
char dummy[4];
|
char dummy[4];
|
||||||
is >> c >> i[0] >> dummy >> i[1] >> dummy >> i[2] >> dummy >> i[3] >> c;
|
is >> c >> i[0] >> dummy >> i[1] >> dummy >> i[2] >> dummy >> i[3] >> c;
|
||||||
@@ -436,16 +436,16 @@ std::istream& operator>> ( std::istream& is, vector4Dim<Scalar>& i ) {
|
|||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
//! 3D vector class of type Real (typically float)
|
//! 3D vector class of type Real (typically float)
|
||||||
typedef vector4Dim<Real> Vec4;
|
typedef ntlVector4Dim<Real> Vec4;
|
||||||
|
|
||||||
// a 3D vector with double precision
|
// a 3D vector with double precision
|
||||||
typedef vector4Dim<double> nVec4d;
|
typedef ntlVector4Dim<double> nVec4d;
|
||||||
|
|
||||||
// a 3D vector with single precision
|
// a 3D vector with single precision
|
||||||
typedef vector4Dim<float> nVec4f;
|
typedef ntlVector4Dim<float> nVec4f;
|
||||||
|
|
||||||
//! 3D vector class of type int
|
//! 3D vector class of type int
|
||||||
typedef vector4Dim<int> nVec4i;
|
typedef ntlVector4Dim<int> nVec4i;
|
||||||
|
|
||||||
/* convert int,float and double vectors */
|
/* convert int,float and double vectors */
|
||||||
template<class T> inline nVec4i vec42I(T v) { return nVec4i((int)v[0],(int)v[1],(int)v[2],(int)v[3]); }
|
template<class T> inline nVec4i vec42I(T v) { return nVec4i((int)v[0],(int)v[1],(int)v[2],(int)v[3]); }
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,611 +0,0 @@
|
|||||||
/******************************************************************************
|
|
||||||
*
|
|
||||||
* MantaFlow fluid solver framework
|
|
||||||
* Copyright 2011-2016 Tobias Pfaff, Nils Thuerey
|
|
||||||
*
|
|
||||||
* This program is free software, distributed under the terms of the
|
|
||||||
* GNU General Public License (GPL)
|
|
||||||
* http://www.gnu.org/licenses
|
|
||||||
*
|
|
||||||
* Basic vector class
|
|
||||||
*
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _VECTORBASE_H
|
|
||||||
#define _VECTORBASE_H
|
|
||||||
|
|
||||||
// get rid of windos min/max defines
|
|
||||||
#if defined(WIN32) || defined(_WIN32)
|
|
||||||
# define NOMINMAX
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string>
|
|
||||||
#include <limits>
|
|
||||||
#include <iostream>
|
|
||||||
#include "general.h"
|
|
||||||
|
|
||||||
// if min/max are still around...
|
|
||||||
#if defined(WIN32) || defined(_WIN32)
|
|
||||||
# undef min
|
|
||||||
# undef max
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// redefine usage of some windows functions
|
|
||||||
#if defined(WIN32) || defined(_WIN32)
|
|
||||||
# ifndef snprintf
|
|
||||||
# define snprintf _snprintf
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// use which fp-precision? 1=float, 2=double
|
|
||||||
#ifndef FLOATINGPOINT_PRECISION
|
|
||||||
# define FLOATINGPOINT_PRECISION 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// VECTOR_EPSILON is the minimal vector length
|
|
||||||
// In order to be able to discriminate floating point values near zero, and
|
|
||||||
// to be sure not to fail a comparison because of roundoff errors, use this
|
|
||||||
// value as a threshold.
|
|
||||||
#if FLOATINGPOINT_PRECISION==1
|
|
||||||
typedef float Real;
|
|
||||||
# define VECTOR_EPSILON (1e-6f)
|
|
||||||
#else
|
|
||||||
typedef double Real;
|
|
||||||
# define VECTOR_EPSILON (1e-10)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef M_PI
|
|
||||||
# define M_PI 3.1415926536
|
|
||||||
#endif
|
|
||||||
#ifndef M_E
|
|
||||||
# define M_E 2.7182818284
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace Manta
|
|
||||||
{
|
|
||||||
|
|
||||||
//! Basic inlined vector class
|
|
||||||
template<class S>
|
|
||||||
class Vector3D
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
//! Constructor
|
|
||||||
inline Vector3D() : x(0),y(0),z(0) {}
|
|
||||||
|
|
||||||
//! Copy-Constructor
|
|
||||||
inline Vector3D ( const Vector3D<S> &v ) : x(v.x), y(v.y), z(v.z) {}
|
|
||||||
|
|
||||||
//! Copy-Constructor
|
|
||||||
inline Vector3D ( const float * v) : x((S)v[0]), y((S)v[1]), z((S)v[2]) {}
|
|
||||||
|
|
||||||
//! Copy-Constructor
|
|
||||||
inline Vector3D ( const double * v) : x((S)v[0]), y((S)v[1]), z((S)v[2]) {}
|
|
||||||
|
|
||||||
//! Construct a vector from one S
|
|
||||||
inline Vector3D ( S v) : x(v), y(v), z(v) {}
|
|
||||||
|
|
||||||
//! Construct a vector from three Ss
|
|
||||||
inline Vector3D ( S vx, S vy, S vz) : x(vx), y(vy), z(vz) {}
|
|
||||||
|
|
||||||
// Operators
|
|
||||||
|
|
||||||
//! Assignment operator
|
|
||||||
inline const Vector3D<S>& operator= ( const Vector3D<S>& v ) {
|
|
||||||
x = v.x;
|
|
||||||
y = v.y;
|
|
||||||
z = v.z;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assignment operator
|
|
||||||
inline const Vector3D<S>& operator= ( S s ) {
|
|
||||||
x = y = z = s;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assign and add operator
|
|
||||||
inline const Vector3D<S>& operator+= ( const Vector3D<S>& v ) {
|
|
||||||
x += v.x;
|
|
||||||
y += v.y;
|
|
||||||
z += v.z;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assign and add operator
|
|
||||||
inline const Vector3D<S>& operator+= ( S s ) {
|
|
||||||
x += s;
|
|
||||||
y += s;
|
|
||||||
z += s;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assign and sub operator
|
|
||||||
inline const Vector3D<S>& operator-= ( const Vector3D<S>& v ) {
|
|
||||||
x -= v.x;
|
|
||||||
y -= v.y;
|
|
||||||
z -= v.z;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assign and sub operator
|
|
||||||
inline const Vector3D<S>& operator-= ( S s ) {
|
|
||||||
x -= s;
|
|
||||||
y -= s;
|
|
||||||
z -= s;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assign and mult operator
|
|
||||||
inline const Vector3D<S>& operator*= ( const Vector3D<S>& v ) {
|
|
||||||
x *= v.x;
|
|
||||||
y *= v.y;
|
|
||||||
z *= v.z;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assign and mult operator
|
|
||||||
inline const Vector3D<S>& operator*= ( S s ) {
|
|
||||||
x *= s;
|
|
||||||
y *= s;
|
|
||||||
z *= s;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assign and div operator
|
|
||||||
inline const Vector3D<S>& operator/= ( const Vector3D<S>& v ) {
|
|
||||||
x /= v.x;
|
|
||||||
y /= v.y;
|
|
||||||
z /= v.z;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Assign and div operator
|
|
||||||
inline const Vector3D<S>& operator/= ( S s ) {
|
|
||||||
x /= s;
|
|
||||||
y /= s;
|
|
||||||
z /= s;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
//! Negation operator
|
|
||||||
inline Vector3D<S> operator- () const {
|
|
||||||
return Vector3D<S> (-x, -y, -z);
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Get smallest component
|
|
||||||
inline S min() const {
|
|
||||||
return ( x<y ) ? ( ( x<z ) ? x:z ) : ( ( y<z ) ? y:z );
|
|
||||||
}
|
|
||||||
//! Get biggest component
|
|
||||||
inline S max() const {
|
|
||||||
return ( x>y ) ? ( ( x>z ) ? x:z ) : ( ( y>z ) ? y:z );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Test if all components are zero
|
|
||||||
inline bool empty() {
|
|
||||||
return x==0 && y==0 && z==0;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! access operator
|
|
||||||
inline S& operator[] ( unsigned int i ) {
|
|
||||||
return value[i];
|
|
||||||
}
|
|
||||||
//! constant access operator
|
|
||||||
inline const S& operator[] ( unsigned int i ) const {
|
|
||||||
return value[i];
|
|
||||||
}
|
|
||||||
|
|
||||||
//! debug output vector to a string
|
|
||||||
std::string toString() const;
|
|
||||||
|
|
||||||
//! test if nans are present
|
|
||||||
bool isValid() const;
|
|
||||||
|
|
||||||
//! actual values
|
|
||||||
union {
|
|
||||||
S value[3];
|
|
||||||
struct {
|
|
||||||
S x;
|
|
||||||
S y;
|
|
||||||
S z;
|
|
||||||
};
|
|
||||||
struct {
|
|
||||||
S X;
|
|
||||||
S Y;
|
|
||||||
S Z;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
//! zero element
|
|
||||||
static const Vector3D<S> Zero, Invalid;
|
|
||||||
|
|
||||||
//! For compatibility with 4d vectors (discards 4th comp)
|
|
||||||
inline Vector3D ( S vx, S vy, S vz, S vDummy) : x(vx), y(vy), z(vz) {}
|
|
||||||
|
|
||||||
protected:
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
//************************************************************************
|
|
||||||
// Additional operators
|
|
||||||
//************************************************************************
|
|
||||||
|
|
||||||
//! Addition operator
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> operator+ ( const Vector3D<S> &v1, const Vector3D<S> &v2 ) {
|
|
||||||
return Vector3D<S> ( v1.x+v2.x, v1.y+v2.y, v1.z+v2.z );
|
|
||||||
}
|
|
||||||
//! Addition operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> operator+ ( const Vector3D<S>& v, S2 s ) {
|
|
||||||
return Vector3D<S> ( v.x+s, v.y+s, v.z+s );
|
|
||||||
}
|
|
||||||
//! Addition operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> operator+ ( S2 s, const Vector3D<S>& v ) {
|
|
||||||
return Vector3D<S> ( v.x+s, v.y+s, v.z+s );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Subtraction operator
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> operator- ( const Vector3D<S> &v1, const Vector3D<S> &v2 ) {
|
|
||||||
return Vector3D<S> ( v1.x-v2.x, v1.y-v2.y, v1.z-v2.z );
|
|
||||||
}
|
|
||||||
//! Subtraction operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> operator- ( const Vector3D<S>& v, S2 s ) {
|
|
||||||
return Vector3D<S> ( v.x-s, v.y-s, v.z-s );
|
|
||||||
}
|
|
||||||
//! Subtraction operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> operator- ( S2 s, const Vector3D<S>& v ) {
|
|
||||||
return Vector3D<S> ( s-v.x, s-v.y, s-v.z );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Multiplication operator
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> operator* ( const Vector3D<S> &v1, const Vector3D<S> &v2 ) {
|
|
||||||
return Vector3D<S> ( v1.x*v2.x, v1.y*v2.y, v1.z*v2.z );
|
|
||||||
}
|
|
||||||
//! Multiplication operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> operator* ( const Vector3D<S>& v, S2 s ) {
|
|
||||||
return Vector3D<S> ( v.x*s, v.y*s, v.z*s );
|
|
||||||
}
|
|
||||||
//! Multiplication operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> operator* ( S2 s, const Vector3D<S>& v ) {
|
|
||||||
return Vector3D<S> ( s*v.x, s*v.y, s*v.z );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Division operator
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> operator/ ( const Vector3D<S> &v1, const Vector3D<S> &v2 ) {
|
|
||||||
return Vector3D<S> ( v1.x/v2.x, v1.y/v2.y, v1.z/v2.z );
|
|
||||||
}
|
|
||||||
//! Division operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> operator/ ( const Vector3D<S>& v, S2 s ) {
|
|
||||||
return Vector3D<S> ( v.x/s, v.y/s, v.z/s );
|
|
||||||
}
|
|
||||||
//! Division operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> operator/ ( S2 s, const Vector3D<S>& v ) {
|
|
||||||
return Vector3D<S> ( s/v.x, s/v.y, s/v.z );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Comparison operator
|
|
||||||
template<class S>
|
|
||||||
inline bool operator== (const Vector3D<S>& s1, const Vector3D<S>& s2) {
|
|
||||||
return s1.x == s2.x && s1.y == s2.y && s1.z == s2.z;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Comparison operator
|
|
||||||
template<class S>
|
|
||||||
inline bool operator!= (const Vector3D<S>& s1, const Vector3D<S>& s2) {
|
|
||||||
return s1.x != s2.x || s1.y != s2.y || s1.z != s2.z;
|
|
||||||
}
|
|
||||||
|
|
||||||
//************************************************************************
|
|
||||||
// External functions
|
|
||||||
//************************************************************************
|
|
||||||
|
|
||||||
//! Min operator
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> vmin (const Vector3D<S>& s1, const Vector3D<S>& s2) {
|
|
||||||
return Vector3D<S>(std::min(s1.x,s2.x), std::min(s1.y,s2.y), std::min(s1.z,s2.z));
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Min operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> vmin (const Vector3D<S>& s1, S2 s2) {
|
|
||||||
return Vector3D<S>(std::min(s1.x,s2), std::min(s1.y,s2), std::min(s1.z,s2));
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Min operator
|
|
||||||
template<class S1, class S>
|
|
||||||
inline Vector3D<S> vmin (S1 s1, const Vector3D<S>& s2) {
|
|
||||||
return Vector3D<S>(std::min(s1,s2.x), std::min(s1,s2.y), std::min(s1,s2.z));
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Max operator
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> vmax (const Vector3D<S>& s1, const Vector3D<S>& s2) {
|
|
||||||
return Vector3D<S>(std::max(s1.x,s2.x), std::max(s1.y,s2.y), std::max(s1.z,s2.z));
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Max operator
|
|
||||||
template<class S, class S2>
|
|
||||||
inline Vector3D<S> vmax (const Vector3D<S>& s1, S2 s2) {
|
|
||||||
return Vector3D<S>(std::max(s1.x,s2), std::max(s1.y,s2), std::max(s1.z,s2));
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Max operator
|
|
||||||
template<class S1, class S>
|
|
||||||
inline Vector3D<S> vmax (S1 s1, const Vector3D<S>& s2) {
|
|
||||||
return Vector3D<S>(std::max(s1,s2.x), std::max(s1,s2.y), std::max(s1,s2.z));
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Dot product
|
|
||||||
template<class S>
|
|
||||||
inline S dot ( const Vector3D<S> &t, const Vector3D<S> &v ) {
|
|
||||||
return t.x*v.x + t.y*v.y + t.z*v.z;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Cross product
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> cross ( const Vector3D<S> &t, const Vector3D<S> &v ) {
|
|
||||||
Vector3D<S> cp (
|
|
||||||
( ( t.y*v.z ) - ( t.z*v.y ) ),
|
|
||||||
( ( t.z*v.x ) - ( t.x*v.z ) ),
|
|
||||||
( ( t.x*v.y ) - ( t.y*v.x ) ) );
|
|
||||||
return cp;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Project a vector into a plane, defined by its normal
|
|
||||||
/*! Projects a vector into a plane normal to the given vector, which must
|
|
||||||
have unit length. Self is modified.
|
|
||||||
\param v The vector to project
|
|
||||||
\param n The plane normal
|
|
||||||
\return The projected vector */
|
|
||||||
template<class S>
|
|
||||||
inline const Vector3D<S>& projectNormalTo ( const Vector3D<S>& v, const Vector3D<S> &n) {
|
|
||||||
S sprod = dot (v, n);
|
|
||||||
return v - n * dot(v, n);
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Compute the magnitude (length) of the vector
|
|
||||||
//! (clamps to 0 and 1 with VECTOR_EPSILON)
|
|
||||||
template<class S>
|
|
||||||
inline S norm ( const Vector3D<S>& v ) {
|
|
||||||
S l = v.x*v.x + v.y*v.y + v.z*v.z;
|
|
||||||
if ( l <= VECTOR_EPSILON*VECTOR_EPSILON ) return(0.);
|
|
||||||
return ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON ) ? 1. : sqrt ( l );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Compute squared magnitude
|
|
||||||
template<class S>
|
|
||||||
inline S normSquare ( const Vector3D<S>& v ) {
|
|
||||||
return v.x*v.x + v.y*v.y + v.z*v.z;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! compatibility, allow use of int, Real and Vec inputs with norm/normSquare
|
|
||||||
inline Real norm(const Real v) { return fabs(v); }
|
|
||||||
inline Real normSquare(const Real v) { return square(v); }
|
|
||||||
inline Real norm(const int v) { return abs(v); }
|
|
||||||
inline Real normSquare(const int v) { return square(v); }
|
|
||||||
|
|
||||||
//! Returns a normalized vector
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> getNormalized ( const Vector3D<S>& v ) {
|
|
||||||
S l = v.x*v.x + v.y*v.y + v.z*v.z;
|
|
||||||
if ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON )
|
|
||||||
return v; /* normalized "enough"... */
|
|
||||||
else if ( l > VECTOR_EPSILON*VECTOR_EPSILON )
|
|
||||||
{
|
|
||||||
S fac = 1./sqrt ( l );
|
|
||||||
return Vector3D<S> ( v.x*fac, v.y*fac, v.z*fac );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return Vector3D<S> ( ( S ) 0 );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Compute the norm of the vector and normalize it.
|
|
||||||
/*! \return The value of the norm */
|
|
||||||
template<class S>
|
|
||||||
inline S normalize ( Vector3D<S> &v ) {
|
|
||||||
S norm;
|
|
||||||
S l = v.x*v.x + v.y*v.y + v.z*v.z;
|
|
||||||
if ( fabs ( l-1. ) < VECTOR_EPSILON*VECTOR_EPSILON ) {
|
|
||||||
norm = 1.;
|
|
||||||
} else if ( l > VECTOR_EPSILON*VECTOR_EPSILON ) {
|
|
||||||
norm = sqrt ( l );
|
|
||||||
v *= 1./norm;
|
|
||||||
} else {
|
|
||||||
v = Vector3D<S>::Zero;
|
|
||||||
norm = 0.;
|
|
||||||
}
|
|
||||||
return ( S ) norm;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Obtain an orthogonal vector
|
|
||||||
/*! Compute a vector that is orthonormal to the given vector.
|
|
||||||
* Nothing else can be assumed for the direction of the new vector.
|
|
||||||
* \return The orthonormal vector */
|
|
||||||
template<class S>
|
|
||||||
Vector3D<S> getOrthogonalVector(const Vector3D<S>& v) {
|
|
||||||
// Determine the component with max. absolute value
|
|
||||||
int maxIndex= ( fabs ( v.x ) > fabs ( v.y ) ) ? 0 : 1;
|
|
||||||
maxIndex= ( fabs ( v[maxIndex] ) > fabs ( v.z ) ) ? maxIndex : 2;
|
|
||||||
|
|
||||||
// Choose another axis than the one with max. component and project
|
|
||||||
// orthogonal to self
|
|
||||||
Vector3D<S> o ( 0.0 );
|
|
||||||
o[ ( maxIndex+1 ) %3]= 1;
|
|
||||||
|
|
||||||
Vector3D<S> c = cross(v, o);
|
|
||||||
normalize(c);
|
|
||||||
return c;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Convert vector to polar coordinates
|
|
||||||
/*! Stable vector to angle conversion
|
|
||||||
*\param v vector to convert
|
|
||||||
\param phi unique angle [0,2PI]
|
|
||||||
\param theta unique angle [0,PI]
|
|
||||||
*/
|
|
||||||
template<class S>
|
|
||||||
inline void vecToAngle ( const Vector3D<S>& v, S& phi, S& theta )
|
|
||||||
{
|
|
||||||
if ( fabs ( v.y ) < VECTOR_EPSILON )
|
|
||||||
theta = M_PI/2;
|
|
||||||
else if ( fabs ( v.x ) < VECTOR_EPSILON && fabs ( v.z ) < VECTOR_EPSILON )
|
|
||||||
theta = ( v.y>=0 ) ? 0:M_PI;
|
|
||||||
else
|
|
||||||
theta = atan ( sqrt ( v.x*v.x+v.z*v.z ) /v.y );
|
|
||||||
if ( theta<0 ) theta+=M_PI;
|
|
||||||
|
|
||||||
if ( fabs ( v.x ) < VECTOR_EPSILON )
|
|
||||||
phi = M_PI/2;
|
|
||||||
else
|
|
||||||
phi = atan ( v.z/v.x );
|
|
||||||
if ( phi<0 ) phi+=M_PI;
|
|
||||||
if ( fabs ( v.z ) < VECTOR_EPSILON )
|
|
||||||
phi = ( v.x>=0 ) ? 0 : M_PI;
|
|
||||||
else if ( v.z < 0 )
|
|
||||||
phi += M_PI;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Compute vector reflected at a surface
|
|
||||||
/*! Compute a vector, that is self (as an incoming vector)
|
|
||||||
* reflected at a surface with a distinct normal vector.
|
|
||||||
* Note that the normal is reversed, if the scalar product with it is positive.
|
|
||||||
\param t The incoming vector
|
|
||||||
\param n The surface normal
|
|
||||||
\return The new reflected vector
|
|
||||||
*/
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> reflectVector ( const Vector3D<S>& t, const Vector3D<S>& n ) {
|
|
||||||
Vector3D<S> nn= ( dot ( t, n ) > 0.0 ) ? ( n*-1.0 ) : n;
|
|
||||||
return ( t - nn * ( 2.0 * dot ( nn, t ) ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Compute vector refracted at a surface
|
|
||||||
/*! \param t The incoming vector
|
|
||||||
* \param n The surface normal
|
|
||||||
* \param nt The "inside" refraction index
|
|
||||||
* \param nair The "outside" refraction index
|
|
||||||
* \param refRefl Set to 1 on total reflection
|
|
||||||
* \return The refracted vector
|
|
||||||
*/
|
|
||||||
template<class S>
|
|
||||||
inline Vector3D<S> refractVector ( const Vector3D<S> &t, const Vector3D<S> &normal, S nt, S nair, int &refRefl ) {
|
|
||||||
// from Glassner's book, section 5.2 (Heckberts method)
|
|
||||||
S eta = nair / nt;
|
|
||||||
S n = -dot ( t, normal );
|
|
||||||
S tt = 1.0 + eta*eta* ( n*n-1.0 );
|
|
||||||
if ( tt<0.0 ) {
|
|
||||||
// we have total reflection!
|
|
||||||
refRefl = 1;
|
|
||||||
} else {
|
|
||||||
// normal reflection
|
|
||||||
tt = eta*n - sqrt ( tt );
|
|
||||||
return ( t*eta + normal*tt );
|
|
||||||
}
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Outputs the object in human readable form as string
|
|
||||||
template<class S> std::string Vector3D<S>::toString() const {
|
|
||||||
char buf[256];
|
|
||||||
snprintf ( buf,256,"[%+4.6f,%+4.6f,%+4.6f]", ( double ) ( *this ) [0], ( double ) ( *this ) [1], ( double ) ( *this ) [2] );
|
|
||||||
// for debugging, optionally increase precision:
|
|
||||||
//snprintf ( buf,256,"[%+4.16f,%+4.16f,%+4.16f]", ( double ) ( *this ) [0], ( double ) ( *this ) [1], ( double ) ( *this ) [2] );
|
|
||||||
return std::string ( buf );
|
|
||||||
}
|
|
||||||
|
|
||||||
template<> std::string Vector3D<int>::toString() const;
|
|
||||||
|
|
||||||
|
|
||||||
//! Outputs the object in human readable form to stream
|
|
||||||
/*! Output format [x,y,z] */
|
|
||||||
template<class S>
|
|
||||||
std::ostream& operator<< ( std::ostream& os, const Vector3D<S>& i ) {
|
|
||||||
os << i.toString();
|
|
||||||
return os;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Reads the contents of the object from a stream
|
|
||||||
/*! Input format [x,y,z] */
|
|
||||||
template<class S>
|
|
||||||
std::istream& operator>> ( std::istream& is, Vector3D<S>& i ) {
|
|
||||||
char c;
|
|
||||||
char dummy[3];
|
|
||||||
is >> c >> i[0] >> dummy >> i[1] >> dummy >> i[2] >> c;
|
|
||||||
return is;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
// Define default vector alias
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
//! 3D vector class of type Real (typically float)
|
|
||||||
typedef Vector3D<Real> Vec3;
|
|
||||||
|
|
||||||
//! 3D vector class of type int
|
|
||||||
typedef Vector3D<int> Vec3i;
|
|
||||||
|
|
||||||
//! convert to Real Vector
|
|
||||||
template<class T> inline Vec3 toVec3 ( T v ) {
|
|
||||||
return Vec3 ( v[0],v[1],v[2] );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! convert to int Vector
|
|
||||||
template<class T> inline Vec3i toVec3i ( T v ) {
|
|
||||||
return Vec3i ( ( int ) v[0], ( int ) v[1], ( int ) v[2] );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! convert to int Vector
|
|
||||||
template<class T> inline Vec3i toVec3i ( T v0, T v1, T v2 ) {
|
|
||||||
return Vec3i ( ( int ) v0, ( int ) v1, ( int ) v2 );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! round, and convert to int Vector
|
|
||||||
template<class T> inline Vec3i toVec3iRound ( T v ) {
|
|
||||||
return Vec3i ( ( int ) round ( v[0] ), ( int ) round ( v[1] ), ( int ) round ( v[2] ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! convert to int Vector if values are close enough to an int
|
|
||||||
template<class T> inline Vec3i toVec3iChecked ( T v ) {
|
|
||||||
Vec3i ret;
|
|
||||||
for (size_t i=0; i<3; i++) {
|
|
||||||
Real a = v[i];
|
|
||||||
if (fabs(a-floor(a+0.5)) > 1e-5)
|
|
||||||
errMsg("argument is not an int, cannot convert");
|
|
||||||
ret[i] = (int) (a+0.5);
|
|
||||||
}
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! convert to double Vector
|
|
||||||
template<class T> inline Vector3D<double> toVec3d ( T v ) {
|
|
||||||
return Vector3D<double> ( v[0], v[1], v[2] );
|
|
||||||
}
|
|
||||||
|
|
||||||
//! convert to float Vector
|
|
||||||
template<class T> inline Vector3D<float> toVec3f ( T v ) {
|
|
||||||
return Vector3D<float> ( v[0], v[1], v[2] );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
// Specializations for common math functions
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
template<> inline Vec3 clamp<Vec3>(const Vec3& a, const Vec3& b, const Vec3& c) {
|
|
||||||
return Vec3 ( clamp(a.x, b.x, c.x),
|
|
||||||
clamp(a.y, b.y, c.y),
|
|
||||||
clamp(a.z, b.z, c.z) );
|
|
||||||
}
|
|
||||||
template<> inline Vec3 safeDivide<Vec3>(const Vec3 &a, const Vec3& b) {
|
|
||||||
return Vec3(safeDivide(a.x,b.x), safeDivide(a.y,b.y), safeDivide(a.z,b.z));
|
|
||||||
}
|
|
||||||
template<> inline Vec3 nmod<Vec3>(const Vec3& a, const Vec3& b) {
|
|
||||||
return Vec3(nmod(a.x,b.x),nmod(a.y,b.y),nmod(a.z,b.z));
|
|
||||||
}
|
|
||||||
|
|
||||||
}; // namespace
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
232
SimulationsRunner/CMakeLists.txt
Normal file
232
SimulationsRunner/CMakeLists.txt
Normal file
@@ -0,0 +1,232 @@
|
|||||||
|
set(PROJECT_NAME SimulationsRunner_2022)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Source groups
|
||||||
|
################################################################################
|
||||||
|
set(no_group_source_files
|
||||||
|
"../SimulatorTester/SimulatorTester.vcxproj"
|
||||||
|
)
|
||||||
|
source_group("" FILES ${no_group_source_files})
|
||||||
|
|
||||||
|
set(Sources
|
||||||
|
"../Simulations/main.cpp"
|
||||||
|
)
|
||||||
|
source_group("Sources" FILES ${Sources})
|
||||||
|
|
||||||
|
set(ALL_FILES
|
||||||
|
${no_group_source_files}
|
||||||
|
${Sources}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target
|
||||||
|
################################################################################
|
||||||
|
add_executable(${PROJECT_NAME} ${ALL_FILES})
|
||||||
|
|
||||||
|
use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}")
|
||||||
|
set(ROOT_NAMESPACE SimulationsRunner)
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
VS_GLOBAL_KEYWORD "Win32Proj"
|
||||||
|
)
|
||||||
|
################################################################################
|
||||||
|
# Output directory
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_SOURCE_DIR}/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
OUTPUT_DIRECTORY_RELEASE "${CMAKE_SOURCE_DIR}/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Include directories
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Simulations"
|
||||||
|
">"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DirectXTK/Inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Core;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Optional;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Effects11/inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/AntTweakBar/include"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DirectXTK/Inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Core;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Optional;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Effects11/inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/AntTweakBar/include"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile definitions
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"NOMINMAX;"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"_CONSOLE;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"NOMINMAX;"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"_CONSOLE;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile and link options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Oi;
|
||||||
|
/Gy
|
||||||
|
>
|
||||||
|
/W3;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
/Y-
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Oi;
|
||||||
|
/Gy
|
||||||
|
>
|
||||||
|
/W3;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
/Y-
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/DEBUG;
|
||||||
|
/INCREMENTAL
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF;
|
||||||
|
/INCREMENTAL:NO
|
||||||
|
>
|
||||||
|
/SUBSYSTEM:CONSOLE
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/INCREMENTAL
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF;
|
||||||
|
/INCREMENTAL:NO
|
||||||
|
>
|
||||||
|
/DEBUG;
|
||||||
|
/SUBSYSTEM:CONSOLE
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Dependencies
|
||||||
|
################################################################################
|
||||||
|
# Link with other targets.
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE
|
||||||
|
AntTweakBar
|
||||||
|
DirectXTK_Desktop_2022
|
||||||
|
DXUT
|
||||||
|
DXUTOpt
|
||||||
|
Effects11
|
||||||
|
Simulations
|
||||||
|
)
|
||||||
|
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set(ADDITIONAL_LIBRARY_DEPENDENCIES
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"D3DCompiler;"
|
||||||
|
"Mf;"
|
||||||
|
"mfuuid;"
|
||||||
|
"Mfplat;"
|
||||||
|
"Mfreadwrite;"
|
||||||
|
"kernel32;"
|
||||||
|
"user32;"
|
||||||
|
"gdi32;"
|
||||||
|
"winspool;"
|
||||||
|
"comdlg32;"
|
||||||
|
"advapi32;"
|
||||||
|
"shell32;"
|
||||||
|
"ole32;"
|
||||||
|
"oleaut32;"
|
||||||
|
"uuid;"
|
||||||
|
"odbc32;"
|
||||||
|
"odbccp32"
|
||||||
|
">"
|
||||||
|
"comctl32"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set(ADDITIONAL_LIBRARY_DEPENDENCIES
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"D3DCompiler;"
|
||||||
|
"Mf;"
|
||||||
|
"mfuuid;"
|
||||||
|
"Mfplat;"
|
||||||
|
"Mfreadwrite;"
|
||||||
|
"kernel32;"
|
||||||
|
"user32;"
|
||||||
|
"gdi32;"
|
||||||
|
"winspool;"
|
||||||
|
"comdlg32;"
|
||||||
|
"advapi32;"
|
||||||
|
"shell32;"
|
||||||
|
"ole32;"
|
||||||
|
"oleaut32;"
|
||||||
|
"uuid;"
|
||||||
|
"odbc32;"
|
||||||
|
"odbccp32"
|
||||||
|
">"
|
||||||
|
"comctl32"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE "${ADDITIONAL_LIBRARY_DEPENDENCIES}")
|
||||||
|
|
||||||
239
SimulationsRunner/SimulationsRunner_2022.vcxproj
Normal file
239
SimulationsRunner/SimulationsRunner_2022.vcxproj
Normal file
@@ -0,0 +1,239 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>SimulationsRunner</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;NOMINMAX;_CONSOLE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile />
|
||||||
|
<PrecompiledHeaderOutputFile />
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<FxCompile>
|
||||||
|
<EntryPointName />
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderType>Effect</ShaderType>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderModel>5.0</ShaderModel>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ObjectFileOutput>$(OutDir)%(Filename).fxo</ObjectFileOutput>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;NOMINMAX;_CONSOLE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)Simulations;$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<FxCompile>
|
||||||
|
<EntryPointName>
|
||||||
|
</EntryPointName>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderType>Effect</ShaderType>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderModel>5.0</ShaderModel>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ObjectFileOutput>$(OutDir)%(Filename).fxo</ObjectFileOutput>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile />
|
||||||
|
<PrecompiledHeaderOutputFile />
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<FxCompile>
|
||||||
|
<EntryPointName />
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderType>Effect</ShaderType>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderModel>5.0</ShaderModel>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ObjectFileOutput>$(OutDir)%(Filename).fxo</ObjectFileOutput>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include</AdditionalIncludeDirectories>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<FxCompile>
|
||||||
|
<EntryPointName>
|
||||||
|
</EntryPointName>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderType>Effect</ShaderType>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ShaderModel>5.0</ShaderModel>
|
||||||
|
</FxCompile>
|
||||||
|
<FxCompile>
|
||||||
|
<ObjectFileOutput>$(OutDir)%(Filename).fxo</ObjectFileOutput>
|
||||||
|
</FxCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\Simulations\main.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\AntTweakBar\src\AntTweakBar_2022.vcxproj">
|
||||||
|
<Project>{b99e1fa1-c30a-45f2-9d57-9e9c21b2df42}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DirectXTK\DirectXTK_Desktop_2022.vcxproj">
|
||||||
|
<Project>{e0b52ae7-e160-4d32-bf3f-910b785e5a8e}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DXUT11\Core\DXUT_DirectXTK_2022.vcxproj">
|
||||||
|
<Project>{85344b7f-5aa0-4e12-a065-d1333d11f6ca}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DXUT11\Optional\DXUTOpt_DirectXTK_2022.vcxproj">
|
||||||
|
<Project>{61b333c2-c4f7-4cc1-a9bf-83f6d95588eb}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Effects11\Effects11_2022.vcxproj">
|
||||||
|
<Project>{df460eab-570d-4b50-9089-2e2fc801bf38}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Simulations\Demo_2022.vcxproj">
|
||||||
|
<Project>{3cabed2c-12f1-4408-aaae-e2185a426f35}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\SimulatorTester\SimulatorTester.vcxproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
231
SimulatorTester/CMakeLists.txt
Normal file
231
SimulatorTester/CMakeLists.txt
Normal file
@@ -0,0 +1,231 @@
|
|||||||
|
set(PROJECT_NAME SimulationsTester)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Source groups
|
||||||
|
################################################################################
|
||||||
|
set(Sources
|
||||||
|
"PublicMassSpringSystemTests.cpp"
|
||||||
|
)
|
||||||
|
source_group("Sources" FILES ${Sources})
|
||||||
|
|
||||||
|
set(ALL_FILES
|
||||||
|
${Sources}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Target
|
||||||
|
################################################################################
|
||||||
|
add_library(${PROJECT_NAME} SHARED ${ALL_FILES})
|
||||||
|
|
||||||
|
use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}")
|
||||||
|
set(ROOT_NAMESPACE SimulationsTester)
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
VS_GLOBAL_KEYWORD "Win32Proj"
|
||||||
|
)
|
||||||
|
################################################################################
|
||||||
|
# Output directory
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_SOURCE_DIR}/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
OUTPUT_DIRECTORY_DEBUG "${CMAKE_SOURCE_DIR}/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
################################################################################
|
||||||
|
# Include directories
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"$ENV{VCInstallDir}UnitTest/include;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Simulations;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DirectXTK/Inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Core;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Optional;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Effects11/inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/AntTweakBar/include"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"$ENV{VCInstallDir}UnitTest/include;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Simulations;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DirectXTK/Inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Core;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/DXUT11/Optional;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/Effects11/inc;"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/AntTweakBar/include"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile definitions
|
||||||
|
################################################################################
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"NOMINMAX;"
|
||||||
|
"_CONSOLE;"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<CONFIG:Debug>:"
|
||||||
|
"NOMINMAX;"
|
||||||
|
"_CONSOLE;"
|
||||||
|
"_DEBUG"
|
||||||
|
">"
|
||||||
|
"$<$<CONFIG:Release>:"
|
||||||
|
"NDEBUG"
|
||||||
|
">"
|
||||||
|
"WIN32;"
|
||||||
|
"UNICODE;"
|
||||||
|
"_UNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Compile and link options
|
||||||
|
################################################################################
|
||||||
|
if(MSVC)
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Oi;
|
||||||
|
/Gy
|
||||||
|
>
|
||||||
|
/W3;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
/Y-
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:
|
||||||
|
/Od
|
||||||
|
>
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/O2;
|
||||||
|
/Oi;
|
||||||
|
/Gy
|
||||||
|
>
|
||||||
|
/W3;
|
||||||
|
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
||||||
|
${DEFAULT_CXX_EXCEPTION_HANDLING};
|
||||||
|
/Y-
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/DEBUG;
|
||||||
|
/SUBSYSTEM:WINDOWS;
|
||||||
|
/INCREMENTAL
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:
|
||||||
|
/OPT:REF;
|
||||||
|
/OPT:ICF
|
||||||
|
>
|
||||||
|
/DEBUG;
|
||||||
|
/SUBSYSTEM:WINDOWS;
|
||||||
|
/INCREMENTAL
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Dependencies
|
||||||
|
################################################################################
|
||||||
|
# Link with other targets.
|
||||||
|
target_link_libraries(${PROJECT_NAME} PUBLIC
|
||||||
|
AntTweakBar
|
||||||
|
DirectXTK_Desktop_2022
|
||||||
|
MakeSpriteFont
|
||||||
|
DXUT
|
||||||
|
DXUTOpt
|
||||||
|
Effects11
|
||||||
|
Simulations
|
||||||
|
)
|
||||||
|
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
set(ADDITIONAL_LIBRARY_DEPENDENCIES
|
||||||
|
"D3DCompiler;"
|
||||||
|
"Mf;"
|
||||||
|
"mfuuid;"
|
||||||
|
"Mfplat;"
|
||||||
|
"Mfreadwrite;"
|
||||||
|
"comctl32;"
|
||||||
|
"kernel32;"
|
||||||
|
"user32;"
|
||||||
|
"gdi32;"
|
||||||
|
"winspool;"
|
||||||
|
"comdlg32;"
|
||||||
|
"advapi32;"
|
||||||
|
"shell32;"
|
||||||
|
"ole32;"
|
||||||
|
"oleaut32;"
|
||||||
|
"uuid;"
|
||||||
|
"odbc32;"
|
||||||
|
"odbccp32"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
set(ADDITIONAL_LIBRARY_DEPENDENCIES
|
||||||
|
"D3DCompiler;"
|
||||||
|
"Mf;"
|
||||||
|
"mfuuid;"
|
||||||
|
"Mfplat;"
|
||||||
|
"Mfreadwrite;"
|
||||||
|
"comctl32;"
|
||||||
|
"kernel32;"
|
||||||
|
"user32;"
|
||||||
|
"gdi32;"
|
||||||
|
"winspool;"
|
||||||
|
"comdlg32;"
|
||||||
|
"advapi32;"
|
||||||
|
"shell32;"
|
||||||
|
"ole32;"
|
||||||
|
"oleaut32;"
|
||||||
|
"uuid;"
|
||||||
|
"odbc32;"
|
||||||
|
"odbccp32"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
target_link_libraries(${PROJECT_NAME} PUBLIC "${ADDITIONAL_LIBRARY_DEPENDENCIES}")
|
||||||
|
|
||||||
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||||
|
target_link_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"$ENV{VCInstallDir}UnitTest/lib"
|
||||||
|
)
|
||||||
|
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
|
target_link_directories(${PROJECT_NAME} PUBLIC
|
||||||
|
"$ENV{VCInstallDir}UnitTest/lib"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
194
SimulatorTester/SimulatorTester_2022.vcxproj
Normal file
194
SimulatorTester/SimulatorTester_2022.vcxproj
Normal file
@@ -0,0 +1,194 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{13342092-1CC5-4994-A03C-3963197E8016}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>SimulationsTester</RootNamespace>
|
||||||
|
<ProjectName>SimulationsTester</ProjectName>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IncludePath>$(IncludePath)</IncludePath>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IncludePath>$(IncludePath)</IncludePath>
|
||||||
|
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;$(SolutionDir)Simulations;$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;NOMINMAX;_CONSOLE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<UseFullPaths>true</UseFullPaths>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;$(SolutionDir)Simulations;$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;NOMINMAX;_CONSOLE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<UseFullPaths>true</UseFullPaths>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;$(SolutionDir)Simulations;$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<UseFullPaths>true</UseFullPaths>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;$(SolutionDir)Simulations;$(SolutionDir)DirectXTK/Inc;$(SolutionDir)DXUT11/Core;$(SolutionDir)DXUT11/Optional;$(SolutionDir)Effects11/inc;$(SolutionDir)AntTweakBar/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<UseFullPaths>true</UseFullPaths>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>D3DCompiler.lib;Mf.lib;mfuuid.lib;Mfplat.lib;Mfreadwrite.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="PublicMassSpringSystemTests.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\AntTweakBar\src\AntTweakBar_2022.vcxproj">
|
||||||
|
<Project>{b99e1fa1-c30a-45f2-9d57-9e9c21b2df42}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DirectXTK\DirectXTK_Desktop_2022.vcxproj">
|
||||||
|
<Project>{e0b52ae7-e160-4d32-bf3f-910b785e5a8e}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DirectXTK\MakeSpriteFont\MakeSpriteFont.csproj">
|
||||||
|
<Project>{7329b02d-c504-482a-a156-181d48ce493c}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DXUT11\Core\DXUT_DirectXTK_2022.vcxproj">
|
||||||
|
<Project>{85344b7f-5aa0-4e12-a065-d1333d11f6ca}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\DXUT11\Optional\DXUTOpt_DirectXTK_2022.vcxproj">
|
||||||
|
<Project>{61b333c2-c4f7-4cc1-a9bf-83f6d95588eb}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Effects11\Effects11_2022.vcxproj">
|
||||||
|
<Project>{df460eab-570d-4b50-9089-2e2fc801bf38}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Simulations\Demo_2022.vcxproj">
|
||||||
|
<Project>{3cabed2c-12f1-4408-aaae-e2185a426f35}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
100
Template_2022.sln
Normal file
100
Template_2022.sln
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.7.34031.279
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimulationsRunner_2022", "SimulationsRunner\SimulationsRunner_2022.vcxproj", "{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simulations", "Simulations\Demo_2022.vcxproj", "{3CABED2C-12F1-4408-AAAE-E2185A426F35}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Effects11", "Effects11\Effects11_2022.vcxproj", "{DF460EAB-570D-4B50-9089-2E2FC801BF38}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DXUT", "DXUT11\Core\DXUT_DirectXTK_2022.vcxproj", "{85344B7F-5AA0-4E12-A065-D1333D11F6CA}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DXUTOpt", "DXUT11\Optional\DXUTOpt_DirectXTK_2022.vcxproj", "{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MakeSpriteFont22", "DirectXTK\MakeSpriteFont\MakeSpriteFont22.csproj", "{7329B02D-C504-482A-A156-181D48CE493C}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AntTweakBar", "AntTweakBar\src\AntTweakBar_2022.vcxproj", "{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DirectXTK_Desktop_2022", "DirectXTK\DirectXTK_Desktop_2022.vcxproj", "{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimulationsTester", "SimulatorTester\SimulatorTester_2022.vcxproj", "{13342092-1CC5-4994-A03C-3963197E8016}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{DF460EAB-570D-4B50-9089-2E2FC801BF38}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{DF460EAB-570D-4B50-9089-2E2FC801BF38}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{DF460EAB-570D-4B50-9089-2E2FC801BF38}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{DF460EAB-570D-4B50-9089-2E2FC801BF38}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{DF460EAB-570D-4B50-9089-2E2FC801BF38}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{DF460EAB-570D-4B50-9089-2E2FC801BF38}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{DF460EAB-570D-4B50-9089-2E2FC801BF38}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{DF460EAB-570D-4B50-9089-2E2FC801BF38}.Release|x64.Build.0 = Release|x64
|
||||||
|
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Release|x64.Build.0 = Release|x64
|
||||||
|
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Release|x64.Build.0 = Release|x64
|
||||||
|
{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{B99E1FA1-C30A-45F2-9D57-9E9C21B2DF42}.Release|x64.Build.0 = Release|x64
|
||||||
|
{3CABED2C-12F1-4408-AAAE-E2185A426F35}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{3CABED2C-12F1-4408-AAAE-E2185A426F35}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{3CABED2C-12F1-4408-AAAE-E2185A426F35}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{3CABED2C-12F1-4408-AAAE-E2185A426F35}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{3CABED2C-12F1-4408-AAAE-E2185A426F35}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{3CABED2C-12F1-4408-AAAE-E2185A426F35}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{3CABED2C-12F1-4408-AAAE-E2185A426F35}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{3CABED2C-12F1-4408-AAAE-E2185A426F35}.Release|x64.Build.0 = Release|x64
|
||||||
|
{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{0B7BAA5B-0753-4015-A8F3-8FA540FC8660}.Release|x64.Build.0 = Release|x64
|
||||||
|
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{E0B52AE7-E160-4D32-BF3F-910B785E5A8E}.Release|x64.Build.0 = Release|x64
|
||||||
|
{13342092-1CC5-4994-A03C-3963197E8016}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{13342092-1CC5-4994-A03C-3963197E8016}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{13342092-1CC5-4994-A03C-3963197E8016}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{13342092-1CC5-4994-A03C-3963197E8016}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{13342092-1CC5-4994-A03C-3963197E8016}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{13342092-1CC5-4994-A03C-3963197E8016}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{13342092-1CC5-4994-A03C-3963197E8016}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{13342092-1CC5-4994-A03C-3963197E8016}.Release|x64.Build.0 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
385
build/CMakeCache.txt
Normal file
385
build/CMakeCache.txt
Normal file
@@ -0,0 +1,385 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: /home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build
|
||||||
|
# It was generated by CMake: /usr/bin/cmake
|
||||||
|
# You can edit this file to change values found and used by cmake.
|
||||||
|
# If you do not want to change any of the values, simply exit the editor.
|
||||||
|
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||||
|
# The syntax for the file is as follows:
|
||||||
|
# KEY:TYPE=VALUE
|
||||||
|
# KEY is the name of a variable in the cache.
|
||||||
|
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||||
|
# VALUE is the current value for the KEY.
|
||||||
|
|
||||||
|
########################
|
||||||
|
# EXTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_AR:FILEPATH=/usr/bin/ar
|
||||||
|
|
||||||
|
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
||||||
|
// MinSizeRel ...
|
||||||
|
CMAKE_BUILD_TYPE:STRING=
|
||||||
|
|
||||||
|
//Enable/Disable color output during build.
|
||||||
|
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
|
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release
|
||||||
|
|
||||||
|
//CXX compiler
|
||||||
|
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
|
||||||
|
|
||||||
|
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
|
||||||
|
|
||||||
|
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during all build types.
|
||||||
|
CMAKE_CXX_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during DEBUG builds.
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during MINSIZEREL builds.
|
||||||
|
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during RELEASE builds.
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||||
|
|
||||||
|
//C compiler
|
||||||
|
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
||||||
|
|
||||||
|
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
|
||||||
|
|
||||||
|
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
|
||||||
|
|
||||||
|
//Flags used by the C compiler during all build types.
|
||||||
|
CMAKE_C_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the C compiler during DEBUG builds.
|
||||||
|
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
|
//Flags used by the C compiler during MINSIZEREL builds.
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELEASE builds.
|
||||||
|
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
|
||||||
|
|
||||||
|
//Flags used by the linker during all build types.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during DEBUG builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during MINSIZEREL builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during RELEASE builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Enable/Disable output of compile commands during generation.
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
||||||
|
|
||||||
|
//Value Computed by CMake.
|
||||||
|
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/pkgRedirects
|
||||||
|
|
||||||
|
//Install path prefix, prepended onto install directories.
|
||||||
|
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// all build types.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// DEBUG builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// MINSIZEREL builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELEASE builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELWITHDEBINFO builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_NM:FILEPATH=/usr/bin/nm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=Template_2022
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_READELF:FILEPATH=/usr/bin/readelf
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//If set, runtime paths are not added when installing shared libraries,
|
||||||
|
// but are added when building.
|
||||||
|
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||||
|
|
||||||
|
//If set, runtime paths are not added when using shared libraries.
|
||||||
|
CMAKE_SKIP_RPATH:BOOL=NO
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
||||||
|
|
||||||
|
CMAKE_SYSTEM_VERSION:STRING=10.0
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
|
||||||
|
|
||||||
|
//If this value is on, makefiles will be generated without the
|
||||||
|
// .SILENT directive, and all commands will be echoed to the console
|
||||||
|
// during the make. This is useful for debugging only. With Visual
|
||||||
|
// Studio IDE projects all commands are done without /nologo.
|
||||||
|
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
Template_2022_BINARY_DIR:STATIC=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
Template_2022_IS_TOP_LEVEL:STATIC=ON
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
Template_2022_SOURCE_DIR:STATIC=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||||
|
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_AR
|
||||||
|
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||||
|
//This is the directory where this CMakeCache.txt was created
|
||||||
|
CMAKE_CACHEFILE_DIR:INTERNAL=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build
|
||||||
|
//Major version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||||
|
//Minor version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MINOR_VERSION:INTERNAL=27
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=7
|
||||||
|
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||||
|
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
||||||
|
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
||||||
|
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
||||||
|
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
||||||
|
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER
|
||||||
|
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
||||||
|
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
||||||
|
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||||
|
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||||
|
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||||
|
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_DLLTOOL
|
||||||
|
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
||||||
|
//Path to cache edit program executable.
|
||||||
|
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
|
||||||
|
//Executable file format
|
||||||
|
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||||
|
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||||
|
//Name of external makefile project generator.
|
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||||
|
//Name of generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||||
|
//Generator instance identifier.
|
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||||
|
//Name of generator platform.
|
||||||
|
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||||
|
//Name of generator toolset.
|
||||||
|
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||||
|
//Source directory with the top level CMakeLists.txt file for this
|
||||||
|
// project
|
||||||
|
CMAKE_HOME_DIRECTORY:INTERNAL=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics
|
||||||
|
//Install .so files without execute permission.
|
||||||
|
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
|
||||||
|
//ADVANCED property for variable: CMAKE_LINKER
|
||||||
|
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||||
|
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_NM
|
||||||
|
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||||
|
//number of local generators
|
||||||
|
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=9
|
||||||
|
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||||
|
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||||
|
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||||
|
//Platform information initialized
|
||||||
|
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_RANLIB
|
||||||
|
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_READELF
|
||||||
|
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=/usr/share/cmake
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||||
|
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||||
|
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STRIP
|
||||||
|
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_TAPI
|
||||||
|
CMAKE_TAPI-ADVANCED:INTERNAL=1
|
||||||
|
//uname command
|
||||||
|
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||||
|
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||||
|
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
//linker supports push/pop state
|
||||||
|
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
|
||||||
|
|
||||||
74
build/CMakeFiles/3.27.7/CMakeCCompiler.cmake
Normal file
74
build/CMakeFiles/3.27.7/CMakeCCompiler.cmake
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||||
|
set(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
set(CMAKE_C_COMPILER_ID "GNU")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION "13.2.1")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||||
|
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||||
|
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17")
|
||||||
|
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||||
|
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23")
|
||||||
|
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||||
|
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||||
|
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||||
|
set(CMAKE_C17_COMPILE_FEATURES "c_std_17")
|
||||||
|
set(CMAKE_C23_COMPILE_FEATURES "c_std_23")
|
||||||
|
|
||||||
|
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||||
|
set(CMAKE_C_SIMULATE_ID "")
|
||||||
|
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
||||||
|
set(CMAKE_C_SIMULATE_VERSION "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_AR "/usr/bin/ar")
|
||||||
|
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar")
|
||||||
|
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib")
|
||||||
|
set(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
set(CMAKE_MT "")
|
||||||
|
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||||
|
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||||
|
set(CMAKE_C_COMPILER_LOADED 1)
|
||||||
|
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||||
|
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||||
|
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||||
|
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||||
|
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED TRUE)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||||
|
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||||
|
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
|
||||||
|
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
||||||
|
|
||||||
|
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_C_COMPILER_ABI)
|
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||||
|
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed;/usr/include")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1;/usr/lib;/lib")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||||
85
build/CMakeFiles/3.27.7/CMakeCXXCompiler.cmake
Normal file
85
build/CMakeFiles/3.27.7/CMakeCXXCompiler.cmake
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
||||||
|
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||||
|
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
set(CMAKE_CXX_COMPILER_VERSION "13.2.1")
|
||||||
|
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||||
|
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||||
|
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
|
||||||
|
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||||
|
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
|
||||||
|
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||||
|
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||||
|
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||||
|
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||||
|
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
||||||
|
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
|
||||||
|
|
||||||
|
set(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||||
|
set(CMAKE_CXX_SIMULATE_ID "")
|
||||||
|
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
|
||||||
|
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_AR "/usr/bin/ar")
|
||||||
|
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar")
|
||||||
|
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib")
|
||||||
|
set(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
set(CMAKE_MT "")
|
||||||
|
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||||
|
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||||
|
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||||
|
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||||
|
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||||
|
|
||||||
|
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||||
|
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m)
|
||||||
|
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
|
||||||
|
foreach (lang C OBJC OBJCXX)
|
||||||
|
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
||||||
|
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
||||||
|
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||||
|
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||||
|
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED TRUE)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||||
|
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
||||||
|
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
||||||
|
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
||||||
|
|
||||||
|
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_CXX_COMPILER_ABI)
|
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||||
|
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/13.2.1;/usr/include/c++/13.2.1/x86_64-pc-linux-gnu;/usr/include/c++/13.2.1/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed;/usr/include")
|
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
|
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1;/usr/lib;/lib")
|
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||||
BIN
build/CMakeFiles/3.27.7/CMakeDetermineCompilerABI_C.bin
Executable file
BIN
build/CMakeFiles/3.27.7/CMakeDetermineCompilerABI_C.bin
Executable file
Binary file not shown.
BIN
build/CMakeFiles/3.27.7/CMakeDetermineCompilerABI_CXX.bin
Executable file
BIN
build/CMakeFiles/3.27.7/CMakeDetermineCompilerABI_CXX.bin
Executable file
Binary file not shown.
15
build/CMakeFiles/3.27.7/CMakeSystem.cmake
Normal file
15
build/CMakeFiles/3.27.7/CMakeSystem.cmake
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
set(CMAKE_HOST_SYSTEM "Linux-6.4.16-5-MANJARO")
|
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "6.4.16-5-MANJARO")
|
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Linux-10.0")
|
||||||
|
set(CMAKE_SYSTEM_NAME "Linux")
|
||||||
|
set(CMAKE_SYSTEM_VERSION "10.0")
|
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1)
|
||||||
866
build/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c
Normal file
866
build/CMakeFiles/3.27.7/CompilerIdC/CMakeCCompilerId.c
Normal file
@@ -0,0 +1,866 @@
|
|||||||
|
#ifdef __cplusplus
|
||||||
|
# error "A C++ compiler has been selected for C."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__18CXX)
|
||||||
|
# define ID_VOID_MAIN
|
||||||
|
#endif
|
||||||
|
#if defined(__CLASSIC_C__)
|
||||||
|
/* cv-qualifiers did not exist in K&R C */
|
||||||
|
# define const
|
||||||
|
# define volatile
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__has_include)
|
||||||
|
/* If the compiler does not have __has_include, pretend the answer is
|
||||||
|
always no. */
|
||||||
|
# define __has_include(x) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# endif
|
||||||
|
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||||
|
except that a few beta releases use the old format with V=2021. */
|
||||||
|
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_UPDATE)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
/* The third version component from --version is an update index,
|
||||||
|
but no macro is provided for it. */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(0)
|
||||||
|
# endif
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||||
|
# define COMPILER_ID "IntelLLVM"
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
#endif
|
||||||
|
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||||
|
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||||
|
* VVVV is no smaller than the current year when a version is released.
|
||||||
|
*/
|
||||||
|
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||||
|
#else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
#elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__PATHCC__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||||
|
# if defined(__PATHCC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "OpenWatcom"
|
||||||
|
/* __WATCOMC__ = VVRP + 1100 */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_C)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_C >= 0x5100
|
||||||
|
/* __SUNPRO_C = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_CC = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_cc)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_cc = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECC)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
/* __DECC_VER = VVRRTPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__open_xl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "IBMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ibmxl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "XLClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__NVCOMPILER)
|
||||||
|
# define COMPILER_ID "NVHPC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||||
|
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI"
|
||||||
|
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||||
|
|
||||||
|
#elif defined(__CLANG_FUJITSU)
|
||||||
|
# define COMPILER_ID "FujitsuClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FUJITSU)
|
||||||
|
# define COMPILER_ID "Fujitsu"
|
||||||
|
# if defined(__FCC_version__)
|
||||||
|
# define COMPILER_VERSION __FCC_version__
|
||||||
|
# elif defined(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# endif
|
||||||
|
# if defined(__fcc_version)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||||
|
# elif defined(__FCC_VERSION)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# define COMPILER_ID "GHS"
|
||||||
|
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||||
|
# ifdef __GHS_VERSION_NUMBER
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
# define COMPILER_ID "Tasking"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
||||||
|
|
||||||
|
#elif defined(__TINYC__)
|
||||||
|
# define COMPILER_ID "TinyCC"
|
||||||
|
|
||||||
|
#elif defined(__BCC__)
|
||||||
|
# define COMPILER_ID "Bruce"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||||
|
# define COMPILER_ID "ARMCC"
|
||||||
|
#if __ARMCC_VERSION >= 1000000
|
||||||
|
/* __ARMCC_VERSION = VRRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#else
|
||||||
|
/* __ARMCC_VERSION = VRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||||
|
# define COMPILER_ID "AppleClang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "ARMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||||
|
# define COMPILER_ID "LCC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
||||||
|
# if defined(__LCC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_ADI_COMPILER)
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
#if defined(__VERSIONNUM__)
|
||||||
|
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# define COMPILER_ID "IAR"
|
||||||
|
# if defined(__VER__) && defined(__ICCARM__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||||
|
# define COMPILER_ID "SDCC"
|
||||||
|
# if defined(__SDCC_VERSION_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||||
|
# else
|
||||||
|
/* SDCC = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
/* These compilers are either not known or too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __QNXNTO__
|
||||||
|
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define STRINGIFY_HELPER(X) #X
|
||||||
|
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__MSYS__)
|
||||||
|
# define PLATFORM_ID "MSYS"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU__)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(__LINUX__)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
# elif defined(__DOS__)
|
||||||
|
# define PLATFORM_ID "DOS"
|
||||||
|
|
||||||
|
# elif defined(__OS2__)
|
||||||
|
# define PLATFORM_ID "OS2"
|
||||||
|
|
||||||
|
# elif defined(__WINDOWS__)
|
||||||
|
# define PLATFORM_ID "Windows3x"
|
||||||
|
|
||||||
|
# elif defined(__VXWORKS__)
|
||||||
|
# define PLATFORM_ID "VxWorks"
|
||||||
|
|
||||||
|
# else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__INTEGRITY)
|
||||||
|
# if defined(INT_178B)
|
||||||
|
# define PLATFORM_ID "Integrity178"
|
||||||
|
|
||||||
|
# else /* regular Integrity */
|
||||||
|
# define PLATFORM_ID "Integrity"
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_ADI_COMPILER)
|
||||||
|
# define PLATFORM_ID "ADSP"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64EC)
|
||||||
|
# define ARCHITECTURE_ID "ARM64EC"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64)
|
||||||
|
# define ARCHITECTURE_ID "ARM64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# if _M_ARM == 4
|
||||||
|
# define ARCHITECTURE_ID "ARMV4I"
|
||||||
|
# elif _M_ARM == 5
|
||||||
|
# define ARCHITECTURE_ID "ARMV5I"
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_M_MIPS)
|
||||||
|
# define ARCHITECTURE_ID "MIPS"
|
||||||
|
|
||||||
|
# elif defined(_M_SH)
|
||||||
|
# define ARCHITECTURE_ID "SHx"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(_M_I86)
|
||||||
|
# define ARCHITECTURE_ID "I86"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# if defined(__ICCARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__ICCRX__)
|
||||||
|
# define ARCHITECTURE_ID "RX"
|
||||||
|
|
||||||
|
# elif defined(__ICCRH850__)
|
||||||
|
# define ARCHITECTURE_ID "RH850"
|
||||||
|
|
||||||
|
# elif defined(__ICCRL78__)
|
||||||
|
# define ARCHITECTURE_ID "RL78"
|
||||||
|
|
||||||
|
# elif defined(__ICCRISCV__)
|
||||||
|
# define ARCHITECTURE_ID "RISCV"
|
||||||
|
|
||||||
|
# elif defined(__ICCAVR__)
|
||||||
|
# define ARCHITECTURE_ID "AVR"
|
||||||
|
|
||||||
|
# elif defined(__ICC430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__ICCV850__)
|
||||||
|
# define ARCHITECTURE_ID "V850"
|
||||||
|
|
||||||
|
# elif defined(__ICC8051__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__ICCSTM8__)
|
||||||
|
# define ARCHITECTURE_ID "STM8"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# if defined(__PPC64__)
|
||||||
|
# define ARCHITECTURE_ID "PPC64"
|
||||||
|
|
||||||
|
# elif defined(__ppc__)
|
||||||
|
# define ARCHITECTURE_ID "PPC"
|
||||||
|
|
||||||
|
# elif defined(__ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__x86_64__)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(__i386__)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# if defined(__TI_ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__MSP430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C28XX__)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C28x"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C6x"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(__ADSPSHARC__)
|
||||||
|
# define ARCHITECTURE_ID "SHARC"
|
||||||
|
|
||||||
|
# elif defined(__ADSPBLACKFIN__)
|
||||||
|
# define ARCHITECTURE_ID "Blackfin"
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
|
||||||
|
# if defined(__CTC__) || defined(__CPTC__)
|
||||||
|
# define ARCHITECTURE_ID "TriCore"
|
||||||
|
|
||||||
|
# elif defined(__CMCS__)
|
||||||
|
# define ARCHITECTURE_ID "MCS"
|
||||||
|
|
||||||
|
# elif defined(__CARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__CARC__)
|
||||||
|
# define ARCHITECTURE_ID "ARC"
|
||||||
|
|
||||||
|
# elif defined(__C51__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__CPCP__)
|
||||||
|
# define ARCHITECTURE_ID "PCP"
|
||||||
|
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number. */
|
||||||
|
#ifdef COMPILER_VERSION
|
||||||
|
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#elif defined(COMPILER_VERSION_MAJOR)
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the internal version number. */
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
char const info_version_internal[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||||
|
'i','n','t','e','r','n','a','l','[',
|
||||||
|
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||||
|
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
|
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
char const info_simulate_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||||
|
SIMULATE_VERSION_MAJOR,
|
||||||
|
# ifdef SIMULATE_VERSION_MINOR
|
||||||
|
'.', SIMULATE_VERSION_MINOR,
|
||||||
|
# ifdef SIMULATE_VERSION_PATCH
|
||||||
|
'.', SIMULATE_VERSION_PATCH,
|
||||||
|
# ifdef SIMULATE_VERSION_TWEAK
|
||||||
|
'.', SIMULATE_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(__STDC__) && !defined(__clang__)
|
||||||
|
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
|
||||||
|
# define C_VERSION "90"
|
||||||
|
# else
|
||||||
|
# define C_VERSION
|
||||||
|
# endif
|
||||||
|
#elif __STDC_VERSION__ > 201710L
|
||||||
|
# define C_VERSION "23"
|
||||||
|
#elif __STDC_VERSION__ >= 201710L
|
||||||
|
# define C_VERSION "17"
|
||||||
|
#elif __STDC_VERSION__ >= 201000L
|
||||||
|
# define C_VERSION "11"
|
||||||
|
#elif __STDC_VERSION__ >= 199901L
|
||||||
|
# define C_VERSION "99"
|
||||||
|
#else
|
||||||
|
# define C_VERSION "90"
|
||||||
|
#endif
|
||||||
|
const char* info_language_standard_default =
|
||||||
|
"INFO" ":" "standard_default[" C_VERSION "]";
|
||||||
|
|
||||||
|
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||||
|
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||||
|
defined(__TI_COMPILER_VERSION__)) && \
|
||||||
|
!defined(__STRICT_ANSI__)
|
||||||
|
"ON"
|
||||||
|
#else
|
||||||
|
"OFF"
|
||||||
|
#endif
|
||||||
|
"]";
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifdef ID_VOID_MAIN
|
||||||
|
void main() {}
|
||||||
|
#else
|
||||||
|
# if defined(__CLASSIC_C__)
|
||||||
|
int main(argc, argv) int argc; char *argv[];
|
||||||
|
# else
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
# endif
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
require += info_arch[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
require += info_version_internal[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
require += info_simulate[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
require += info_simulate_version[argc];
|
||||||
|
#endif
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
require += info_cray[argc];
|
||||||
|
#endif
|
||||||
|
require += info_language_standard_default[argc];
|
||||||
|
require += info_language_extensions_default[argc];
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
855
build/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp
Normal file
855
build/CMakeFiles/3.27.7/CompilerIdCXX/CMakeCXXCompilerId.cpp
Normal file
@@ -0,0 +1,855 @@
|
|||||||
|
/* This source file must have a .cpp extension so that all C++ compilers
|
||||||
|
recognize the extension without flags. Borland does not know .cxx for
|
||||||
|
example. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
# error "A C compiler has been selected for C++."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__has_include)
|
||||||
|
/* If the compiler does not have __has_include, pretend the answer is
|
||||||
|
always no. */
|
||||||
|
# define __has_include(x) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__COMO__)
|
||||||
|
# define COMPILER_ID "Comeau"
|
||||||
|
/* __COMO_VERSION__ = VRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
||||||
|
|
||||||
|
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# endif
|
||||||
|
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||||
|
except that a few beta releases use the old format with V=2021. */
|
||||||
|
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_UPDATE)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
/* The third version component from --version is an update index,
|
||||||
|
but no macro is provided for it. */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(0)
|
||||||
|
# endif
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||||
|
# define COMPILER_ID "IntelLLVM"
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
#endif
|
||||||
|
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||||
|
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||||
|
* VVVV is no smaller than the current year when a version is released.
|
||||||
|
*/
|
||||||
|
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||||
|
#else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
#elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__PATHCC__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||||
|
# if defined(__PATHCC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "OpenWatcom"
|
||||||
|
/* __WATCOMC__ = VVRP + 1100 */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_CC)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_CC >= 0x5100
|
||||||
|
/* __SUNPRO_CC = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_CC = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_aCC)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_aCC = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECCXX)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
/* __DECCXX_VER = VVRRTPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__open_xl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "IBMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ibmxl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "XLClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__NVCOMPILER)
|
||||||
|
# define COMPILER_ID "NVHPC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||||
|
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI"
|
||||||
|
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||||
|
|
||||||
|
#elif defined(__CLANG_FUJITSU)
|
||||||
|
# define COMPILER_ID "FujitsuClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FUJITSU)
|
||||||
|
# define COMPILER_ID "Fujitsu"
|
||||||
|
# if defined(__FCC_version__)
|
||||||
|
# define COMPILER_VERSION __FCC_version__
|
||||||
|
# elif defined(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# endif
|
||||||
|
# if defined(__fcc_version)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||||
|
# elif defined(__FCC_VERSION)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# define COMPILER_ID "GHS"
|
||||||
|
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||||
|
# ifdef __GHS_VERSION_NUMBER
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
# define COMPILER_ID "Tasking"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||||
|
# define COMPILER_ID "ARMCC"
|
||||||
|
#if __ARMCC_VERSION >= 1000000
|
||||||
|
/* __ARMCC_VERSION = VRRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#else
|
||||||
|
/* __ARMCC_VERSION = VRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||||
|
# define COMPILER_ID "AppleClang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "ARMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||||
|
# define COMPILER_ID "LCC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
||||||
|
# if defined(__LCC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_ADI_COMPILER)
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
#if defined(__VERSIONNUM__)
|
||||||
|
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# define COMPILER_ID "IAR"
|
||||||
|
# if defined(__VER__) && defined(__ICCARM__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
/* These compilers are either not known or too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __QNXNTO__
|
||||||
|
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define STRINGIFY_HELPER(X) #X
|
||||||
|
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__MSYS__)
|
||||||
|
# define PLATFORM_ID "MSYS"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU__)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(__LINUX__)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
# elif defined(__DOS__)
|
||||||
|
# define PLATFORM_ID "DOS"
|
||||||
|
|
||||||
|
# elif defined(__OS2__)
|
||||||
|
# define PLATFORM_ID "OS2"
|
||||||
|
|
||||||
|
# elif defined(__WINDOWS__)
|
||||||
|
# define PLATFORM_ID "Windows3x"
|
||||||
|
|
||||||
|
# elif defined(__VXWORKS__)
|
||||||
|
# define PLATFORM_ID "VxWorks"
|
||||||
|
|
||||||
|
# else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__INTEGRITY)
|
||||||
|
# if defined(INT_178B)
|
||||||
|
# define PLATFORM_ID "Integrity178"
|
||||||
|
|
||||||
|
# else /* regular Integrity */
|
||||||
|
# define PLATFORM_ID "Integrity"
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_ADI_COMPILER)
|
||||||
|
# define PLATFORM_ID "ADSP"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64EC)
|
||||||
|
# define ARCHITECTURE_ID "ARM64EC"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64)
|
||||||
|
# define ARCHITECTURE_ID "ARM64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# if _M_ARM == 4
|
||||||
|
# define ARCHITECTURE_ID "ARMV4I"
|
||||||
|
# elif _M_ARM == 5
|
||||||
|
# define ARCHITECTURE_ID "ARMV5I"
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_M_MIPS)
|
||||||
|
# define ARCHITECTURE_ID "MIPS"
|
||||||
|
|
||||||
|
# elif defined(_M_SH)
|
||||||
|
# define ARCHITECTURE_ID "SHx"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(_M_I86)
|
||||||
|
# define ARCHITECTURE_ID "I86"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# if defined(__ICCARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__ICCRX__)
|
||||||
|
# define ARCHITECTURE_ID "RX"
|
||||||
|
|
||||||
|
# elif defined(__ICCRH850__)
|
||||||
|
# define ARCHITECTURE_ID "RH850"
|
||||||
|
|
||||||
|
# elif defined(__ICCRL78__)
|
||||||
|
# define ARCHITECTURE_ID "RL78"
|
||||||
|
|
||||||
|
# elif defined(__ICCRISCV__)
|
||||||
|
# define ARCHITECTURE_ID "RISCV"
|
||||||
|
|
||||||
|
# elif defined(__ICCAVR__)
|
||||||
|
# define ARCHITECTURE_ID "AVR"
|
||||||
|
|
||||||
|
# elif defined(__ICC430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__ICCV850__)
|
||||||
|
# define ARCHITECTURE_ID "V850"
|
||||||
|
|
||||||
|
# elif defined(__ICC8051__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__ICCSTM8__)
|
||||||
|
# define ARCHITECTURE_ID "STM8"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# if defined(__PPC64__)
|
||||||
|
# define ARCHITECTURE_ID "PPC64"
|
||||||
|
|
||||||
|
# elif defined(__ppc__)
|
||||||
|
# define ARCHITECTURE_ID "PPC"
|
||||||
|
|
||||||
|
# elif defined(__ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__x86_64__)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(__i386__)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# if defined(__TI_ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__MSP430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C28XX__)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C28x"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C6x"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(__ADSPSHARC__)
|
||||||
|
# define ARCHITECTURE_ID "SHARC"
|
||||||
|
|
||||||
|
# elif defined(__ADSPBLACKFIN__)
|
||||||
|
# define ARCHITECTURE_ID "Blackfin"
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
|
||||||
|
# if defined(__CTC__) || defined(__CPTC__)
|
||||||
|
# define ARCHITECTURE_ID "TriCore"
|
||||||
|
|
||||||
|
# elif defined(__CMCS__)
|
||||||
|
# define ARCHITECTURE_ID "MCS"
|
||||||
|
|
||||||
|
# elif defined(__CARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__CARC__)
|
||||||
|
# define ARCHITECTURE_ID "ARC"
|
||||||
|
|
||||||
|
# elif defined(__C51__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__CPCP__)
|
||||||
|
# define ARCHITECTURE_ID "PCP"
|
||||||
|
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number. */
|
||||||
|
#ifdef COMPILER_VERSION
|
||||||
|
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#elif defined(COMPILER_VERSION_MAJOR)
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the internal version number. */
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
char const info_version_internal[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||||
|
'i','n','t','e','r','n','a','l','[',
|
||||||
|
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||||
|
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
|
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
char const info_simulate_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||||
|
SIMULATE_VERSION_MAJOR,
|
||||||
|
# ifdef SIMULATE_VERSION_MINOR
|
||||||
|
'.', SIMULATE_VERSION_MINOR,
|
||||||
|
# ifdef SIMULATE_VERSION_PATCH
|
||||||
|
'.', SIMULATE_VERSION_PATCH,
|
||||||
|
# ifdef SIMULATE_VERSION_TWEAK
|
||||||
|
'.', SIMULATE_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
|
||||||
|
# if defined(__INTEL_CXX11_MODE__)
|
||||||
|
# if defined(__cpp_aggregate_nsdmi)
|
||||||
|
# define CXX_STD 201402L
|
||||||
|
# else
|
||||||
|
# define CXX_STD 201103L
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define CXX_STD 199711L
|
||||||
|
# endif
|
||||||
|
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
|
||||||
|
# define CXX_STD _MSVC_LANG
|
||||||
|
#else
|
||||||
|
# define CXX_STD __cplusplus
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char* info_language_standard_default = "INFO" ":" "standard_default["
|
||||||
|
#if CXX_STD > 202002L
|
||||||
|
"23"
|
||||||
|
#elif CXX_STD > 201703L
|
||||||
|
"20"
|
||||||
|
#elif CXX_STD >= 201703L
|
||||||
|
"17"
|
||||||
|
#elif CXX_STD >= 201402L
|
||||||
|
"14"
|
||||||
|
#elif CXX_STD >= 201103L
|
||||||
|
"11"
|
||||||
|
#else
|
||||||
|
"98"
|
||||||
|
#endif
|
||||||
|
"]";
|
||||||
|
|
||||||
|
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||||
|
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||||
|
defined(__TI_COMPILER_VERSION__)) && \
|
||||||
|
!defined(__STRICT_ANSI__)
|
||||||
|
"ON"
|
||||||
|
#else
|
||||||
|
"OFF"
|
||||||
|
#endif
|
||||||
|
"]";
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
require += info_arch[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
require += info_version_internal[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
require += info_simulate[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
require += info_simulate_version[argc];
|
||||||
|
#endif
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
require += info_cray[argc];
|
||||||
|
#endif
|
||||||
|
require += info_language_standard_default[argc];
|
||||||
|
require += info_language_extensions_default[argc];
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
487
build/CMakeFiles/CMakeConfigureLog.yaml
Normal file
487
build/CMakeFiles/CMakeConfigureLog.yaml
Normal file
@@ -0,0 +1,487 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
events:
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:211 (message)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
The system is: Linux - 10.0 - x86_64
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||||
|
Compiler: /usr/bin/cc
|
||||||
|
Build flags:
|
||||||
|
Id flags:
|
||||||
|
|
||||||
|
The output was:
|
||||||
|
0
|
||||||
|
|
||||||
|
|
||||||
|
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||||
|
|
||||||
|
The C compiler identification is GNU, found in:
|
||||||
|
/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/3.27.7/CompilerIdC/a.out
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||||
|
Compiler: /usr/bin/c++
|
||||||
|
Build flags:
|
||||||
|
Id flags:
|
||||||
|
|
||||||
|
The output was:
|
||||||
|
0
|
||||||
|
|
||||||
|
|
||||||
|
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
||||||
|
|
||||||
|
The CXX compiler identification is GNU, found in:
|
||||||
|
/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/3.27.7/CompilerIdCXX/a.out
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "try_compile-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
checks:
|
||||||
|
- "Detecting C compiler ABI info"
|
||||||
|
directories:
|
||||||
|
source: "/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-RvzrLw"
|
||||||
|
binary: "/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-RvzrLw"
|
||||||
|
cmakeVariables:
|
||||||
|
CMAKE_C_FLAGS: ""
|
||||||
|
CMAKE_C_FLAGS_DEBUG: "-g"
|
||||||
|
CMAKE_EXE_LINKER_FLAGS: ""
|
||||||
|
buildResult:
|
||||||
|
variable: "CMAKE_C_ABI_COMPILED"
|
||||||
|
cached: true
|
||||||
|
stdout: |
|
||||||
|
Change Dir: '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-RvzrLw'
|
||||||
|
|
||||||
|
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_6370d/fast
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTC_6370d.dir/build.make CMakeFiles/cmTC_6370d.dir/build
|
||||||
|
make[1]: Entering directory '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-RvzrLw'
|
||||||
|
Building C object CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o
|
||||||
|
/usr/bin/cc -v -o CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/cc
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 13.2.1 20230801 (GCC)
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_6370d.dir/'
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_6370d.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -o /tmp/ccSbpWGb.s
|
||||||
|
GNU C17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)
|
||||||
|
compiled by GNU C version 13.2.1 20230801, GMP version 6.3.0, MPFR version 4.2.0-p12, MPC version 1.3.1, isl version isl-0.26-GMP
|
||||||
|
|
||||||
|
warning: MPFR header version 4.2.0-p12 differs from library version 4.2.1.
|
||||||
|
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||||
|
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
|
||||||
|
#include "..." search starts here:
|
||||||
|
#include <...> search starts here:
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include
|
||||||
|
/usr/local/include
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed
|
||||||
|
/usr/include
|
||||||
|
End of search list.
|
||||||
|
Compiler executable checksum: 865c2688a4f1e3f13d6bf2cc8fd98762
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_6370d.dir/'
|
||||||
|
as -v --64 -o CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o /tmp/ccSbpWGb.s
|
||||||
|
GNU assembler version 2.41.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.41.0
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.'
|
||||||
|
Linking C executable cmTC_6370d
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6370d.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/cc -v CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o -o cmTC_6370d
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/cc
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 13.2.1 20230801 (GCC)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6370d' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_6370d.'
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyaI6BR.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_6370d /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6370d' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_6370d.'
|
||||||
|
make[1]: Leaving directory '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-RvzrLw'
|
||||||
|
|
||||||
|
exitCode: 0
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Parsed C implicit include dir info: rv=done
|
||||||
|
found start of include info
|
||||||
|
found start of implicit include info
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
add: [/usr/local/include]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
add: [/usr/include]
|
||||||
|
end of search list found
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
collapse include dir [/usr/include] ==> [/usr/include]
|
||||||
|
implicit include dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed;/usr/include]
|
||||||
|
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Parsed C implicit link information:
|
||||||
|
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||||
|
ignore line: [Change Dir: '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-RvzrLw']
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_6370d/fast]
|
||||||
|
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_6370d.dir/build.make CMakeFiles/cmTC_6370d.dir/build]
|
||||||
|
ignore line: [make[1]: Entering directory '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-RvzrLw']
|
||||||
|
ignore line: [Building C object CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o]
|
||||||
|
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||||
|
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=ada c c++ d fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
|
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_6370d.dir/']
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_6370d.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -o /tmp/ccSbpWGb.s]
|
||||||
|
ignore line: [GNU C17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)]
|
||||||
|
ignore line: [ compiled by GNU C version 13.2.1 20230801 GMP version 6.3.0 MPFR version 4.2.0-p12 MPC version 1.3.1 isl version isl-0.26-GMP]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [warning: MPFR header version 4.2.0-p12 differs from library version 4.2.1.]
|
||||||
|
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||||
|
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"]
|
||||||
|
ignore line: [#include "..." search starts here:]
|
||||||
|
ignore line: [#include <...> search starts here:]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
ignore line: [ /usr/local/include]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
ignore line: [ /usr/include]
|
||||||
|
ignore line: [End of search list.]
|
||||||
|
ignore line: [Compiler executable checksum: 865c2688a4f1e3f13d6bf2cc8fd98762]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_6370d.dir/']
|
||||||
|
ignore line: [ as -v --64 -o CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o /tmp/ccSbpWGb.s]
|
||||||
|
ignore line: [GNU assembler version 2.41.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.41.0]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.']
|
||||||
|
ignore line: [Linking C executable cmTC_6370d]
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6370d.dir/link.txt --verbose=1]
|
||||||
|
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o -o cmTC_6370d ]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=ada c c++ d fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
|
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6370d' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_6370d.']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyaI6BR.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_6370d /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2] ==> ignore
|
||||||
|
arg [-plugin] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so] ==> ignore
|
||||||
|
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper] ==> ignore
|
||||||
|
arg [-plugin-opt=-fresolution=/tmp/ccyaI6BR.res] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-pie] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTC_6370d] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..]
|
||||||
|
arg [CMakeFiles/cmTC_6370d.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--push-state] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--pop-state] ==> ignore
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--push-state] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--pop-state] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> [/usr/lib/crti.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> [/usr/lib/crtn.o]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse library dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
|
||||||
|
implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o;/usr/lib/crtn.o]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1;/usr/lib;/lib]
|
||||||
|
implicit fwks: []
|
||||||
|
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "try_compile-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
checks:
|
||||||
|
- "Detecting CXX compiler ABI info"
|
||||||
|
directories:
|
||||||
|
source: "/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-DtTHY1"
|
||||||
|
binary: "/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-DtTHY1"
|
||||||
|
cmakeVariables:
|
||||||
|
CMAKE_CXX_FLAGS: ""
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG: "-g"
|
||||||
|
CMAKE_EXE_LINKER_FLAGS: ""
|
||||||
|
buildResult:
|
||||||
|
variable: "CMAKE_CXX_ABI_COMPILED"
|
||||||
|
cached: true
|
||||||
|
stdout: |
|
||||||
|
Change Dir: '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-DtTHY1'
|
||||||
|
|
||||||
|
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_4bc7f/fast
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTC_4bc7f.dir/build.make CMakeFiles/cmTC_4bc7f.dir/build
|
||||||
|
make[1]: Entering directory '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-DtTHY1'
|
||||||
|
Building CXX object CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o
|
||||||
|
/usr/bin/c++ -v -o CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/c++
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 13.2.1 20230801 (GCC)
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4bc7f.dir/'
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_4bc7f.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -o /tmp/cceCkRxH.s
|
||||||
|
GNU C++17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)
|
||||||
|
compiled by GNU C version 13.2.1 20230801, GMP version 6.3.0, MPFR version 4.2.0-p12, MPC version 1.3.1, isl version isl-0.26-GMP
|
||||||
|
|
||||||
|
warning: MPFR header version 4.2.0-p12 differs from library version 4.2.1.
|
||||||
|
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||||
|
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
|
||||||
|
#include "..." search starts here:
|
||||||
|
#include <...> search starts here:
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include
|
||||||
|
/usr/local/include
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed
|
||||||
|
/usr/include
|
||||||
|
End of search list.
|
||||||
|
Compiler executable checksum: 5a490a353c29b926850bca65a518c219
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4bc7f.dir/'
|
||||||
|
as -v --64 -o CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o /tmp/cceCkRxH.s
|
||||||
|
GNU assembler version 2.41.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.41.0
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.'
|
||||||
|
Linking CXX executable cmTC_4bc7f
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4bc7f.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/c++ -v CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4bc7f
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/c++
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 13.2.1 20230801 (GCC)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4bc7f' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_4bc7f.'
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5zxqKL.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_4bc7f /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4bc7f' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_4bc7f.'
|
||||||
|
make[1]: Leaving directory '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-DtTHY1'
|
||||||
|
|
||||||
|
exitCode: 0
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Parsed CXX implicit include dir info: rv=done
|
||||||
|
found start of include info
|
||||||
|
found start of implicit include info
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
add: [/usr/local/include]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
add: [/usr/include]
|
||||||
|
end of search list found
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1] ==> [/usr/include/c++/13.2.1]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu] ==> [/usr/include/c++/13.2.1/x86_64-pc-linux-gnu]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward] ==> [/usr/include/c++/13.2.1/backward]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
collapse include dir [/usr/include] ==> [/usr/include]
|
||||||
|
implicit include dirs: [/usr/include/c++/13.2.1;/usr/include/c++/13.2.1/x86_64-pc-linux-gnu;/usr/include/c++/13.2.1/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed;/usr/include]
|
||||||
|
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Parsed CXX implicit link information:
|
||||||
|
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||||
|
ignore line: [Change Dir: '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-DtTHY1']
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_4bc7f/fast]
|
||||||
|
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_4bc7f.dir/build.make CMakeFiles/cmTC_4bc7f.dir/build]
|
||||||
|
ignore line: [make[1]: Entering directory '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/build/CMakeFiles/CMakeScratch/TryCompile-DtTHY1']
|
||||||
|
ignore line: [Building CXX object CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o]
|
||||||
|
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||||
|
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=ada c c++ d fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
|
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4bc7f.dir/']
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_4bc7f.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -o /tmp/cceCkRxH.s]
|
||||||
|
ignore line: [GNU C++17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)]
|
||||||
|
ignore line: [ compiled by GNU C version 13.2.1 20230801 GMP version 6.3.0 MPFR version 4.2.0-p12 MPC version 1.3.1 isl version isl-0.26-GMP]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [warning: MPFR header version 4.2.0-p12 differs from library version 4.2.1.]
|
||||||
|
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||||
|
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"]
|
||||||
|
ignore line: [#include "..." search starts here:]
|
||||||
|
ignore line: [#include <...> search starts here:]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
ignore line: [ /usr/local/include]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
ignore line: [ /usr/include]
|
||||||
|
ignore line: [End of search list.]
|
||||||
|
ignore line: [Compiler executable checksum: 5a490a353c29b926850bca65a518c219]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4bc7f.dir/']
|
||||||
|
ignore line: [ as -v --64 -o CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o /tmp/cceCkRxH.s]
|
||||||
|
ignore line: [GNU assembler version 2.41.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.41.0]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.']
|
||||||
|
ignore line: [Linking CXX executable cmTC_4bc7f]
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4bc7f.dir/link.txt --verbose=1]
|
||||||
|
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4bc7f ]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=ada c c++ d fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
|
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4bc7f' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_4bc7f.']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5zxqKL.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_4bc7f /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2] ==> ignore
|
||||||
|
arg [-plugin] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so] ==> ignore
|
||||||
|
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper] ==> ignore
|
||||||
|
arg [-plugin-opt=-fresolution=/tmp/cc5zxqKL.res] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-pie] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTC_4bc7f] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..]
|
||||||
|
arg [CMakeFiles/cmTC_4bc7f.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||||
|
arg [-lstdc++] ==> lib [stdc++]
|
||||||
|
arg [-lm] ==> lib [m]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> [/usr/lib/crti.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> [/usr/lib/crtn.o]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse library dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
|
||||||
|
implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o;/usr/lib/crtn.o]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1;/usr/lib;/lib]
|
||||||
|
implicit fwks: []
|
||||||
|
|
||||||
|
|
||||||
|
...
|
||||||
1
build/CMakeFiles/cmake.check_cache
Normal file
1
build/CMakeFiles/cmake.check_cache
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||||
0
cmake-build-debug/.cmake/api/v1/query/cache-v2
Normal file
0
cmake-build-debug/.cmake/api/v1/query/cache-v2
Normal file
0
cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1
Normal file
0
cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1
Normal file
0
cmake-build-debug/.cmake/api/v1/query/codemodel-v2
Normal file
0
cmake-build-debug/.cmake/api/v1/query/codemodel-v2
Normal file
0
cmake-build-debug/.cmake/api/v1/query/toolchains-v1
Normal file
0
cmake-build-debug/.cmake/api/v1/query/toolchains-v1
Normal file
381
cmake-build-debug/CMakeCache.txt
Normal file
381
cmake-build-debug/CMakeCache.txt
Normal file
@@ -0,0 +1,381 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: /home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug
|
||||||
|
# It was generated by CMake: /usr/bin/cmake
|
||||||
|
# You can edit this file to change values found and used by cmake.
|
||||||
|
# If you do not want to change any of the values, simply exit the editor.
|
||||||
|
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||||
|
# The syntax for the file is as follows:
|
||||||
|
# KEY:TYPE=VALUE
|
||||||
|
# KEY is the name of a variable in the cache.
|
||||||
|
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||||
|
# VALUE is the current value for the KEY.
|
||||||
|
|
||||||
|
########################
|
||||||
|
# EXTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_AR:FILEPATH=/usr/bin/ar
|
||||||
|
|
||||||
|
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
||||||
|
// MinSizeRel ...
|
||||||
|
CMAKE_BUILD_TYPE:STRING=Debug
|
||||||
|
|
||||||
|
//Enable colored diagnostics throughout.
|
||||||
|
CMAKE_COLOR_DIAGNOSTICS:BOOL=ON
|
||||||
|
|
||||||
|
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release
|
||||||
|
|
||||||
|
//CXX compiler
|
||||||
|
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
|
||||||
|
|
||||||
|
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
|
||||||
|
|
||||||
|
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during all build types.
|
||||||
|
CMAKE_CXX_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during DEBUG builds.
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during MINSIZEREL builds.
|
||||||
|
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during RELEASE builds.
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||||
|
|
||||||
|
//C compiler
|
||||||
|
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
||||||
|
|
||||||
|
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
|
||||||
|
|
||||||
|
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||||
|
// for the GCC compiler
|
||||||
|
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
|
||||||
|
|
||||||
|
//Flags used by the C compiler during all build types.
|
||||||
|
CMAKE_C_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the C compiler during DEBUG builds.
|
||||||
|
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
|
//Flags used by the C compiler during MINSIZEREL builds.
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELEASE builds.
|
||||||
|
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
|
||||||
|
|
||||||
|
//Flags used by the linker during all build types.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during DEBUG builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during MINSIZEREL builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during RELEASE builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Enable/Disable output of compile commands during generation.
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
||||||
|
|
||||||
|
//Value Computed by CMake.
|
||||||
|
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/pkgRedirects
|
||||||
|
|
||||||
|
//Install path prefix, prepended onto install directories.
|
||||||
|
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/opt/clion/bin/ninja/linux/x64/ninja
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// all build types.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// DEBUG builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// MINSIZEREL builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELEASE builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELWITHDEBINFO builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_NM:FILEPATH=/usr/bin/nm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=Template_2022
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_READELF:FILEPATH=/usr/bin/readelf
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//If set, runtime paths are not added when installing shared libraries,
|
||||||
|
// but are added when building.
|
||||||
|
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||||
|
|
||||||
|
//If set, runtime paths are not added when using shared libraries.
|
||||||
|
CMAKE_SKIP_RPATH:BOOL=NO
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
||||||
|
|
||||||
|
CMAKE_SYSTEM_VERSION:STRING=10.0
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
|
||||||
|
|
||||||
|
//If this value is on, makefiles will be generated without the
|
||||||
|
// .SILENT directive, and all commands will be echoed to the console
|
||||||
|
// during the make. This is useful for debugging only. With Visual
|
||||||
|
// Studio IDE projects all commands are done without /nologo.
|
||||||
|
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
Template_2022_BINARY_DIR:STATIC=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
Template_2022_IS_TOP_LEVEL:STATIC=ON
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
Template_2022_SOURCE_DIR:STATIC=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||||
|
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_AR
|
||||||
|
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||||
|
//This is the directory where this CMakeCache.txt was created
|
||||||
|
CMAKE_CACHEFILE_DIR:INTERNAL=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug
|
||||||
|
//Major version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||||
|
//Minor version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MINOR_VERSION:INTERNAL=27
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=7
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
||||||
|
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
||||||
|
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
||||||
|
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
||||||
|
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER
|
||||||
|
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
||||||
|
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
||||||
|
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||||
|
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||||
|
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||||
|
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_DLLTOOL
|
||||||
|
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
||||||
|
//Path to cache edit program executable.
|
||||||
|
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
|
||||||
|
//Executable file format
|
||||||
|
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||||
|
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||||
|
//Name of external makefile project generator.
|
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||||
|
//Name of generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Ninja
|
||||||
|
//Generator instance identifier.
|
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||||
|
//Name of generator platform.
|
||||||
|
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||||
|
//Name of generator toolset.
|
||||||
|
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||||
|
//Source directory with the top level CMakeLists.txt file for this
|
||||||
|
// project
|
||||||
|
CMAKE_HOME_DIRECTORY:INTERNAL=/home/kookroach/Documents/Uni/WS23-24/physX/game-physics
|
||||||
|
//Install .so files without execute permission.
|
||||||
|
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
|
||||||
|
//ADVANCED property for variable: CMAKE_LINKER
|
||||||
|
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_NM
|
||||||
|
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||||
|
//number of local generators
|
||||||
|
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=9
|
||||||
|
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||||
|
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||||
|
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||||
|
//Platform information initialized
|
||||||
|
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_RANLIB
|
||||||
|
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_READELF
|
||||||
|
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=/usr/share/cmake
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||||
|
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||||
|
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_STRIP
|
||||||
|
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_TAPI
|
||||||
|
CMAKE_TAPI-ADVANCED:INTERNAL=1
|
||||||
|
//uname command
|
||||||
|
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||||
|
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||||
|
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
//linker supports push/pop state
|
||||||
|
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
|
||||||
|
|
||||||
74
cmake-build-debug/CMakeFiles/3.27.7/CMakeCCompiler.cmake
Normal file
74
cmake-build-debug/CMakeFiles/3.27.7/CMakeCCompiler.cmake
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||||
|
set(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
set(CMAKE_C_COMPILER_ID "GNU")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION "13.2.1")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||||
|
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||||
|
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17")
|
||||||
|
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||||
|
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23")
|
||||||
|
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||||
|
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||||
|
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||||
|
set(CMAKE_C17_COMPILE_FEATURES "c_std_17")
|
||||||
|
set(CMAKE_C23_COMPILE_FEATURES "c_std_23")
|
||||||
|
|
||||||
|
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||||
|
set(CMAKE_C_SIMULATE_ID "")
|
||||||
|
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
||||||
|
set(CMAKE_C_SIMULATE_VERSION "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_AR "/usr/bin/ar")
|
||||||
|
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar")
|
||||||
|
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib")
|
||||||
|
set(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
set(CMAKE_MT "")
|
||||||
|
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||||
|
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||||
|
set(CMAKE_C_COMPILER_LOADED 1)
|
||||||
|
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||||
|
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||||
|
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||||
|
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||||
|
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED TRUE)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||||
|
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||||
|
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
|
||||||
|
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
||||||
|
|
||||||
|
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_C_COMPILER_ABI)
|
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||||
|
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed;/usr/include")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1;/usr/lib;/lib")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||||
85
cmake-build-debug/CMakeFiles/3.27.7/CMakeCXXCompiler.cmake
Normal file
85
cmake-build-debug/CMakeFiles/3.27.7/CMakeCXXCompiler.cmake
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
||||||
|
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||||
|
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
set(CMAKE_CXX_COMPILER_VERSION "13.2.1")
|
||||||
|
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||||
|
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||||
|
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
|
||||||
|
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||||
|
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
|
||||||
|
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||||
|
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||||
|
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||||
|
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||||
|
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
||||||
|
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
|
||||||
|
|
||||||
|
set(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||||
|
set(CMAKE_CXX_SIMULATE_ID "")
|
||||||
|
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
|
||||||
|
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_AR "/usr/bin/ar")
|
||||||
|
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar")
|
||||||
|
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib")
|
||||||
|
set(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
set(CMAKE_MT "")
|
||||||
|
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||||
|
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||||
|
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||||
|
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||||
|
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||||
|
|
||||||
|
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||||
|
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m)
|
||||||
|
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
|
||||||
|
foreach (lang C OBJC OBJCXX)
|
||||||
|
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
||||||
|
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
||||||
|
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||||
|
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||||
|
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED TRUE)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||||
|
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
||||||
|
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
||||||
|
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
||||||
|
|
||||||
|
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_CXX_COMPILER_ABI)
|
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||||
|
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/13.2.1;/usr/include/c++/13.2.1/x86_64-pc-linux-gnu;/usr/include/c++/13.2.1/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed;/usr/include")
|
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
|
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1;/usr/lib;/lib")
|
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||||
BIN
cmake-build-debug/CMakeFiles/3.27.7/CMakeDetermineCompilerABI_C.bin
Executable file
BIN
cmake-build-debug/CMakeFiles/3.27.7/CMakeDetermineCompilerABI_C.bin
Executable file
Binary file not shown.
BIN
cmake-build-debug/CMakeFiles/3.27.7/CMakeDetermineCompilerABI_CXX.bin
Executable file
BIN
cmake-build-debug/CMakeFiles/3.27.7/CMakeDetermineCompilerABI_CXX.bin
Executable file
Binary file not shown.
15
cmake-build-debug/CMakeFiles/3.27.7/CMakeSystem.cmake
Normal file
15
cmake-build-debug/CMakeFiles/3.27.7/CMakeSystem.cmake
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
set(CMAKE_HOST_SYSTEM "Linux-6.4.16-5-MANJARO")
|
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "6.4.16-5-MANJARO")
|
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Linux-10.0")
|
||||||
|
set(CMAKE_SYSTEM_NAME "Linux")
|
||||||
|
set(CMAKE_SYSTEM_VERSION "10.0")
|
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1)
|
||||||
@@ -0,0 +1,866 @@
|
|||||||
|
#ifdef __cplusplus
|
||||||
|
# error "A C++ compiler has been selected for C."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__18CXX)
|
||||||
|
# define ID_VOID_MAIN
|
||||||
|
#endif
|
||||||
|
#if defined(__CLASSIC_C__)
|
||||||
|
/* cv-qualifiers did not exist in K&R C */
|
||||||
|
# define const
|
||||||
|
# define volatile
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__has_include)
|
||||||
|
/* If the compiler does not have __has_include, pretend the answer is
|
||||||
|
always no. */
|
||||||
|
# define __has_include(x) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# endif
|
||||||
|
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||||
|
except that a few beta releases use the old format with V=2021. */
|
||||||
|
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_UPDATE)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
/* The third version component from --version is an update index,
|
||||||
|
but no macro is provided for it. */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(0)
|
||||||
|
# endif
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||||
|
# define COMPILER_ID "IntelLLVM"
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
#endif
|
||||||
|
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||||
|
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||||
|
* VVVV is no smaller than the current year when a version is released.
|
||||||
|
*/
|
||||||
|
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||||
|
#else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
#elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__PATHCC__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||||
|
# if defined(__PATHCC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "OpenWatcom"
|
||||||
|
/* __WATCOMC__ = VVRP + 1100 */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_C)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_C >= 0x5100
|
||||||
|
/* __SUNPRO_C = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_CC = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_cc)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_cc = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECC)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
/* __DECC_VER = VVRRTPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__open_xl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "IBMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ibmxl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "XLClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__NVCOMPILER)
|
||||||
|
# define COMPILER_ID "NVHPC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||||
|
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI"
|
||||||
|
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||||
|
|
||||||
|
#elif defined(__CLANG_FUJITSU)
|
||||||
|
# define COMPILER_ID "FujitsuClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FUJITSU)
|
||||||
|
# define COMPILER_ID "Fujitsu"
|
||||||
|
# if defined(__FCC_version__)
|
||||||
|
# define COMPILER_VERSION __FCC_version__
|
||||||
|
# elif defined(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# endif
|
||||||
|
# if defined(__fcc_version)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||||
|
# elif defined(__FCC_VERSION)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# define COMPILER_ID "GHS"
|
||||||
|
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||||
|
# ifdef __GHS_VERSION_NUMBER
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
# define COMPILER_ID "Tasking"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
||||||
|
|
||||||
|
#elif defined(__TINYC__)
|
||||||
|
# define COMPILER_ID "TinyCC"
|
||||||
|
|
||||||
|
#elif defined(__BCC__)
|
||||||
|
# define COMPILER_ID "Bruce"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||||
|
# define COMPILER_ID "ARMCC"
|
||||||
|
#if __ARMCC_VERSION >= 1000000
|
||||||
|
/* __ARMCC_VERSION = VRRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#else
|
||||||
|
/* __ARMCC_VERSION = VRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||||
|
# define COMPILER_ID "AppleClang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "ARMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||||
|
# define COMPILER_ID "LCC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
||||||
|
# if defined(__LCC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_ADI_COMPILER)
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
#if defined(__VERSIONNUM__)
|
||||||
|
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# define COMPILER_ID "IAR"
|
||||||
|
# if defined(__VER__) && defined(__ICCARM__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||||
|
# define COMPILER_ID "SDCC"
|
||||||
|
# if defined(__SDCC_VERSION_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||||
|
# else
|
||||||
|
/* SDCC = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
/* These compilers are either not known or too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __QNXNTO__
|
||||||
|
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define STRINGIFY_HELPER(X) #X
|
||||||
|
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__MSYS__)
|
||||||
|
# define PLATFORM_ID "MSYS"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU__)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(__LINUX__)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
# elif defined(__DOS__)
|
||||||
|
# define PLATFORM_ID "DOS"
|
||||||
|
|
||||||
|
# elif defined(__OS2__)
|
||||||
|
# define PLATFORM_ID "OS2"
|
||||||
|
|
||||||
|
# elif defined(__WINDOWS__)
|
||||||
|
# define PLATFORM_ID "Windows3x"
|
||||||
|
|
||||||
|
# elif defined(__VXWORKS__)
|
||||||
|
# define PLATFORM_ID "VxWorks"
|
||||||
|
|
||||||
|
# else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__INTEGRITY)
|
||||||
|
# if defined(INT_178B)
|
||||||
|
# define PLATFORM_ID "Integrity178"
|
||||||
|
|
||||||
|
# else /* regular Integrity */
|
||||||
|
# define PLATFORM_ID "Integrity"
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_ADI_COMPILER)
|
||||||
|
# define PLATFORM_ID "ADSP"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64EC)
|
||||||
|
# define ARCHITECTURE_ID "ARM64EC"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64)
|
||||||
|
# define ARCHITECTURE_ID "ARM64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# if _M_ARM == 4
|
||||||
|
# define ARCHITECTURE_ID "ARMV4I"
|
||||||
|
# elif _M_ARM == 5
|
||||||
|
# define ARCHITECTURE_ID "ARMV5I"
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_M_MIPS)
|
||||||
|
# define ARCHITECTURE_ID "MIPS"
|
||||||
|
|
||||||
|
# elif defined(_M_SH)
|
||||||
|
# define ARCHITECTURE_ID "SHx"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(_M_I86)
|
||||||
|
# define ARCHITECTURE_ID "I86"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# if defined(__ICCARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__ICCRX__)
|
||||||
|
# define ARCHITECTURE_ID "RX"
|
||||||
|
|
||||||
|
# elif defined(__ICCRH850__)
|
||||||
|
# define ARCHITECTURE_ID "RH850"
|
||||||
|
|
||||||
|
# elif defined(__ICCRL78__)
|
||||||
|
# define ARCHITECTURE_ID "RL78"
|
||||||
|
|
||||||
|
# elif defined(__ICCRISCV__)
|
||||||
|
# define ARCHITECTURE_ID "RISCV"
|
||||||
|
|
||||||
|
# elif defined(__ICCAVR__)
|
||||||
|
# define ARCHITECTURE_ID "AVR"
|
||||||
|
|
||||||
|
# elif defined(__ICC430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__ICCV850__)
|
||||||
|
# define ARCHITECTURE_ID "V850"
|
||||||
|
|
||||||
|
# elif defined(__ICC8051__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__ICCSTM8__)
|
||||||
|
# define ARCHITECTURE_ID "STM8"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# if defined(__PPC64__)
|
||||||
|
# define ARCHITECTURE_ID "PPC64"
|
||||||
|
|
||||||
|
# elif defined(__ppc__)
|
||||||
|
# define ARCHITECTURE_ID "PPC"
|
||||||
|
|
||||||
|
# elif defined(__ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__x86_64__)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(__i386__)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# if defined(__TI_ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__MSP430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C28XX__)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C28x"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C6x"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(__ADSPSHARC__)
|
||||||
|
# define ARCHITECTURE_ID "SHARC"
|
||||||
|
|
||||||
|
# elif defined(__ADSPBLACKFIN__)
|
||||||
|
# define ARCHITECTURE_ID "Blackfin"
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
|
||||||
|
# if defined(__CTC__) || defined(__CPTC__)
|
||||||
|
# define ARCHITECTURE_ID "TriCore"
|
||||||
|
|
||||||
|
# elif defined(__CMCS__)
|
||||||
|
# define ARCHITECTURE_ID "MCS"
|
||||||
|
|
||||||
|
# elif defined(__CARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__CARC__)
|
||||||
|
# define ARCHITECTURE_ID "ARC"
|
||||||
|
|
||||||
|
# elif defined(__C51__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__CPCP__)
|
||||||
|
# define ARCHITECTURE_ID "PCP"
|
||||||
|
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number. */
|
||||||
|
#ifdef COMPILER_VERSION
|
||||||
|
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#elif defined(COMPILER_VERSION_MAJOR)
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the internal version number. */
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
char const info_version_internal[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||||
|
'i','n','t','e','r','n','a','l','[',
|
||||||
|
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||||
|
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
|
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
char const info_simulate_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||||
|
SIMULATE_VERSION_MAJOR,
|
||||||
|
# ifdef SIMULATE_VERSION_MINOR
|
||||||
|
'.', SIMULATE_VERSION_MINOR,
|
||||||
|
# ifdef SIMULATE_VERSION_PATCH
|
||||||
|
'.', SIMULATE_VERSION_PATCH,
|
||||||
|
# ifdef SIMULATE_VERSION_TWEAK
|
||||||
|
'.', SIMULATE_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(__STDC__) && !defined(__clang__)
|
||||||
|
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
|
||||||
|
# define C_VERSION "90"
|
||||||
|
# else
|
||||||
|
# define C_VERSION
|
||||||
|
# endif
|
||||||
|
#elif __STDC_VERSION__ > 201710L
|
||||||
|
# define C_VERSION "23"
|
||||||
|
#elif __STDC_VERSION__ >= 201710L
|
||||||
|
# define C_VERSION "17"
|
||||||
|
#elif __STDC_VERSION__ >= 201000L
|
||||||
|
# define C_VERSION "11"
|
||||||
|
#elif __STDC_VERSION__ >= 199901L
|
||||||
|
# define C_VERSION "99"
|
||||||
|
#else
|
||||||
|
# define C_VERSION "90"
|
||||||
|
#endif
|
||||||
|
const char* info_language_standard_default =
|
||||||
|
"INFO" ":" "standard_default[" C_VERSION "]";
|
||||||
|
|
||||||
|
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||||
|
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||||
|
defined(__TI_COMPILER_VERSION__)) && \
|
||||||
|
!defined(__STRICT_ANSI__)
|
||||||
|
"ON"
|
||||||
|
#else
|
||||||
|
"OFF"
|
||||||
|
#endif
|
||||||
|
"]";
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifdef ID_VOID_MAIN
|
||||||
|
void main() {}
|
||||||
|
#else
|
||||||
|
# if defined(__CLASSIC_C__)
|
||||||
|
int main(argc, argv) int argc; char *argv[];
|
||||||
|
# else
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
# endif
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
require += info_arch[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
require += info_version_internal[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
require += info_simulate[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
require += info_simulate_version[argc];
|
||||||
|
#endif
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
require += info_cray[argc];
|
||||||
|
#endif
|
||||||
|
require += info_language_standard_default[argc];
|
||||||
|
require += info_language_extensions_default[argc];
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,855 @@
|
|||||||
|
/* This source file must have a .cpp extension so that all C++ compilers
|
||||||
|
recognize the extension without flags. Borland does not know .cxx for
|
||||||
|
example. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
# error "A C compiler has been selected for C++."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__has_include)
|
||||||
|
/* If the compiler does not have __has_include, pretend the answer is
|
||||||
|
always no. */
|
||||||
|
# define __has_include(x) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__COMO__)
|
||||||
|
# define COMPILER_ID "Comeau"
|
||||||
|
/* __COMO_VERSION__ = VRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
||||||
|
|
||||||
|
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# endif
|
||||||
|
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||||
|
except that a few beta releases use the old format with V=2021. */
|
||||||
|
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_UPDATE)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||||
|
/* The third version component from --version is an update index,
|
||||||
|
but no macro is provided for it. */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(0)
|
||||||
|
# endif
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||||
|
# define COMPILER_ID "IntelLLVM"
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
#endif
|
||||||
|
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||||
|
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||||
|
* VVVV is no smaller than the current year when a version is released.
|
||||||
|
*/
|
||||||
|
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||||
|
#else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
#elif defined(__GNUG__)
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
#endif
|
||||||
|
#if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__PATHCC__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||||
|
# if defined(__PATHCC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "OpenWatcom"
|
||||||
|
/* __WATCOMC__ = VVRP + 1100 */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||||
|
# if (__WATCOMC__ % 10) > 0
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_CC)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_CC >= 0x5100
|
||||||
|
/* __SUNPRO_CC = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_CC = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_aCC)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_aCC = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECCXX)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
/* __DECCXX_VER = VVRRTPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__open_xl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "IBMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ibmxl__) && defined(__clang__)
|
||||||
|
# define COMPILER_ID "XLClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
|
||||||
|
#elif defined(__NVCOMPILER)
|
||||||
|
# define COMPILER_ID "NVHPC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||||
|
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI"
|
||||||
|
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||||
|
|
||||||
|
#elif defined(__CLANG_FUJITSU)
|
||||||
|
# define COMPILER_ID "FujitsuClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FUJITSU)
|
||||||
|
# define COMPILER_ID "Fujitsu"
|
||||||
|
# if defined(__FCC_version__)
|
||||||
|
# define COMPILER_VERSION __FCC_version__
|
||||||
|
# elif defined(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||||
|
# endif
|
||||||
|
# if defined(__fcc_version)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||||
|
# elif defined(__FCC_VERSION)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# define COMPILER_ID "GHS"
|
||||||
|
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||||
|
# ifdef __GHS_VERSION_NUMBER
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
# define COMPILER_ID "Tasking"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||||
|
# define COMPILER_ID "ARMCC"
|
||||||
|
#if __ARMCC_VERSION >= 1000000
|
||||||
|
/* __ARMCC_VERSION = VRRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#else
|
||||||
|
/* __ARMCC_VERSION = VRPPPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||||
|
# define COMPILER_ID "AppleClang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "ARMClang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
# define SIMULATE_ID "MSVC"
|
||||||
|
# endif
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
# if defined(_MSC_VER)
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||||
|
# define COMPILER_ID "LCC"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
||||||
|
# if defined(__LCC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||||
|
# define SIMULATE_ID "GNU"
|
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# else
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_MINOR__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# endif
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_ADI_COMPILER)
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
#if defined(__VERSIONNUM__)
|
||||||
|
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# define COMPILER_ID "IAR"
|
||||||
|
# if defined(__VER__) && defined(__ICCARM__)
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
/* These compilers are either not known or too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __QNXNTO__
|
||||||
|
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define STRINGIFY_HELPER(X) #X
|
||||||
|
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__MSYS__)
|
||||||
|
# define PLATFORM_ID "MSYS"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU__)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(__LINUX__)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
# elif defined(__DOS__)
|
||||||
|
# define PLATFORM_ID "DOS"
|
||||||
|
|
||||||
|
# elif defined(__OS2__)
|
||||||
|
# define PLATFORM_ID "OS2"
|
||||||
|
|
||||||
|
# elif defined(__WINDOWS__)
|
||||||
|
# define PLATFORM_ID "Windows3x"
|
||||||
|
|
||||||
|
# elif defined(__VXWORKS__)
|
||||||
|
# define PLATFORM_ID "VxWorks"
|
||||||
|
|
||||||
|
# else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__INTEGRITY)
|
||||||
|
# if defined(INT_178B)
|
||||||
|
# define PLATFORM_ID "Integrity178"
|
||||||
|
|
||||||
|
# else /* regular Integrity */
|
||||||
|
# define PLATFORM_ID "Integrity"
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_ADI_COMPILER)
|
||||||
|
# define PLATFORM_ID "ADSP"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64EC)
|
||||||
|
# define ARCHITECTURE_ID "ARM64EC"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM64)
|
||||||
|
# define ARCHITECTURE_ID "ARM64"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# if _M_ARM == 4
|
||||||
|
# define ARCHITECTURE_ID "ARMV4I"
|
||||||
|
# elif _M_ARM == 5
|
||||||
|
# define ARCHITECTURE_ID "ARMV5I"
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(_M_MIPS)
|
||||||
|
# define ARCHITECTURE_ID "MIPS"
|
||||||
|
|
||||||
|
# elif defined(_M_SH)
|
||||||
|
# define ARCHITECTURE_ID "SHx"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# if defined(_M_I86)
|
||||||
|
# define ARCHITECTURE_ID "I86"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||||
|
# if defined(__ICCARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__ICCRX__)
|
||||||
|
# define ARCHITECTURE_ID "RX"
|
||||||
|
|
||||||
|
# elif defined(__ICCRH850__)
|
||||||
|
# define ARCHITECTURE_ID "RH850"
|
||||||
|
|
||||||
|
# elif defined(__ICCRL78__)
|
||||||
|
# define ARCHITECTURE_ID "RL78"
|
||||||
|
|
||||||
|
# elif defined(__ICCRISCV__)
|
||||||
|
# define ARCHITECTURE_ID "RISCV"
|
||||||
|
|
||||||
|
# elif defined(__ICCAVR__)
|
||||||
|
# define ARCHITECTURE_ID "AVR"
|
||||||
|
|
||||||
|
# elif defined(__ICC430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__ICCV850__)
|
||||||
|
# define ARCHITECTURE_ID "V850"
|
||||||
|
|
||||||
|
# elif defined(__ICC8051__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__ICCSTM8__)
|
||||||
|
# define ARCHITECTURE_ID "STM8"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ghs__)
|
||||||
|
# if defined(__PPC64__)
|
||||||
|
# define ARCHITECTURE_ID "PPC64"
|
||||||
|
|
||||||
|
# elif defined(__ppc__)
|
||||||
|
# define ARCHITECTURE_ID "PPC"
|
||||||
|
|
||||||
|
# elif defined(__ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__x86_64__)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(__i386__)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# if defined(__TI_ARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__MSP430__)
|
||||||
|
# define ARCHITECTURE_ID "MSP430"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C28XX__)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C28x"
|
||||||
|
|
||||||
|
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||||
|
# define ARCHITECTURE_ID "TMS320C6x"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# elif defined(__ADSPSHARC__)
|
||||||
|
# define ARCHITECTURE_ID "SHARC"
|
||||||
|
|
||||||
|
# elif defined(__ADSPBLACKFIN__)
|
||||||
|
# define ARCHITECTURE_ID "Blackfin"
|
||||||
|
|
||||||
|
#elif defined(__TASKING__)
|
||||||
|
|
||||||
|
# if defined(__CTC__) || defined(__CPTC__)
|
||||||
|
# define ARCHITECTURE_ID "TriCore"
|
||||||
|
|
||||||
|
# elif defined(__CMCS__)
|
||||||
|
# define ARCHITECTURE_ID "MCS"
|
||||||
|
|
||||||
|
# elif defined(__CARM__)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# elif defined(__CARC__)
|
||||||
|
# define ARCHITECTURE_ID "ARC"
|
||||||
|
|
||||||
|
# elif defined(__C51__)
|
||||||
|
# define ARCHITECTURE_ID "8051"
|
||||||
|
|
||||||
|
# elif defined(__CPCP__)
|
||||||
|
# define ARCHITECTURE_ID "PCP"
|
||||||
|
|
||||||
|
# else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number. */
|
||||||
|
#ifdef COMPILER_VERSION
|
||||||
|
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#elif defined(COMPILER_VERSION_MAJOR)
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the internal version number. */
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
char const info_version_internal[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||||
|
'i','n','t','e','r','n','a','l','[',
|
||||||
|
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||||
|
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
|
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
char const info_simulate_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||||
|
SIMULATE_VERSION_MAJOR,
|
||||||
|
# ifdef SIMULATE_VERSION_MINOR
|
||||||
|
'.', SIMULATE_VERSION_MINOR,
|
||||||
|
# ifdef SIMULATE_VERSION_PATCH
|
||||||
|
'.', SIMULATE_VERSION_PATCH,
|
||||||
|
# ifdef SIMULATE_VERSION_TWEAK
|
||||||
|
'.', SIMULATE_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
|
||||||
|
# if defined(__INTEL_CXX11_MODE__)
|
||||||
|
# if defined(__cpp_aggregate_nsdmi)
|
||||||
|
# define CXX_STD 201402L
|
||||||
|
# else
|
||||||
|
# define CXX_STD 201103L
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define CXX_STD 199711L
|
||||||
|
# endif
|
||||||
|
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
|
||||||
|
# define CXX_STD _MSVC_LANG
|
||||||
|
#else
|
||||||
|
# define CXX_STD __cplusplus
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char* info_language_standard_default = "INFO" ":" "standard_default["
|
||||||
|
#if CXX_STD > 202002L
|
||||||
|
"23"
|
||||||
|
#elif CXX_STD > 201703L
|
||||||
|
"20"
|
||||||
|
#elif CXX_STD >= 201703L
|
||||||
|
"17"
|
||||||
|
#elif CXX_STD >= 201402L
|
||||||
|
"14"
|
||||||
|
#elif CXX_STD >= 201103L
|
||||||
|
"11"
|
||||||
|
#else
|
||||||
|
"98"
|
||||||
|
#endif
|
||||||
|
"]";
|
||||||
|
|
||||||
|
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||||
|
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||||
|
defined(__TI_COMPILER_VERSION__)) && \
|
||||||
|
!defined(__STRICT_ANSI__)
|
||||||
|
"ON"
|
||||||
|
#else
|
||||||
|
"OFF"
|
||||||
|
#endif
|
||||||
|
"]";
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
require += info_arch[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef COMPILER_VERSION_INTERNAL
|
||||||
|
require += info_version_internal[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_ID
|
||||||
|
require += info_simulate[argc];
|
||||||
|
#endif
|
||||||
|
#ifdef SIMULATE_VERSION_MAJOR
|
||||||
|
require += info_simulate_version[argc];
|
||||||
|
#endif
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||||
|
require += info_cray[argc];
|
||||||
|
#endif
|
||||||
|
require += info_language_standard_default[argc];
|
||||||
|
require += info_language_extensions_default[argc];
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
465
cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml
Normal file
465
cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml
Normal file
@@ -0,0 +1,465 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
events:
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:211 (message)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
The system is: Linux - 10.0 - x86_64
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||||
|
Compiler: /usr/bin/cc
|
||||||
|
Build flags:
|
||||||
|
Id flags:
|
||||||
|
|
||||||
|
The output was:
|
||||||
|
0
|
||||||
|
|
||||||
|
|
||||||
|
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||||
|
|
||||||
|
The C compiler identification is GNU, found in:
|
||||||
|
/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/3.27.7/CompilerIdC/a.out
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||||
|
Compiler: /usr/bin/c++
|
||||||
|
Build flags:
|
||||||
|
Id flags:
|
||||||
|
|
||||||
|
The output was:
|
||||||
|
0
|
||||||
|
|
||||||
|
|
||||||
|
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
||||||
|
|
||||||
|
The CXX compiler identification is GNU, found in:
|
||||||
|
/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/3.27.7/CompilerIdCXX/a.out
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "try_compile-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
checks:
|
||||||
|
- "Detecting C compiler ABI info"
|
||||||
|
directories:
|
||||||
|
source: "/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-WdMF48"
|
||||||
|
binary: "/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-WdMF48"
|
||||||
|
cmakeVariables:
|
||||||
|
CMAKE_C_FLAGS: ""
|
||||||
|
CMAKE_C_FLAGS_DEBUG: "-g"
|
||||||
|
CMAKE_EXE_LINKER_FLAGS: ""
|
||||||
|
buildResult:
|
||||||
|
variable: "CMAKE_C_ABI_COMPILED"
|
||||||
|
cached: true
|
||||||
|
stdout: |
|
||||||
|
Change Dir: '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-WdMF48'
|
||||||
|
|
||||||
|
Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_55d67
|
||||||
|
[1/2] /usr/bin/cc -fdiagnostics-color=always -v -o CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/cc
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 13.2.1 20230801 (GCC)
|
||||||
|
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_55d67.dir/'
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_55d67.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccDAGoRH.s
|
||||||
|
GNU C17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)
|
||||||
|
compiled by GNU C version 13.2.1 20230801, GMP version 6.3.0, MPFR version 4.2.0-p12, MPC version 1.3.1, isl version isl-0.26-GMP
|
||||||
|
|
||||||
|
warning: MPFR header version 4.2.0-p12 differs from library version 4.2.1.
|
||||||
|
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||||
|
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
|
||||||
|
#include "..." search starts here:
|
||||||
|
#include <...> search starts here:
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include
|
||||||
|
/usr/local/include
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed
|
||||||
|
/usr/include
|
||||||
|
End of search list.
|
||||||
|
Compiler executable checksum: 865c2688a4f1e3f13d6bf2cc8fd98762
|
||||||
|
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_55d67.dir/'
|
||||||
|
as -v --64 -o CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o /tmp/ccDAGoRH.s
|
||||||
|
GNU assembler version 2.41.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.41.0
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.'
|
||||||
|
[2/2] : && /usr/bin/cc -v CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o -o cmTC_55d67 && :
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/cc
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 13.2.1 20230801 (GCC)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_55d67' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_55d67.'
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQkttYM.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_55d67 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_55d67' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_55d67.'
|
||||||
|
|
||||||
|
exitCode: 0
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Parsed C implicit include dir info: rv=done
|
||||||
|
found start of include info
|
||||||
|
found start of implicit include info
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
add: [/usr/local/include]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
add: [/usr/include]
|
||||||
|
end of search list found
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
collapse include dir [/usr/include] ==> [/usr/include]
|
||||||
|
implicit include dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed;/usr/include]
|
||||||
|
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Parsed C implicit link information:
|
||||||
|
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||||
|
ignore line: [Change Dir: '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-WdMF48']
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_55d67]
|
||||||
|
ignore line: [[1/2] /usr/bin/cc -fdiagnostics-color=always -v -o CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||||
|
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=ada c c++ d fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
|
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_55d67.dir/']
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_55d67.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccDAGoRH.s]
|
||||||
|
ignore line: [GNU C17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)]
|
||||||
|
ignore line: [ compiled by GNU C version 13.2.1 20230801 GMP version 6.3.0 MPFR version 4.2.0-p12 MPC version 1.3.1 isl version isl-0.26-GMP]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [warning: MPFR header version 4.2.0-p12 differs from library version 4.2.1.]
|
||||||
|
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||||
|
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"]
|
||||||
|
ignore line: [#include "..." search starts here:]
|
||||||
|
ignore line: [#include <...> search starts here:]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
ignore line: [ /usr/local/include]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
ignore line: [ /usr/include]
|
||||||
|
ignore line: [End of search list.]
|
||||||
|
ignore line: [Compiler executable checksum: 865c2688a4f1e3f13d6bf2cc8fd98762]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_55d67.dir/']
|
||||||
|
ignore line: [ as -v --64 -o CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o /tmp/ccDAGoRH.s]
|
||||||
|
ignore line: [GNU assembler version 2.41.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.41.0]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.']
|
||||||
|
ignore line: [[2/2] : && /usr/bin/cc -v CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o -o cmTC_55d67 && :]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=ada c c++ d fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
|
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_55d67' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_55d67.']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQkttYM.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_55d67 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2] ==> ignore
|
||||||
|
arg [-plugin] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so] ==> ignore
|
||||||
|
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper] ==> ignore
|
||||||
|
arg [-plugin-opt=-fresolution=/tmp/ccQkttYM.res] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-pie] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTC_55d67] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..]
|
||||||
|
arg [CMakeFiles/cmTC_55d67.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--push-state] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--pop-state] ==> ignore
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--push-state] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--pop-state] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> [/usr/lib/crti.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> [/usr/lib/crtn.o]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse library dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
|
||||||
|
implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o;/usr/lib/crtn.o]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1;/usr/lib;/lib]
|
||||||
|
implicit fwks: []
|
||||||
|
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "try_compile-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
checks:
|
||||||
|
- "Detecting CXX compiler ABI info"
|
||||||
|
directories:
|
||||||
|
source: "/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-evllxv"
|
||||||
|
binary: "/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-evllxv"
|
||||||
|
cmakeVariables:
|
||||||
|
CMAKE_CXX_FLAGS: ""
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG: "-g"
|
||||||
|
CMAKE_EXE_LINKER_FLAGS: ""
|
||||||
|
buildResult:
|
||||||
|
variable: "CMAKE_CXX_ABI_COMPILED"
|
||||||
|
cached: true
|
||||||
|
stdout: |
|
||||||
|
Change Dir: '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-evllxv'
|
||||||
|
|
||||||
|
Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_57a00
|
||||||
|
[1/2] /usr/bin/c++ -fdiagnostics-color=always -v -o CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/c++
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 13.2.1 20230801 (GCC)
|
||||||
|
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_57a00.dir/'
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_57a00.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccI6rBLo.s
|
||||||
|
GNU C++17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)
|
||||||
|
compiled by GNU C version 13.2.1 20230801, GMP version 6.3.0, MPFR version 4.2.0-p12, MPC version 1.3.1, isl version isl-0.26-GMP
|
||||||
|
|
||||||
|
warning: MPFR header version 4.2.0-p12 differs from library version 4.2.1.
|
||||||
|
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||||
|
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
|
||||||
|
#include "..." search starts here:
|
||||||
|
#include <...> search starts here:
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include
|
||||||
|
/usr/local/include
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed
|
||||||
|
/usr/include
|
||||||
|
End of search list.
|
||||||
|
Compiler executable checksum: 5a490a353c29b926850bca65a518c219
|
||||||
|
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_57a00.dir/'
|
||||||
|
as -v --64 -o CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccI6rBLo.s
|
||||||
|
GNU assembler version 2.41.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.41.0
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.'
|
||||||
|
[2/2] : && /usr/bin/c++ -v CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_57a00 && :
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/c++
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 13.2.1 20230801 (GCC)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_57a00' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_57a00.'
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc58OkRN.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_57a00 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_57a00' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_57a00.'
|
||||||
|
|
||||||
|
exitCode: 0
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Parsed CXX implicit include dir info: rv=done
|
||||||
|
found start of include info
|
||||||
|
found start of implicit include info
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
add: [/usr/local/include]
|
||||||
|
add: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
add: [/usr/include]
|
||||||
|
end of search list found
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1] ==> [/usr/include/c++/13.2.1]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu] ==> [/usr/include/c++/13.2.1/x86_64-pc-linux-gnu]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward] ==> [/usr/include/c++/13.2.1/backward]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||||
|
collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
collapse include dir [/usr/include] ==> [/usr/include]
|
||||||
|
implicit include dirs: [/usr/include/c++/13.2.1;/usr/include/c++/13.2.1/x86_64-pc-linux-gnu;/usr/include/c++/13.2.1/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed;/usr/include]
|
||||||
|
|
||||||
|
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
|
||||||
|
- "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||||
|
- "CMakeLists.txt:5 (project)"
|
||||||
|
message: |
|
||||||
|
Parsed CXX implicit link information:
|
||||||
|
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||||
|
ignore line: [Change Dir: '/home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-evllxv']
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command(s): /opt/clion/bin/ninja/linux/x64/ninja -v cmTC_57a00]
|
||||||
|
ignore line: [[1/2] /usr/bin/c++ -fdiagnostics-color=always -v -o CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||||
|
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=ada c c++ d fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
|
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_57a00.dir/']
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_57a00.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -o /tmp/ccI6rBLo.s]
|
||||||
|
ignore line: [GNU C++17 (GCC) version 13.2.1 20230801 (x86_64-pc-linux-gnu)]
|
||||||
|
ignore line: [ compiled by GNU C version 13.2.1 20230801 GMP version 6.3.0 MPFR version 4.2.0-p12 MPC version 1.3.1 isl version isl-0.26-GMP]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [warning: MPFR header version 4.2.0-p12 differs from library version 4.2.1.]
|
||||||
|
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||||
|
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"]
|
||||||
|
ignore line: [#include "..." search starts here:]
|
||||||
|
ignore line: [#include <...> search starts here:]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include]
|
||||||
|
ignore line: [ /usr/local/include]
|
||||||
|
ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include-fixed]
|
||||||
|
ignore line: [ /usr/include]
|
||||||
|
ignore line: [End of search list.]
|
||||||
|
ignore line: [Compiler executable checksum: 5a490a353c29b926850bca65a518c219]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_57a00.dir/']
|
||||||
|
ignore line: [ as -v --64 -o CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccI6rBLo.s]
|
||||||
|
ignore line: [GNU assembler version 2.41.0 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.41.0]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.']
|
||||||
|
ignore line: [[2/2] : && /usr/bin/c++ -v CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_57a00 && :]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||||
|
ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=ada c c++ d fortran go lto objc obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||||
|
ignore line: [gcc version 13.2.1 20230801 (GCC) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_57a00' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_57a00.']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc58OkRN.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_57a00 /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/collect2] ==> ignore
|
||||||
|
arg [-plugin] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so] ==> ignore
|
||||||
|
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper] ==> ignore
|
||||||
|
arg [-plugin-opt=-fresolution=/tmp/cc58OkRN.res] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||||
|
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-pie] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTC_57a00] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..]
|
||||||
|
arg [CMakeFiles/cmTC_57a00.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||||
|
arg [-lstdc++] ==> lib [stdc++]
|
||||||
|
arg [-lm] ==> lib [m]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o] ==> [/usr/lib/crti.o]
|
||||||
|
collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o] ==> [/usr/lib/crtn.o]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse library dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
|
||||||
|
implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o;/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o;/usr/lib/crtn.o]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1;/usr/lib;/lib]
|
||||||
|
implicit fwks: []
|
||||||
|
|
||||||
|
|
||||||
|
...
|
||||||
45
cmake-build-debug/CMakeFiles/clion-Debug-log.txt
Normal file
45
cmake-build-debug/CMakeFiles/clion-Debug-log.txt
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/bin/cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/opt/clion/bin/ninja/linux/x64/ninja -G Ninja -S /home/kookroach/Documents/Uni/WS23-24/physX/game-physics -B /home/kookroach/Documents/Uni/WS23-24/physX/game-physics/cmake-build-debug
|
||||||
|
-- The C compiler identification is GNU 13.2.1
|
||||||
|
-- The CXX compiler identification is GNU 13.2.1
|
||||||
|
-- Detecting C compiler ABI info
|
||||||
|
-- Detecting C compiler ABI info - done
|
||||||
|
-- Check for working C compiler: /usr/bin/cc - skipped
|
||||||
|
-- Detecting C compile features
|
||||||
|
-- Detecting C compile features - done
|
||||||
|
-- Detecting CXX compiler ABI info
|
||||||
|
-- Detecting CXX compiler ABI info - done
|
||||||
|
-- Check for working CXX compiler: /usr/bin/c++ - skipped
|
||||||
|
-- Detecting CXX compile features
|
||||||
|
-- Detecting CXX compile features - done
|
||||||
|
x64 architecture in use
|
||||||
|
CMake Warning (dev) at DXUT11/Core/CMakeLists.txt:141:
|
||||||
|
Syntax Warning in cmake code at column 40
|
||||||
|
|
||||||
|
Argument not separated from preceding token by whitespace.
|
||||||
|
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||||
|
|
||||||
|
CMake Error at DXUT11/Core/CMakeLists.txt:71 (set_target_properties):
|
||||||
|
set_target_properties called with incorrect number of arguments.
|
||||||
|
|
||||||
|
|
||||||
|
CMake Warning (dev) at DXUT11/Optional/CMakeLists.txt:145:
|
||||||
|
Syntax Warning in cmake code at column 40
|
||||||
|
|
||||||
|
Argument not separated from preceding token by whitespace.
|
||||||
|
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||||
|
|
||||||
|
CMake Error at DXUT11/Optional/CMakeLists.txt:74 (set_target_properties):
|
||||||
|
set_target_properties called with incorrect number of arguments.
|
||||||
|
|
||||||
|
|
||||||
|
CMake Warning (dev) at Effects11/CMakeLists.txt:146:
|
||||||
|
Syntax Warning in cmake code at column 40
|
||||||
|
|
||||||
|
Argument not separated from preceding token by whitespace.
|
||||||
|
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||||
|
|
||||||
|
CMake Error at Effects11/CMakeLists.txt:74 (set_target_properties):
|
||||||
|
set_target_properties called with incorrect number of arguments.
|
||||||
|
|
||||||
|
|
||||||
|
-- Configuring incomplete, errors occurred!
|
||||||
3
cmake-build-debug/CMakeFiles/clion-environment.txt
Normal file
3
cmake-build-debug/CMakeFiles/clion-environment.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
ToolSet: 1.0 (local)Options:
|
||||||
|
|
||||||
|
Options:-DCMAKE_MAKE_PROGRAM=/opt/clion/bin/ninja/linux/x64/ninja
|
||||||
1
cmake-build-debug/CMakeFiles/cmake.check_cache
Normal file
1
cmake-build-debug/CMakeFiles/cmake.check_cache
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||||
@@ -1,12 +1,18 @@
|
|||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
--- Visual Studio 2013/15/17 Template Project for C++/DirectX11 Application ---
|
--- Visual Studio 2013/15/17/22 Template Project for C++/DirectX11 Application
|
||||||
--- Marc Treib, Florian Ferstl, Sept 2013 -------------------------------------
|
--- Marc Treib, Florian Ferstl, Sept 2013 -------------------------------------
|
||||||
--- Updated: Florian Ferstl, Sept 2014 ----------------------------------------
|
--- Updated: Florian Ferstl, Sept 2014 ----------------------------------------
|
||||||
--- Updated: Mina Saad Aziz, May 2016 -----------------------------------------
|
--- Updated: Mina Saad Aziz, May 2016 -----------------------------------------
|
||||||
--- Updated: Mengyu Chu, Nov 2017 ------------------------------------------
|
--- Updated: Mengyu Chu, Nov 2017 ------------------------------------------
|
||||||
--- Updated: You Xie, Nov 2019 ---------------------------------------------
|
--- Updated: You Xie, Nov 2019 ---------------------------------------------
|
||||||
|
--- Updated: Rene Winchenbach, Felix Koehler, Oct 2023 ---------------------
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
!Important:
|
||||||
|
|
||||||
|
We recommend using the `Template_2022.sln` solution file together with Visual
|
||||||
|
Studio 2022 Community Edition.
|
||||||
|
|
||||||
This solution contains the following components:
|
This solution contains the following components:
|
||||||
|
|
||||||
- AntTweakBar 1.16
|
- AntTweakBar 1.16
|
||||||
|
|||||||
Reference in New Issue
Block a user