Set the output dir for any apps to all be in the same place (FGL ONLY)

This commit is contained in:
2024-11-06 15:19:10 -05:00
parent dc6ad64c9f
commit 239e6dc59f

View File

@@ -17,6 +17,7 @@ function(AddFGLExecutable NAME SRC_SOURCES_LOCATION)
file(GLOB_RECURSE HPP_SOURCES ${SRC_SOURCES_LOCATION}/**.hpp)
add_executable(${NAME} ${CPP_SOURCES} ${HPP_SOURCES})
target_include_directories(${NAME} PRIVATE ${SRC_SOURCES_LOCATION})
set_target_properties(${NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
SetFGLFlags(${NAME})
endfunction()