Initial Commit

This commit is contained in:
Garrett Dickinson 2022-07-04 17:04:48 -05:00
parent 87ce514fb4
commit c12c4a407c
2 changed files with 22 additions and 0 deletions

16
CMakeLists.txt Normal file
View File

@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 2.8.9)
project (Hydrangea)
set(CMAKE_CXX_STANDARD 14)
#Import all of the SDL2 dependencies first...
find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})
#Then bring in the local source files and headers into the project
include_directories(include)
file(GLOB SOURCES "src/*.cpp")
add_executable(Hydrangea ${SOURCES})
target_link_libraries(Hydrangea ${SDL2_LIBRARIES})

6
src/main.cpp Normal file
View File

@ -0,0 +1,6 @@
#include <iostream>
int main() {
std::cout << "Hello, Hydrangea!\n";
return 0;
}