mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
Remove BGFX_USE_DEBUG_SUFFIX, should use CMAKE_DEBUG_POSTFIX. (#81)
This commit is contained in:
@@ -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" )
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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" )
|
||||
@@ -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" )
|
||||
Reference in New Issue
Block a user