C++ Header files - put them in one directory or merged in a tree structure?

前端 未结 1 912
我在风中等你
我在风中等你 2021-02-20 02:06

I have a substantial body of source code (OOFILE) which I\'m finally putting up on Sourceforge. I need to decide if I should go with a monolithic include directory or k

1条回答
  •  深忆病人
    2021-02-20 02:51

    Personally I would go with 2, or 3 if really pushed.

    But whichever you choose, please make it crystal clear in the build instructions how to set up the include paths. Nothing dooms an open source project more than it being really difficult to build - developers want a quick out-of-the-box experience and if it involves faffing around with many undocumented environment variables (or whatever) most will simply go away.

    0 讨论(0)
提交回复
热议问题