SHARE
TWEET

Untitled

a guest Dec 9th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top