You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/08/22 21:02:08 UTC

[GitHub] [pulsar] yittg commented on a change in pull request #5013: [pulsar-client-cpp] cmake isolate auto gen srcs

yittg commented on a change in pull request #5013: [pulsar-client-cpp] cmake isolate auto gen srcs
URL: https://github.com/apache/pulsar/pull/5013#discussion_r316883740
 
 

 ##########
 File path: pulsar-client-cpp/CMakeLists.txt
 ##########
 @@ -195,9 +195,13 @@ MESSAGE(STATUS "HAS_SNAPPY: ${HAS_SNAPPY}")
 set(ADDITIONAL_LIBRARIES $ENV{PULSAR_ADDITIONAL_LIBRARIES})
 link_directories( $ENV{PULSAR_ADDITIONAL_LIBRARY_PATH} )
 
+set(AUTOGEN_DIR ${CMAKE_BINARY_DIR}/generated)
 
 Review comment:
   @merlimat not necessary for now as files would be ignored by `pd.{cc,h}` suffix, it would be great to add `generated` directory, and the suffix pattern could be removed, i'll add it. Actually i always new a `build| directory for cmake, would we suggest to do like that and add `build` directory to .gitignore also?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services