Modify Windows project files to statically link with MFC libraries. This removes the runtime dependency on the correct MFC DLL.
scott_forman
9 years ago
18 | 18 |
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
19 | 19 |
IntermediateDirectory="$(ConfigurationName)"
|
20 | 20 |
ConfigurationType="2"
|
|
21 |
UseOfMFC="1"
|
21 | 22 |
CharacterSet="2"
|
22 | 23 |
>
|
23 | 24 |
<Tool
|
|
43 | 44 |
PreprocessorDefinitions="WINDOWS;_CRT_SECURE_NO_WARNINGS;TLSH_EXPORTS"
|
44 | 45 |
MinimalRebuild="true"
|
45 | 46 |
BasicRuntimeChecks="3"
|
46 | |
RuntimeLibrary="3"
|
|
47 |
RuntimeLibrary="1"
|
47 | 48 |
WarningLevel="3"
|
48 | 49 |
Detect64BitPortabilityProblems="true"
|
49 | 50 |
DebugInformationFormat="4"
|
|
59 | 60 |
/>
|
60 | 61 |
<Tool
|
61 | 62 |
Name="VCLinkerTool"
|
|
63 |
GenerateManifest="false"
|
62 | 64 |
GenerateDebugInformation="true"
|
63 | 65 |
TargetMachine="1"
|
64 | 66 |
/>
|
|
94 | 96 |
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
95 | 97 |
IntermediateDirectory="$(ConfigurationName)"
|
96 | 98 |
ConfigurationType="2"
|
|
99 |
UseOfMFC="1"
|
97 | 100 |
CharacterSet="2"
|
98 | 101 |
WholeProgramOptimization="1"
|
99 | 102 |
>
|
|
117 | 120 |
Name="VCCLCompilerTool"
|
118 | 121 |
AdditionalIncludeDirectories="../../include;.."
|
119 | 122 |
PreprocessorDefinitions="WINDOWS;_CRT_SECURE_NO_WARNINGS;TLSH_EXPORTS"
|
120 | |
RuntimeLibrary="2"
|
|
123 |
RuntimeLibrary="0"
|
121 | 124 |
WarningLevel="3"
|
122 | 125 |
Detect64BitPortabilityProblems="true"
|
123 | 126 |
DebugInformationFormat="3"
|
|
133 | 136 |
/>
|
134 | 137 |
<Tool
|
135 | 138 |
Name="VCLinkerTool"
|
|
139 |
GenerateManifest="false"
|
136 | 140 |
GenerateDebugInformation="true"
|
137 | 141 |
OptimizeReferences="2"
|
138 | 142 |
EnableCOMDATFolding="2"
|
18 | 18 |
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
19 | 19 |
IntermediateDirectory="$(ConfigurationName)"
|
20 | 20 |
ConfigurationType="1"
|
|
21 |
UseOfMFC="1"
|
21 | 22 |
CharacterSet="2"
|
22 | 23 |
>
|
23 | 24 |
<Tool
|
|
43 | 44 |
PreprocessorDefinitions="WINDOWS;_CRT_SECURE_NO_WARNINGS"
|
44 | 45 |
MinimalRebuild="true"
|
45 | 46 |
BasicRuntimeChecks="3"
|
46 | |
RuntimeLibrary="3"
|
|
47 |
RuntimeLibrary="1"
|
47 | 48 |
WarningLevel="3"
|
48 | 49 |
Detect64BitPortabilityProblems="true"
|
49 | 50 |
DebugInformationFormat="4"
|
|
60 | 61 |
/>
|
61 | 62 |
<Tool
|
62 | 63 |
Name="VCLinkerTool"
|
|
64 |
GenerateManifest="false"
|
63 | 65 |
GenerateDebugInformation="true"
|
64 | 66 |
TargetMachine="1"
|
65 | 67 |
/>
|
|
95 | 97 |
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
96 | 98 |
IntermediateDirectory="$(ConfigurationName)"
|
97 | 99 |
ConfigurationType="1"
|
|
100 |
UseOfMFC="1"
|
98 | 101 |
CharacterSet="2"
|
99 | 102 |
WholeProgramOptimization="1"
|
100 | 103 |
>
|
|
118 | 121 |
Name="VCCLCompilerTool"
|
119 | 122 |
AdditionalIncludeDirectories="..;../../include"
|
120 | 123 |
PreprocessorDefinitions="WINDOWS;_CRT_SECURE_NO_WARNINGS"
|
121 | |
RuntimeLibrary="2"
|
|
124 |
RuntimeLibrary="0"
|
122 | 125 |
WarningLevel="3"
|
123 | 126 |
Detect64BitPortabilityProblems="true"
|
124 | 127 |
DebugInformationFormat="3"
|
|
135 | 138 |
/>
|
136 | 139 |
<Tool
|
137 | 140 |
Name="VCLinkerTool"
|
|
141 |
GenerateManifest="false"
|
138 | 142 |
GenerateDebugInformation="true"
|
139 | 143 |
OptimizeReferences="2"
|
140 | 144 |
EnableCOMDATFolding="2"
|
18 | 18 |
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
19 | 19 |
IntermediateDirectory="$(ConfigurationName)"
|
20 | 20 |
ConfigurationType="1"
|
|
21 |
UseOfMFC="1"
|
21 | 22 |
CharacterSet="2"
|
22 | 23 |
>
|
23 | 24 |
<Tool
|
|
42 | 43 |
PreprocessorDefinitions="WINDOWS"
|
43 | 44 |
MinimalRebuild="true"
|
44 | 45 |
BasicRuntimeChecks="3"
|
45 | |
RuntimeLibrary="3"
|
|
46 |
RuntimeLibrary="1"
|
46 | 47 |
WarningLevel="3"
|
47 | 48 |
Detect64BitPortabilityProblems="true"
|
48 | 49 |
DebugInformationFormat="4"
|
|
58 | 59 |
/>
|
59 | 60 |
<Tool
|
60 | 61 |
Name="VCLinkerTool"
|
|
62 |
GenerateManifest="false"
|
61 | 63 |
GenerateDebugInformation="true"
|
62 | 64 |
TargetMachine="1"
|
63 | 65 |
/>
|
|
93 | 95 |
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
94 | 96 |
IntermediateDirectory="$(ConfigurationName)"
|
95 | 97 |
ConfigurationType="1"
|
|
98 |
UseOfMFC="1"
|
96 | 99 |
CharacterSet="2"
|
97 | 100 |
WholeProgramOptimization="1"
|
98 | 101 |
>
|
|
115 | 118 |
Name="VCCLCompilerTool"
|
116 | 119 |
AdditionalIncludeDirectories="../../include;.."
|
117 | 120 |
PreprocessorDefinitions="WINDOWS"
|
118 | |
RuntimeLibrary="2"
|
|
121 |
RuntimeLibrary="0"
|
119 | 122 |
WarningLevel="3"
|
120 | 123 |
Detect64BitPortabilityProblems="true"
|
121 | 124 |
DebugInformationFormat="3"
|
|
131 | 134 |
/>
|
132 | 135 |
<Tool
|
133 | 136 |
Name="VCLinkerTool"
|
|
137 |
GenerateManifest="false"
|
134 | 138 |
GenerateDebugInformation="true"
|
135 | 139 |
OptimizeReferences="2"
|
136 | 140 |
EnableCOMDATFolding="2"
|
510 | 510 |
printf(" To calculate the distance between two TLSH digest values, run the command:\n");
|
511 | 511 |
printf(" %s -c <TLSH digest 1> -d <TLSH digest 2>\n", pgmName);
|
512 | 512 |
printf("\n");
|
513 | |
printf(" To calculate the TLSH digest values for every file in a directory – this can create the input for the –l option\n");
|
|
513 |
printf(" To calculate the TLSH digest values for every file in a directory - this can create the input for the -l option\n");
|
514 | 514 |
printf(" %s -r <dir>\n", pgmName);
|
515 | 515 |
printf("\n");
|
516 | 516 |
printf(" To get the distance between a reference TLSH digest value, and a list of TLSH digest values in a file:\n");
|