Skip to content

Commit

Permalink
Rewrite main loop and ignore source files that do no exist on the use…
Browse files Browse the repository at this point in the history
…r machine

Fixes crosire#4
  • Loading branch information
crosire committed Dec 13, 2018
1 parent 2ced27a commit 78cf9a5
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 237 deletions.
10 changes: 4 additions & 6 deletions blink.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<Optimization>Disabled</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<SupportJustMyCode>false</SupportJustMyCode>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>NOMINMAX;WIN32_LEAN_AND_MEAN;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<BufferSecurityCheck>false</BufferSecurityCheck>
Expand All @@ -66,7 +66,7 @@
<Optimization>Disabled</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<SupportJustMyCode>false</SupportJustMyCode>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>NOMINMAX;WIN32_LEAN_AND_MEAN;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<BufferSecurityCheck>false</BufferSecurityCheck>
Expand All @@ -83,7 +83,7 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>NOMINMAX;WIN32_LEAN_AND_MEAN;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<BufferSecurityCheck>false</BufferSecurityCheck>
Expand All @@ -102,7 +102,7 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>NOMINMAX;WIN32_LEAN_AND_MEAN;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<BufferSecurityCheck>false</BufferSecurityCheck>
Expand All @@ -116,15 +116,13 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="source\file_watcher.cpp" />
<ClCompile Include="source\blink.cpp" />
<ClCompile Include="source\blink_linker.cpp" />
<ClCompile Include="source\msf_reader.cpp" />
<ClCompile Include="source\pdb_reader.cpp" />
<ClCompile Include="source\main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="source\file_watcher.hpp" />
<ClInclude Include="source\blink.hpp" />
<ClInclude Include="source\msf_reader.hpp" />
<ClInclude Include="source\pdb_reader.hpp" />
Expand Down
9 changes: 0 additions & 9 deletions blink.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<ClCompile Include="source\pdb_reader.cpp">
<Filter>pdb</Filter>
</ClCompile>
<ClCompile Include="source\file_watcher.cpp">
<Filter>utilities</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="source\blink.hpp" />
Expand All @@ -22,14 +19,8 @@
<ClInclude Include="source\msf_reader.hpp">
<Filter>pdb</Filter>
</ClInclude>
<ClInclude Include="source\file_watcher.hpp">
<Filter>utilities</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="utilities">
<UniqueIdentifier>{b3f5ff38-e476-4591-bee7-79acc415eba3}</UniqueIdentifier>
</Filter>
<Filter Include="pdb">
<UniqueIdentifier>{1c5f0961-0093-4ae9-8a73-6f3aff7c1c3d}</UniqueIdentifier>
</Filter>
Expand Down
Loading

0 comments on commit 78cf9a5

Please sign in to comment.