Skip to content

Commit

Permalink
visual c++ compiler as default
Browse files Browse the repository at this point in the history
  • Loading branch information
michelerenzullo committed Mar 17, 2021
1 parent 1459ef4 commit 79d04cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions XMPConverter/XMPConverter.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>Intel C++ Compiler 2021</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>Intel C++ Compiler 2021</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>Intel C++ Compiler 2021</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<UseInteloneTBB>true</UseInteloneTBB>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>Intel C++ Compiler 2021</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<UseInteloneTBB>false</UseInteloneTBB>
Expand Down Expand Up @@ -147,7 +147,7 @@
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<SuppressStartupBanner>false</SuppressStartupBanner>
<Optimization>MinSpace</Optimization>
<Optimization>MaxSpeed</Optimization>
<OptimizeForWindowsApplication>true</OptimizeForWindowsApplication>
<CCppSupport>Cpp20Support</CCppSupport>
<BufferSecurityCheck>true</BufferSecurityCheck>
Expand Down
4 changes: 2 additions & 2 deletions XMPConverter/XMPconverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ int main(int argc, char** argv) {
auto t1 = std::chrono::high_resolution_clock::now();
//tbb::parallel_for_each(inputFiles.begin(), inputFiles.end(), [&](string& inputFile) {
for_each(std::execution::par, inputFiles.begin(), inputFiles.end(), [&](string& inputFile) {
//#pragma omp parallel for
//for (const auto& inputFile : inputFiles) {
//#pragma omp parallel for
//for (const auto& inputFile : inputFiles) {

if (fileExists(inputFile)) {
string filecheck = inputFile.substr(inputFile.find_last_of(".") + 1);
Expand Down

0 comments on commit 79d04cc

Please sign in to comment.