fix some more glitchy stuff

This commit is contained in:
Bram verhulst
2025-06-01 23:04:37 +02:00
parent 1d2ca4f9ca
commit 1104b12ba8
14 changed files with 1529 additions and 305 deletions

View File

@@ -18,6 +18,12 @@ add_library(Exam_Plugin SHARED
target_link_libraries(Exam_Plugin PUBLIC ${EXAM_LIB_DEBUG})
target_include_directories(Exam_Plugin PUBLIC ${EXAM_INCLUDE_DIR})
# Explicit debug info generation flags for MSVC
target_compile_options(Exam_Plugin PRIVATE
$<$<CONFIG:Debug>:/Zi>)
target_link_options(Exam_Plugin PRIVATE
$<$<CONFIG:Debug>:/DEBUG>)
set_target_properties(Exam_Plugin PROPERTIES
RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_SOURCE_DIR}/_DEMO_DEBUG"
LIBRARY_OUTPUT_DIRECTORY_DEBUG "${CMAKE_SOURCE_DIR}/_DEMO_DEBUG"
@@ -40,4 +46,4 @@ set_target_properties(GPP_EXAM_EXE PROPERTIES
)
# Ensure the DLL is built before the .exe is "built"
add_dependencies(GPP_EXAM_EXE Exam_Plugin)
add_dependencies(GPP_EXAM_EXE Exam_Plugin)