2018-09-30 15:18:18 +00:00
|
|
|
#----------------------------------------------------------------
|
|
|
|
# Generated CMake target import file for configuration "Debug".
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
|
|
|
# Commands may need to know the format version.
|
|
|
|
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
|
|
|
2019-05-22 23:54:15 +00:00
|
|
|
set(ASSIMP_BUILD_SHARED_LIBS @BUILD_SHARED_LIBS@)
|
|
|
|
|
2018-09-30 15:18:18 +00:00
|
|
|
if(MSVC)
|
2019-05-22 23:54:15 +00:00
|
|
|
if(MSVC_TOOLSET_VERSION)
|
|
|
|
set(MSVC_PREFIX "vc${MSVC_TOOLSET_VERSION}")
|
2018-09-30 15:18:18 +00:00
|
|
|
else()
|
2019-05-22 23:54:15 +00:00
|
|
|
if( MSVC70 OR MSVC71 )
|
|
|
|
set(MSVC_PREFIX "vc70")
|
|
|
|
elseif( MSVC80 )
|
|
|
|
set(MSVC_PREFIX "vc80")
|
|
|
|
elseif( MSVC90 )
|
|
|
|
set(MSVC_PREFIX "vc90")
|
|
|
|
elseif( MSVC10 )
|
|
|
|
set(MSVC_PREFIX "vc100")
|
|
|
|
elseif( MSVC11 )
|
|
|
|
set(MSVC_PREFIX "vc110")
|
|
|
|
elseif( MSVC12 )
|
|
|
|
set(MSVC_PREFIX "vc120")
|
2019-06-11 13:24:39 +00:00
|
|
|
elseif( MSVC_VERSION LESS 1910)
|
2019-05-22 23:54:15 +00:00
|
|
|
set(MSVC_PREFIX "vc140")
|
2019-06-11 13:24:39 +00:00
|
|
|
elseif( MSVC_VERSION LESS 1920)
|
|
|
|
set(MSVC_PREFIX "vc141")
|
|
|
|
elseif( MSVC_VERSION LESS 1930)
|
|
|
|
set(MSVC_PREFIX "vc142")
|
2019-05-22 23:54:15 +00:00
|
|
|
else()
|
|
|
|
set(MSVC_PREFIX "vc150")
|
|
|
|
endif()
|
2018-09-30 15:18:18 +00:00
|
|
|
endif()
|
|
|
|
set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library" )
|
|
|
|
|
2019-05-22 23:54:15 +00:00
|
|
|
if(ASSIMP_BUILD_SHARED_LIBS)
|
|
|
|
set(sharedLibraryName "assimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_DEBUG_POSTFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@")
|
|
|
|
set(importLibraryName "assimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_DEBUG_POSTFIX@@CMAKE_IMPORT_LIBRARY_SUFFIX@")
|
|
|
|
|
|
|
|
# Import target "assimp::assimp" for configuration "Debug"
|
|
|
|
set_property(TARGET assimp::assimp APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
|
|
|
|
set_target_properties(assimp::assimp PROPERTIES
|
|
|
|
IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/lib/${importLibraryName}"
|
|
|
|
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/bin/${sharedLibraryName}"
|
|
|
|
)
|
|
|
|
list(APPEND _IMPORT_CHECK_TARGETS assimp::assimp )
|
|
|
|
list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "${_IMPORT_PREFIX}/lib/${importLibraryName}")
|
|
|
|
list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "${_IMPORT_PREFIX}/bin/${sharedLibraryName}" )
|
|
|
|
else()
|
|
|
|
set(staticLibraryName "assimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_DEBUG_POSTFIX@@CMAKE_STATIC_LIBRARY_SUFFIX@")
|
2018-09-30 15:18:18 +00:00
|
|
|
|
2019-05-22 23:54:15 +00:00
|
|
|
# Import target "assimp::assimp" for configuration "Debug"
|
|
|
|
set_property(TARGET assimp::assimp APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
|
|
|
|
set_target_properties(assimp::assimp PROPERTIES
|
|
|
|
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/${staticLibraryName}"
|
|
|
|
)
|
|
|
|
list(APPEND _IMPORT_CHECK_TARGETS assimp::assimp )
|
|
|
|
list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "${_IMPORT_PREFIX}/lib/${staticLibraryName}")
|
|
|
|
endif()
|
2018-09-30 15:18:18 +00:00
|
|
|
|
|
|
|
else()
|
2019-05-22 23:54:15 +00:00
|
|
|
set(ASSIMP_LIBRARY_SUFFIX "@ASSIMP_LIBRARY_SUFFIX@" CACHE STRING "the suffix for the assimp libraries" )
|
|
|
|
if(ASSIMP_BUILD_SHARED_LIBS)
|
2019-09-24 20:30:00 +00:00
|
|
|
if(APPLE)
|
|
|
|
set(sharedLibraryName "libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_DEBUG_POSTFIX@.@ASSIMP_VERSION_MAJOR@@CMAKE_SHARED_LIBRARY_SUFFIX@")
|
|
|
|
else(APPLE)
|
|
|
|
set(sharedLibraryName "libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_DEBUG_POSTFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@.@ASSIMP_VERSION_MAJOR@")
|
|
|
|
endif()
|
2019-05-22 23:54:15 +00:00
|
|
|
set_target_properties(assimp::assimp PROPERTIES
|
|
|
|
IMPORTED_SONAME_DEBUG "${sharedLibraryName}"
|
|
|
|
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/${sharedLibraryName}"
|
2018-09-30 15:18:18 +00:00
|
|
|
)
|
2019-05-22 23:54:15 +00:00
|
|
|
list(APPEND _IMPORT_CHECK_TARGETS assimp::assimp )
|
|
|
|
list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "${_IMPORT_PREFIX}/lib/${sharedLibraryName}" )
|
|
|
|
else()
|
|
|
|
set(staticLibraryName "libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_DEBUG_POSTFIX@@CMAKE_STATIC_LIBRARY_SUFFIX@")
|
|
|
|
set_target_properties(assimp::assimp PROPERTIES
|
|
|
|
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/${staticLibraryName}"
|
|
|
|
)
|
|
|
|
list(APPEND _IMPORT_CHECK_TARGETS assimp::assimp )
|
|
|
|
list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "${_IMPORT_PREFIX}/lib/${staticLibraryName}" )
|
|
|
|
endif()
|
2018-09-30 15:18:18 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Commands beyond this point should not need to know the version.
|
|
|
|
set(CMAKE_IMPORT_FILE_VERSION)
|
|
|
|
|
|
|
|
get_filename_component(ASSIMP_ROOT_DIR "@CMAKE_INSTALL_PREFIX@" REALPATH)
|
|
|
|
set( ASSIMP_CXX_FLAGS ) # dynamically linked library
|
|
|
|
set( ASSIMP_LINK_FLAGS "" )
|
|
|
|
set( ASSIMP_LIBRARY_DIRS "${ASSIMP_ROOT_DIR}/@ASSIMP_LIB_INSTALL_DIR@")
|
|
|
|
set( ASSIMP_INCLUDE_DIRS "${ASSIMP_ROOT_DIR}/@ASSIMP_INCLUDE_INSTALL_DIR@")
|
2019-05-22 23:54:15 +00:00
|
|
|
if(ASSIMP_BUILD_SHARED_LIBS)
|
|
|
|
set( ASSIMP_LIBRARIES ${sharedLibraryName})
|
|
|
|
else()
|
|
|
|
set( ASSIMP_LIBRARIES ${staticLibraryName})
|
|
|
|
endif()
|
2018-09-30 15:18:18 +00:00
|
|
|
|
|
|
|
# for compatibility with pkg-config
|
|
|
|
set(ASSIMP_CFLAGS_OTHER "${ASSIMP_CXX_FLAGS}")
|
|
|
|
set(ASSIMP_LDFLAGS_OTHER "${ASSIMP_LINK_FLAGS}")
|
|
|
|
|
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
ASSIMP_ROOT_DIR
|
|
|
|
ASSIMP_CXX_FLAGS
|
|
|
|
ASSIMP_LINK_FLAGS
|
|
|
|
ASSIMP_INCLUDE_DIRS
|
|
|
|
ASSIMP_LIBRARIES
|
|
|
|
ASSIMP_CFLAGS_OTHER
|
|
|
|
ASSIMP_LDFLAGS_OTHER
|
|
|
|
ASSIMP_LIBRARY_SUFFIX
|
2019-05-22 23:54:15 +00:00
|
|
|
ASSIMP_BUILD_SHARED_LIBS
|
2018-09-30 15:18:18 +00:00
|
|
|
)
|