Initial project setup
Some checks failed
Build / Build (push) Failing after 31s

This commit is contained in:
2026-05-31 22:33:57 -04:00
commit 2bd126f46f
24 changed files with 794 additions and 0 deletions

14
cmake/macros.cmake Normal file
View File

@@ -0,0 +1,14 @@
macro(SET_OUTPUT_NAMES projname)
if (UNIX)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set_target_properties(${projname} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/Debug")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set_target_properties(${projname} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/Release")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
set_target_properties(${projname} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/Relwithdeb")
endif()
endif()
endmacro()