Advertisement
Guest User

Untitled

a guest
Mar 15th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.37 KB | None | 0 0
  1. cmake_minimum_required(VERSION 2.8.9)
  2. project(zad2)
  3.  
  4. set(CMAKE_BUILD_TYPE Debug)
  5. set (CMAKE_C_FLAGS "--std=gnu99 ${CMAKE_C_FLAGS}")
  6.  
  7. include_directories(include)
  8.  
  9. add_library(zad2-bt STATIC src/binary_tree.c)
  10. add_library(zad2-dll STATIC src/double_linked_list.c)
  11.  
  12. add_executable(zad2 src/main.c)
  13. target_link_libraries(zad2 zad2-bt)
  14. target_link_libraries(zad2 zad2-dll)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement