Guest User

Untitled

a guest
Dec 9th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. project
  2. |------ CMakeLists.txt (The main Cmake)
  3. |------ ProjectA
  4. | |----- src
  5. |.c files
  6. | |----- include
  7. |.h files
  8. | |----- CMakeList.txt
  9. |------ ProjectB
  10. | |----- src
  11. |.c files
  12. | |----- include
  13. |.h files
  14. | |----- CMakeList.txt
  15. |
  16. |------ build
  17. | |----- ...
  18. |------ bin
  19. | |---- executables
  20.  
  21. #cmake output directory
  22. ...
  23. #compiler
  24. ...
  25. set(CMAKE_C_FLAGS "... -DDEBUG ...")
  26. #Linking
  27. ...
  28. #add executables
  29. ...
  30.  
  31. add_subdirectory(ProjectA)
  32. add_subdirectory(ProjectB)
Add Comment
Please, Sign In to add comment