Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.1)
- project(Allegro)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -lallegro -lallegro_image")
- set(SOURCE_FILES main.c)
- add_executable(Allegro ${SOURCE_FILES} main.c)
- link_directories(/usr/include/allegro5)
- set(game_LIBS liballegro.so liballegro_dialog.so liballegro_image.so)
- target_link_libraries(Allegro ${game_LIBS})
Advertisement
Add Comment
Please, Sign In to add comment