Add logging in debug build and force graphics API
This commit is contained in:
3 files changed
+69
-7
No files matched your search
+3
-2
@@ -54,11 +54,12 @@ list(APPEND SOURCES src/asteria.rc)
|
||||
qt_add_executable(asteria-qt ${SOURCES})
|
||||
|
||||
set_target_properties(asteria-qt PROPERTIES
|
||||
WIN32_EXECUTABLE TRUE
|
||||
WIN32_EXECUTABLE $<NOT:$<CONFIG:Debug>>
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
target_link_options(asteria-qt PRIVATE -mwindows)
|
||||
target_link_options(asteria-qt PRIVATE
|
||||
$<$<NOT:$<CONFIG:Debug>>:-mwindows>)
|
||||
endif()
|
||||
|
||||
target_include_directories(asteria-qt PRIVATE src)
|
||||
|
||||
Reference in new issue
Block a user