|
@@ -127,6 +127,25 @@ sub prepare_msvc_files_xml {
|
|
|
$files .= ("\t" x $depth) . "\t</FileConfiguration>\r\n";
|
|
|
}
|
|
|
}
|
|
|
+########### aes_enc "hack" disabled - discussion: https://github.com/libtom/libtomcrypt/pull/158
|
|
|
+# if ($full eq 'src\ciphers\aes\aes.c') { #hack
|
|
|
+# my %cmd = (
|
|
|
+# 'Debug|Win32' => [ 'Debug/aes.obj;Debug/aes_enc.obj', 'cl /nologo /MLd /W3 /Gm /GX /ZI /Od /I "src\headers" /I "..\libtommath" /D "_DEBUG" /D "LTM_DESC" /D "WIN32" /D "_MBCS" /D "_LIB" /D "LTC_SOURCE" /D "USE_LTM" /Fp"Debug/libtomcrypt.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c $(InputPath)
cl /nologo /DENCRYPT_ONLY /MLd /W3 /Gm /GX /ZI /Od /I "src\headers" /I "..\libtommath" /D "_DEBUG" /D "LTM_DESC" /D "WIN32" /D "_MBCS" /D "_LIB" /D "LTC_SOURCE" /D "USE_LTM" /Fp"Debug/libtomcrypt.pch" /YX /Fo"Debug/aes_enc.obj" /Fd"Debug/" /FD /GZ /c $(InputPath)
' ],
|
|
|
+# 'Release|Win32' => [ 'Release/aes.obj;Release/aes_enc.obj', 'cl /nologo /MLd /W3 /Gm /GX /ZI /Od /I "src\headers" /I "..\libtommath" /D "_DEBUG" /D "LTM_DESC" /D "WIN32" /D "_MBCS" /D "_LIB" /D "LTC_SOURCE" /D "USE_LTM" /Fp"Release/libtomcrypt.pch" /YX /Fo"Release/" /Fd"Release/" /FD /GZ /c $(InputPath)
cl /nologo /DENCRYPT_ONLY /MLd /W3 /Gm /GX /ZI /Od /I "src\headers" /I "..\libtommath" /D "_DEBUG" /D "LTM_DESC" /D "WIN32" /D "_MBCS" /D "_LIB" /D "LTC_SOURCE" /D "USE_LTM" /Fp"Release/libtomcrypt.pch" /YX /Fo"Release/aes_enc.obj" /Fd"Release/" /FD /GZ /c $(InputPath)
' ],
|
|
|
+# );
|
|
|
+# for (@$targets) {
|
|
|
+# next unless $cmd{$_};
|
|
|
+# $files .= ("\t" x $depth) . "\t<FileConfiguration\r\n";
|
|
|
+# $files .= ("\t" x $depth) . "\t\tName=\"$_\"\r\n";
|
|
|
+# $files .= ("\t" x $depth) . "\t\t>\r\n";
|
|
|
+# $files .= ("\t" x $depth) . "\t\t<Tool\r\n";
|
|
|
+# $files .= ("\t" x $depth) . "\t\t\tName=\"VCCustomBuildTool\"\r\n";
|
|
|
+# $files .= ("\t" x $depth) . "\t\t\tCommandLine=\"$cmd{$_}[1]\"\r\n";
|
|
|
+# $files .= ("\t" x $depth) . "\t\t\tOutputs=\"$cmd{$_}[0]\"\r\n";
|
|
|
+# $files .= ("\t" x $depth) . "\t\t/>\r\n";
|
|
|
+# $files .= ("\t" x $depth) . "\t</FileConfiguration>\r\n";
|
|
|
+# }
|
|
|
+# }
|
|
|
$files .= ("\t" x $depth) . "</File>\r\n";
|
|
|
}
|
|
|
$files .= ("\t" x --$depth) . "</Filter>\r\n" for (@$last);
|