-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[activemq-cpp] support linux (#19789)
@PhoebeHui > * I think we need a discussion about unofficial being in the namespace I still want to discuss this
- Loading branch information
Showing
7 changed files
with
470 additions
and
76 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
diff --git a/vs2010-build/activemq-cpp.vcxproj b/vs2010-build/activemq-cpp.vcxproj | ||
index 54b4822..6b35511 100644 | ||
--- a/vs2010-build/activemq-cpp.vcxproj | ||
+++ b/vs2010-build/activemq-cpp.vcxproj | ||
@@ -2578,6 +2578,7 @@ | ||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<CreateHotpatchableImage>false</CreateHotpatchableImage> | ||
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | ||
<RuntimeTypeInfo>true</RuntimeTypeInfo> | ||
<PrecompiledHeaderFile> | ||
</PrecompiledHeaderFile> | ||
@@ -2687,6 +2688,7 @@ | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<CreateHotpatchableImage>false</CreateHotpatchableImage> | ||
<RuntimeTypeInfo>true</RuntimeTypeInfo> | ||
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | ||
<PrecompiledHeaderFile> | ||
</PrecompiledHeaderFile> | ||
<PrecompiledHeaderOutputFile> | ||
@@ -2794,6 +2796,7 @@ | ||
<AdditionalIncludeDirectories>../src/main;$(APR_DIST)\$(PlatformName)\include;$(OPENSSL_DIST)\$(PlatformName)\include;$(PLATFORM_SDK)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
<CreateHotpatchableImage>false</CreateHotpatchableImage> | ||
<RuntimeTypeInfo>true</RuntimeTypeInfo> | ||
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | ||
<PrecompiledHeaderFile> | ||
</PrecompiledHeaderFile> | ||
<PrecompiledHeaderOutputFile> | ||
@@ -2906,6 +2909,7 @@ | ||
<AdditionalIncludeDirectories>../src/main;$(APR_DIST)\$(PlatformName)\include;$(OPENSSL_DIST)\$(PlatformName)\include;$(PLATFORM_SDK)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
<CreateHotpatchableImage>false</CreateHotpatchableImage> | ||
<RuntimeTypeInfo>true</RuntimeTypeInfo> | ||
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | ||
<PrecompiledHeaderFile> | ||
</PrecompiledHeaderFile> | ||
<PrecompiledHeaderOutputFile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4ce045c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TL;DR: I can see valid arguments for changing or leaving
unofficial::
.I just did a non-exhaustive (10 minute) search for things that using
unofficial::
may conflict with and found nothing. So, I don't thinkunofficial::
would cause current issues or would likely cause future issues. The closest I found were two different libraries where it seems somebody ported/extended and turned the name from foo to unofficial-foo. In those cases I didn't see any evidence of CMake so no use ofunofficial::
.Having said that, I'm leery of using generic-ish namespace names. I have been painfully bit in the past with things like two different C++ libraries using "matrix" as their namespace. So, I'm actually for picking a non generic-ish namespace for vcpkg ports that come with their own CMake targets.
I know changing target names can break builds. I have a much higher level of acceptance of build breaks than most of my coworkers ;-) so I recognize I'm not the best one to make a call on changes such as this. Of course a period of deprecation of the
unofficial::
CMake target could occur to soften the blow (and may be necessary to allow changes to work their way through various vcpkg ports that depend on the changed port).4ce045c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer another name, too. But maybe this should be made a separate, new discussion?
4ce045c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #20660