Skip to content

Commit 10e8b7d

Browse files
committed
test
1 parent c93781b commit 10e8b7d

8 files changed

Lines changed: 75 additions & 63 deletions

File tree

src/DOpusScriptingExtensions/pch.h

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,3 @@
11
#pragma once
22

3-
#define STRICT
4-
#define WIN32_LEAN_AND_MEAN
5-
#define NOMINMAX
6-
#define _ATL_APARTMENT_THREADED
7-
#define _ATL_NO_AUTOMATIC_NAMESPACE
8-
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
9-
#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW
10-
11-
#include <Windows.h>
12-
#include <winternl.h>
13-
#include <wtypes.h>
14-
#include <Psapi.h>
15-
16-
#include <atlbase.h>
17-
#include <atlcom.h>
18-
#include <atlctl.h>
19-
#include <atlsafe.h>
20-
#include <atlstr.h>
21-
22-
#include <comdef.h>
23-
24-
#include <string>
25-
#include <thread>
26-
#include <sstream>
27-
#include <format>
28-
#include <utility>
29-
#include <filesystem>
30-
#include <regex>
31-
#include <map>
32-
#include <ranges>
33-
#include <generator>
34-
35-
#include <absl/synchronization/notification.h>
36-
37-
#include <grpcpp/grpcpp.h>
38-
#include <google/protobuf/empty.pb.h>
39-
40-
#include <boost/preprocessor.hpp>
41-
#include <boost/algorithm/string.hpp>
42-
#include <boost/asio.hpp>
43-
#include <boost/dll.hpp>
44-
#include <boost/filesystem.hpp>
45-
#include <boost/lexical_cast.hpp>
46-
#include <boost/locale.hpp>
47-
#include <boost/noncopyable.hpp>
48-
#include <boost/process/v2/environment.hpp>
49-
#include <boost/process/v2/process.hpp>
50-
#include <boost/process/v2/start_dir.hpp>
51-
#include <boost/process/v2/stdio.hpp>
52-
#include <boost/process/v2/windows/show_window.hpp>
53-
54-
#include <spdlog/spdlog.h>
55-
#include <spdlog/sinks/rotating_file_sink.h>
56-
#include <spdlog/stopwatch.h>
57-
58-
#include <magic.h>
59-
#include <MediaInfo/MediaInfo.h>
60-
#include <uchardet/uchardet.h>
3+
#include "Shared/pch.h"

src/ProcessHandlesService/pch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22

3-
#include "DOpusScriptingExtensions/pch.h"
3+
#include "Shared/pch.h"

src/Shared/Shared.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
</ProjectConfiguration>
1212
</ItemGroup>
1313
<ItemGroup>
14+
<ClInclude Include="pch.h" />
1415
<ClInclude Include="Utils\Exceptions.h" />
1516
<ClInclude Include="Utils\LineInfo.h" />
1617
<ClInclude Include="Utils\StringUtils.h" />
@@ -98,4 +99,4 @@
9899
<Target Name="DownloadDependenciesIfMissing" BeforeTargets="PreBuildEvent">
99100
<Exec Condition="!Exists('$(OutputPath)MediaInfoLanguages')" Command="powershell -ExecutionPolicy Bypass -File &quot;$(MSBuildThisFileDirectory)DownloadDependencies.ps1&quot; -BuildDir &quot;$(BuildFolder)/&quot; -OutputDir &quot;$(OutputPath)/&quot;" />
100101
</Target>
101-
</Project>
102+
</Project>

src/Shared/Shared.vcxproj.filters

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<ClInclude Include="$(BuildFolder)grpc_generated/grpc_generated/ProcessHandlesService.pb.h">
2828
<Filter>grpc_generated</Filter>
2929
</ClInclude>
30+
<ClInclude Include="pch.h" />
3031
</ItemGroup>
3132
<ItemGroup>
3233
<None Include="DownloadDependencies.ps1" />

src/Shared/pch.h

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
#pragma once
2+
3+
#define STRICT
4+
#define WIN32_LEAN_AND_MEAN
5+
#define NOMINMAX
6+
#define _ATL_APARTMENT_THREADED
7+
#define _ATL_NO_AUTOMATIC_NAMESPACE
8+
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
9+
#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW
10+
11+
#include <Windows.h>
12+
#include <winternl.h>
13+
#include <wtypes.h>
14+
#include <Psapi.h>
15+
16+
#include <atlbase.h>
17+
#include <atlcom.h>
18+
#include <atlctl.h>
19+
#include <atlsafe.h>
20+
#include <atlstr.h>
21+
22+
#include <comdef.h>
23+
24+
#include <string>
25+
#include <thread>
26+
#include <sstream>
27+
#include <format>
28+
#include <utility>
29+
#include <filesystem>
30+
#include <regex>
31+
#include <map>
32+
#include <ranges>
33+
#include <generator>
34+
35+
#include <absl/synchronization/notification.h>
36+
37+
#include <grpcpp/grpcpp.h>
38+
#include <google/protobuf/empty.pb.h>
39+
40+
#include <boost/preprocessor.hpp>
41+
#include <boost/algorithm/string.hpp>
42+
#include <boost/asio.hpp>
43+
#include <boost/dll.hpp>
44+
#include <boost/filesystem.hpp>
45+
#include <boost/lexical_cast.hpp>
46+
#include <boost/locale.hpp>
47+
#include <boost/noncopyable.hpp>
48+
#include <boost/process/v2/environment.hpp>
49+
#include <boost/process/v2/process.hpp>
50+
#include <boost/process/v2/start_dir.hpp>
51+
#include <boost/process/v2/stdio.hpp>
52+
#include <boost/process/v2/windows/show_window.hpp>
53+
54+
#include <spdlog/spdlog.h>
55+
#include <spdlog/sinks/rotating_file_sink.h>
56+
#include <spdlog/stopwatch.h>
57+
58+
#include <magic.h>
59+
#include <MediaInfo/MediaInfo.h>
60+
#include <uchardet/uchardet.h>

src/UnitTest/UnitTest.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
</ProjectConfiguration>
1212
</ItemGroup>
1313
<ItemGroup>
14-
<ClCompile Include="LockedFilesProviderTest.cpp" />
1514
<ClCompile Include="main.cpp" />
1615
<ClCompile Include="pch.cpp">
1716
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
1817
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
1918
</ClCompile>
19+
<ClCompile Include="ProcessHandlesService\LockedFilesProviderTest.cpp" />
2020
</ItemGroup>
2121
<ItemGroup>
2222
<ClInclude Include="pch.h" />
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<ClCompile Include="LockedFilesProviderTest.cpp" />
54
<ClCompile Include="main.cpp" />
65
<ClCompile Include="pch.cpp" />
6+
<ClCompile Include="ProcessHandlesService\LockedFilesProviderTest.cpp">
7+
<Filter>ProcessHandlesService</Filter>
8+
</ClCompile>
79
</ItemGroup>
810
<ItemGroup>
911
<ClInclude Include="pch.h" />
1012
</ItemGroup>
13+
<ItemGroup>
14+
<Filter Include="ProcessHandlesService">
15+
<UniqueIdentifier>{de38aa2a-347f-44af-9a0a-4f3250f0b670}</UniqueIdentifier>
16+
</Filter>
17+
</ItemGroup>
1118
</Project>

src/UnitTest/pch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22

3-
#include "DOpusScriptingExtensions/pch.h"
3+
#include "Shared/pch.h"

0 commit comments

Comments
 (0)