Advertisement
dan-masek

Sample project tree organization

Apr 3rd, 2016
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. \
  2. +- bin -- Build output goes here
  3. | +- common -- [optional] Working directory for debugging both release and debug builds
  4. | \- runtime -- Compilation output: binaries, dlls, etc.
  5. | +- Debug -- for Debug configuration
  6. | +- Release -- for Release configuration
  7. |
  8. +- build -- Compilation directory (keeps all intermediate output separate)
  9. |
  10. +- deps -- Third party software, prebuilt libraries
  11. | +- bin -- All the .DLLs and corresponding .PDBs (debugging symbols)
  12. | +- include -- All header files
  13. | +- lib -- All the import libraries for .DLLs
  14. | | \- static -- All the static libraries
  15. | +- *.cmake -- CMake modules for all the libraries
  16. |
  17. +- dist -- [optional] Packages for distribution get built here
  18. |
  19. +- src
  20. | +- library_1 -- library with reusable code from M1
  21. | | +- subdirs -- with more code
  22. | | +- tests -- all tests for this lib
  23. | | +- *.[ch]pp -- code
  24. | | \- CMakeLists.txt -- [optional] build system file
  25. | +- library_2
  26. | +- library_3
  27. | +- library_4
  28. | +- library_5
  29. | +- app_1 -- non-reusable code from M1
  30. | | +- subdirs -- with more code
  31. | | +- tests -- all tests for the code in here
  32. | | +- *.[ch]pp -- code
  33. | | \- CMakeLists.txt -- [optional] build system file
  34. | +- app_2
  35. | +- app_3
  36. | +- app_4
  37. | +- app_5
  38. | \- CMakeLists.txt -- [optional] build system file
  39. |
  40. +- scripts -- [optional] utility scripts
  41. +- tools -- [optional] additional tools
  42. +- CMakeLists.txt -- [optional] top level build system file
  43. +- README
  44. \- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement