Advertisement
Patrickquinn1212

cmakelists.txt

Aug 18th, 2022 (edited)
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.0)
  2.  
  3. project(project004 LANGUAGES C)
  4.  
  5. add_executable(project004 main.c)
  6.  
  7. install(TARGETS project004 RUNTIME DESTINATION bin)
  8.  
  9.  
  10. include_directories("/home/pat/projects/Mylibraries/include")
  11.  
  12.  
  13. target_link_libraries(clienlib -L"/home/pat/projects/Mylibraries/lib/Mylib.a")
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement