zeromq / zebra

REST/HTTP to XRAP gateway
Mozilla Public License 2.0
27 stars 10 forks source link

What is the ENABLE_DRAFTS option in CMake? #35

Closed KrishnaPG closed 8 years ago

KrishnaPG commented 8 years ago

Can someone please explain what is the ENABLE_DRAFTS option in the cmake file?

I tried to turn-it off and build the project and encountered this below error:

error LNK2019: unresolved external symbol _xrap_msg_destroy referenced in function _zeb_response_destroy

Upon closer inspection the file src/xrap_msg.c and few others are added only in the ENABLE_DRAFTS mode. Without that option, none of the xrap* files are present in the project.

I thought xrap is the key to this functionality - how come it became optional and went into drafts only mode? Without the XRAP what is the expected behavior?

sappo commented 8 years ago

Hi, all of zebras APIs are currently DRAFT thus if you disable draft mode nothing should be compiled which causes weird things to happen. I will eventually promote the APIs to stable when I have it running in production for a while.

Am 27.08.2016 15:47 schrieb "Gopalakrishna Palem" <notifications@github.com

:

Can someone please explain what is the ENABLE_DRAFTS option in the cmake file?

I tried to turn-it off and build the project and encountered this below error:

error LNK2019: unresolved external symbol _xrap_msg_destroy referenced in function _zeb_response_destroy

Upon closer inspection the file src/xrap_msg.c and few others are added only in the ENABLE_DRAFTS mode. Without that option, none of the xrap* files are present in the project.

I thought xrap is the key to this functionality - how come it became optional and went into drafts only mode? Without the XRAP what is the expected behavior?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zeromq/zebra/issues/35, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeGujns3dmlutOWC0iBKTlpDRIkEh9pks5qkD_3gaJpZM4Justa .