Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Jun 30, 2024
1 parent 2555a70 commit c4f584e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,6 @@ rule linking ( properties * )
result += <visibility>hidden ;
}

if <toolset>msvc in $(properties)
{
# ask the compiler to correctly set __cplusplus version
result += <msvc-version-macro>on ;
}

if <boost-link>static in $(properties)
{
if <link>shared in $(properties)
Expand Down Expand Up @@ -361,6 +355,12 @@ rule building ( properties * )
# https://learn.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-170
result += <cxxflags>/permissive- ;
}

# ask the compiler to correctly set __cplusplus version
if <toolset>msvc in $(properties)
{
result += <msvc-version-macro>on ;
}
}


Expand Down Expand Up @@ -692,8 +692,8 @@ feature export-extra : off on : composite propagated ;
# symbol table reasonably small
feature.compose <export-extra>on : <define>TORRENT_EXPORT_EXTRA ;

# ask the compiler to correctly set __cplusplus version
feature msvc-version-macro : off on : composite propagated link-incompatible ;
# ask the compiler to correctly set __cplusplus version
feature.compose <msvc-version-macro>on : <cxxflags>/Zc\:__cplusplus ;

lib advapi32 : : <name>advapi32 ;
Expand Down

0 comments on commit c4f584e

Please sign in to comment.