First working project
This commit is contained in:
parent
525da74e4c
commit
44b415cbaa
8 changed files with 62 additions and 0 deletions
13
SDLU/CMakeLists.txt
Normal file
13
SDLU/CMakeLists.txt
Normal 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
3
SDLU/SDLU.hpp
Normal file
|
@ -0,0 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#include "SDL.h"
|
1
SDLU/alibi.cpp
Normal file
1
SDLU/alibi.cpp
Normal file
|
@ -0,0 +1 @@
|
|||
// CMake needs a .cpp file to build
|
Loading…
Add table
Add a link
Reference in a new issue