|
16 | 16 | <ItemDefinitionGroup Condition="'$(Linkage-libbitcoin-consensus)' != 'none'"> |
17 | 17 | <ClCompile> |
18 | 18 | <AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 19 | + <!-- can't define _SCL_SECURE_NO_WARNINGS when using boost, can produce redefined symbol error, use 4996 instead --> |
| 20 | + <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> |
19 | 21 | <PreprocessorDefinitions Condition="'$(Linkage-libbitcoin-consensus)' == 'static' Or '$(Linkage-libbitcoin-consensus)' == 'ltcg'">BCK_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
20 | 22 | </ClCompile> |
21 | 23 | <Link> |
22 | | - <!-- $(PlatformToolset) is hard wired to v120 to allow for linkage by PlatformToolset=CTP_Nov2013 callers. --> |
| 24 | + <!-- Because cloned files use C++11 the CTP_Nov2013 compiler is not optional. --> |
23 | 25 | <AdditionalDependencies Condition="'$(Linkage-libbitcoin-consensus)' != ''">libbitcoin-consensus.lib;%(AdditionalDependencies)</AdditionalDependencies> |
24 | | - <AdditionalLibraryDirectories Condition="$(Configuration.IndexOf('Debug')) != -1">$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Debug\v120\$(Linkage-libbitcoin-consensus)\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
25 | | - <AdditionalLibraryDirectories Condition="$(Configuration.IndexOf('Release')) != -1">$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Release\v120\$(Linkage-libbitcoin-consensus)\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 26 | + <AdditionalLibraryDirectories Condition="$(Configuration.IndexOf('Debug')) != -1">$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Debug\CTP_Nov2013\$(Linkage-libbitcoin-consensus)\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 27 | + <AdditionalLibraryDirectories Condition="$(Configuration.IndexOf('Release')) != -1">$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Release\CTP_Nov2013\$(Linkage-libbitcoin-consensus)\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
26 | 28 | </Link> |
27 | 29 | </ItemDefinitionGroup> |
28 | 30 |
|
29 | 31 | <!-- Copy --> |
30 | 32 |
|
31 | | - <!-- $(PlatformToolset) is hard wired to v120 to allow for linkage by PlatformToolset=CTP_Nov2013 callers. --> |
| 33 | + <!-- Because cloned files use C++11 the CTP_Nov2013 compiler is not optional. --> |
32 | 34 | <Target Name="Linkage-libbitcoin-consensus-dynamic" AfterTargets="AfterBuild" Condition="'$(Linkage-libbitcoin-consensus)' == 'dynamic'"> |
33 | 35 | <Copy Condition="$(Configuration.IndexOf('Debug')) != -1" |
34 | | - SourceFiles="$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Debug\v120\dynamic\libbitcoin-consensus.dll" |
| 36 | + SourceFiles="$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Debug\CTP_Nov2013\dynamic\libbitcoin-consensus.dll" |
35 | 37 | DestinationFiles="$(TargetDir)libbitcoin-consensus.dll" |
36 | 38 | SkipUnchangedFiles="true" /> |
37 | 39 | <Copy Condition="$(Configuration.IndexOf('Debug')) != -1" |
38 | | - SourceFiles="$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Debug\v120\dynamic\libbitcoin-consensus.pdb" |
| 40 | + SourceFiles="$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Debug\CTP_Nov2013\dynamic\libbitcoin-consensus.pdb" |
39 | 41 | DestinationFiles="$(TargetDir)libbitcoin-consensus.pdb" |
40 | 42 | SkipUnchangedFiles="true" /> |
41 | 43 | <Copy Condition="$(Configuration.IndexOf('Release')) != -1" |
42 | | - SourceFiles="$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Release\v120\dynamic\libbitcoin-consensus.dll" |
| 44 | + SourceFiles="$(ProjectDir)..\..\..\..\..\libbitcoin-consensus\bin\$(PlatformName)\Release\CTP_Nov2013\dynamic\libbitcoin-consensus.dll" |
43 | 45 | DestinationFiles="$(TargetDir)libbitcoin-consensus.dll" |
44 | 46 | SkipUnchangedFiles="true" /> |
45 | 47 | </Target> |
|
0 commit comments