From d637e4497bb4ecd1273c7ffb967f6ba27a381f1a Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Thu, 8 Sep 2022 23:49:48 +0100 Subject: [PATCH] Added engine.h --- CMakeLists.txt | 4 ++++ include/engine.h | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 include/engine.h diff --git a/CMakeLists.txt b/CMakeLists.txt index e15da8a..5bed6a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,10 @@ target_link_libraries(${PROJECT_NAME} PUBLIC SDL2_ttf ) +install(FILES include/engine.h + CONFIGURATIONS Release + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} +) install(TARGETS ${PROJECT_NAME} CONFIGURATIONS Release RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} diff --git a/include/engine.h b/include/engine.h new file mode 100644 index 0000000..ed7b5e3 --- /dev/null +++ b/include/engine.h @@ -0,0 +1,6 @@ +#ifndef ENGINE_H +#define ENGINE_H + +void init(void); + +#endif // !ENGINE_H