Created
November 6, 2017 13:20
-
-
Save akosbalogh/14a5ea2e2938ed3be703325db5a2ea3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.8) | |
project(Prog1) | |
set(CMAKE_C_STANDARD 11) | |
set(SOURCE_FILES | |
sand.png | |
main.c | |
bottom_texture.c bottom_texture.h brown_textures.c brown_textures.h texture_generators.c texture_generators.h types.c types.h) | |
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -lglfw -lraylib -framework GLUT -framework OpenGL -framework Cocoa") | |
link_directories("lib") | |
include_directories("lib") | |
#link_directories("lib/osx") | |
#include_directories("lib/osx") | |
link_directories("lib/src") | |
include_directories("lib/src") | |
#file(GLOB LIBRARIES | |
# "lib/libglfw.3.2.dylib" | |
# ) | |
#message("LIBRARIES = ${LIBRARIES}") | |
add_executable(Prog1 ${SOURCE_FILES}) | |
#target_link_libraries(Prog1 ${LIBRARIES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment