abroekhuis commented on a change in pull request #251:
URL: https://github.com/apache/celix/pull/251#discussion_r436583406
##########
File path: cmake/cmake_celix/BundlePackaging.cmake
##########
@@ -195,15 +195,20 @@ function(add_celix_bundle)
endif ()
if (NOT DEFINED BUNDLE_FILENAME)
- set(BUNDLE_FILENAME ${BUNDLE_TARGET_NAME})
- endif ()
-
- if (${CMAKE_BUILD_TYPE} IN_LIST CELIX_NO_POSTFIX_BUILD_TYPES)
- set(BUNDLE_FILENAME ${BUNDLE_FILENAME}.zip)
+ set(BASE_BUNDLE_FILENAME ${BUNDLE_TARGET_NAME})
else ()
- set(BUNDLE_FILENAME ${BUNDLE_FILENAME}-${CMAKE_BUILD_TYPE}.zip)
+ set(BASE_BUNDLE_FILENAME ${BUNDLE_FILENAME})
Review comment:
Why the additional BASE variable? The foreach part is conditional, so no
need for different names?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]