First working project

This commit is contained in:
Robert 2020-05-16 12:34:20 +02:00
parent 525da74e4c
commit 44b415cbaa
8 changed files with 62 additions and 0 deletions

13
SDLU/CMakeLists.txt Normal file
View file

@ -0,0 +1,13 @@
set(PNAME SDLU)
add_library(${PNAME}
alibi.cpp SDLU.hpp
)
target_include_directories(${PNAME} PRIVATE
${PROJECT_SOURCE_DIR}/3rdparty/SDL/include
)
target_link_libraries(${PNAME} PRIVATE
${CMAKE_BINARY_DIR}/3rdparty/SDL/SDL2d.lib
)

3
SDLU/SDLU.hpp Normal file
View file

@ -0,0 +1,3 @@
#pragma once
#include "SDL.h"

1
SDLU/alibi.cpp Normal file
View file

@ -0,0 +1 @@
// CMake needs a .cpp file to build