Initial workspace 6/1/2019 - 13/10/2019

This commit is contained in:
2020-02-23 12:01:51 +11:00
commit 837fb145e1
5 changed files with 427 additions and 0 deletions

13
CMakeLists.txt Normal file
View File

@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.1)
set(PROJECT analogue)
set(SOURCES analogue.c)
project(${PROJECT} C)
set(CMAKE_C_STANDARD 11)
find_package(SDL2 REQUIRED)
add_definitions(${SDL2_CFLAGS})
include_directories(${SDL2_INCLUDE_DIRS})
set(LIBRARIES ${SDL2_LIBRARIES} m)
add_executable(${PROJECT} ${SOURCES})
target_link_libraries(${PROJECT} ${LIBRARIES})