Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell out fix #37

Merged
merged 1 commit into from
Jan 3, 2012
Merged

shell out fix #37

merged 1 commit into from
Jan 3, 2012

Conversation

gerkey
Copy link
Contributor

@gerkey gerkey commented Jan 3, 2012

No description provided.

@straszheim straszheim merged commit 3302f9a into ros:master Jan 3, 2012
dirk-thomas pushed a commit that referenced this pull request Jan 28, 2019
* fix merge conflict, separate helper macro addition from this change

* add NO_STRICT from catkin level for Windows build.

* add Q_NOWINSTRICT

* add more global helper.

* add  WIN32_LEAN_AND_MEAN

*  Avoid using set_target_properties on ALIAS targets (#26)

* Avoid using set_target_properties on ALIAS targets

This change is to fix the error like below:
2018-11-30T10:40:39.7610068Z CMake Error at C:/opt/ros/melodic/x64/share/catkin/cmake/platform/windows.cmake:47 (set_target_properties):
2018-11-30T10:40:39.7610963Z   set_target_properties can not be used on an ALIAS target.
2018-11-30T10:40:39.7611263Z Call Stack (most recent call first):
2018-11-30T10:40:39.7611903Z   abseil_cpp/CMake/AbseilHelpers.cmake:67 (add_library)
2018-11-30T10:40:39.7612185Z   abseil_cpp/absl/base/CMakeLists.txt:74 (absl_library)

* nit

* Globally enable CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS for Windows build. (#29)

Walking through the projects we touched for ROS, many of them simply are just missing the dllimport/dllexport declarative, so no imported library is generated and breaks the build for downstream projects. Some are fixed by defining dllexport/dllimport, by defining WINDOWS_EXPORT_ALL_SYMBOLS, or by switching them to STATIC library (STATIC lib sometimes even creates more problems since the author assumes it is a shared lib at run-time).

In order to quickly enabling more untouched ROS packages, I am suggesting to enable CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS globally to quickly enabling them, but we should still encourage the package owners to explicitly use dllexport in our cookbook.

* update comments, reorder definitions in alphabetical order (#37)

* spelling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants