fix some more glitchy stuff
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user