How do you store third party libraries in your source control?

后端 未结 15 1571
太阳男子
太阳男子 2020-12-13 03:19

How do you store third party libraries that you use in your project in your source control?

When would you store binaries in your source control?

When would

15条回答
  •  爱一瞬间的悲伤
    2020-12-13 03:21

    You don't need to store third party libraries in your source control repository. Those libraries (think of SDL, libcurl, etc.) should always be available on the web.
    Just two raccomandations:

    • make sure to state clearly in your code which version of the library you should compile against
    • be sure that that specific version is always available on the web

提交回复
热议问题