Remove BGFX_USE_DEBUG_SUFFIX, should use CMAKE_DEBUG_POSTFIX. (#81)

This commit is contained in:
Matt Stevens
2020-05-11 03:38:06 +01:00
committed by GitHub
parent 5af95aa5d5
commit f4748dcc0a
4 changed files with 2 additions and 18 deletions

View File

@@ -33,7 +33,6 @@ option( BGFX_USE_OVR "Build with OVR support." OF
option( BGFX_AMALGAMATED "Amalgamated bgfx build for faster compilation" OFF )
option( BX_AMALGAMATED "Amalgamated bx build for faster compilation" OFF )
option( BGFX_CONFIG_DEBUG "Enables debug configuration on all builds" OFF )
option( BGFX_USE_DEBUG_SUFFIX "Add 'd' suffix to debug output targets" ON )
set( BGFX_OPENGL_VERSION "" CACHE STRING "Specify minimum OpenGL version" )
set( BGFX_OPENGLES_VERSION "" CACHE STRING "Specify minimum OpenGL ES version" )

View File

@@ -117,11 +117,6 @@ endif()
# Put in a "bgfx" folder in Visual Studio
set_target_properties( bgfx PROPERTIES FOLDER "bgfx" )
# Export debug build as "bgfxd"
if( BGFX_USE_DEBUG_SUFFIX )
set_target_properties( bgfx PROPERTIES OUTPUT_NAME_DEBUG "bgfxd" )
endif()
# in Xcode we need to specify this file as objective-c++ (instead of renaming to .mm)
if (XCODE)
set_source_files_properties(${BGFX_DIR}/src/renderer_vk.cpp PROPERTIES LANGUAGE OBJCXX XCODE_EXPLICIT_FILE_TYPE sourcecode.cpp.objcpp)

View File

@@ -41,9 +41,4 @@ target_include_directories( bimg
target_link_libraries( bimg bx astc-codec astc edtaa3 etc1 etc2 iqa squish nvtt pvrtc )
# Put in a "bgfx" folder in Visual Studio
set_target_properties( bimg PROPERTIES FOLDER "bgfx" )
# Export debug build as "bimgd"
if( BGFX_USE_DEBUG_SUFFIX )
set_target_properties( bimg PROPERTIES OUTPUT_NAME_DEBUG "bimgd" )
endif()
set_target_properties( bimg PROPERTIES FOLDER "bgfx" )

View File

@@ -87,9 +87,4 @@ elseif(APPLE)
endif()
# Put in a "bgfx" folder in Visual Studio
set_target_properties( bx PROPERTIES FOLDER "bgfx" )
# Export debug build as "bxd"
if( BGFX_USE_DEBUG_SUFFIX )
set_target_properties( bx PROPERTIES OUTPUT_NAME_DEBUG "bxd" )
endif()
set_target_properties( bx PROPERTIES FOLDER "bgfx" )