Guest User

Untitled

a guest
May 16th, 2015
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.1)
  2.  
  3. project(Allegro)
  4.  
  5. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -lallegro -lallegro_image")
  6. set(SOURCE_FILES main.c)
  7.  
  8. add_executable(Allegro ${SOURCE_FILES} main.c)
  9.  
  10. link_directories(/usr/include/allegro5)
  11.  
  12. set(game_LIBS liballegro.so liballegro_dialog.so liballegro_image.so)
  13.  
  14. target_link_libraries(Allegro ${game_LIBS})
Advertisement
Add Comment
Please, Sign In to add comment