Skip to content

Commit

Permalink
Remove external/eigen folder and update VC++ projects to include Eige…
Browse files Browse the repository at this point in the history
…n from the w32deps folder
  • Loading branch information
codereader committed Apr 12, 2021
1 parent 02fa264 commit 65d5693
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 0 additions & 1 deletion external/eigen
Submodule eigen deleted from 0fd6b4
12 changes: 8 additions & 4 deletions tools/msvc/mathlib.vcxproj
Expand Up @@ -87,7 +87,8 @@
<PreBuildEvent>
<Message>
</Message>
<Command>if not exist "$(DarkRadiantRoot)\external\eigen\Eigen" (echo The external/eigen/Eigen folder is missing, please ensure you've run 'git submodule update' &amp;&amp; git submodule update -i)</Command>
<Command>
</Command>
</PreBuildEvent>
<ClCompile>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
Expand All @@ -101,7 +102,8 @@
<PreBuildEvent>
<Message>
</Message>
<Command>if not exist "$(DarkRadiantRoot)\external\eigen\Eigen" (echo The external/eigen/Eigen folder is missing, please ensure you've run 'git submodule update' &amp;&amp; git submodule update -i)</Command>
<Command>
</Command>
</PreBuildEvent>
<ClCompile>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
Expand All @@ -112,7 +114,8 @@
<PreBuildEvent>
<Message>
</Message>
<Command>if not exist "$(DarkRadiantRoot)\external\eigen\Eigen" (echo The external/eigen/Eigen folder is missing, please ensure you've run 'git submodule update' &amp;&amp; git submodule update -i)</Command>
<Command>
</Command>
</PreBuildEvent>
<ClCompile>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
Expand All @@ -126,7 +129,8 @@
<PreBuildEvent>
<Message>
</Message>
<Command>if not exist "$(DarkRadiantRoot)\external\eigen\Eigen" (echo The external/eigen/Eigen folder is missing, please ensure you've run 'git submodule update' &amp;&amp; git submodule update -i)</Command>
<Command>
</Command>
</PreBuildEvent>
<ClCompile>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
Expand Down
2 changes: 1 addition & 1 deletion tools/msvc/properties/DarkRadiant Base.props
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(DarkRadiantRoot)\include;$(DarkRadiantRoot)\libs;$(W32DepsDir)libsigc++\include;$(DarkRadiantRoot)\libs\libfmt;$(DarkRadiantRoot)\external\eigen;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(DarkRadiantRoot)\include;$(DarkRadiantRoot)\libs;$(W32DepsDir)libsigc++\include;$(DarkRadiantRoot)\libs\libfmt;$(W32DepsDir)libeigen;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING;FMT_HEADER_ONLY;FMT_USE_WINDOWS_H=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderFile>precompiled.h</PrecompiledHeaderFile>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
Expand Down

0 comments on commit 65d5693

Please sign in to comment.