# < 2.8.10 backward compatibility if(NOT CMAKE_PLATFORM_INFO_DIR) set(CMAKE_PLATFORM_INFO_DIR ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}) endif(NOT CMAKE_PLATFORM_INFO_DIR) set(CMAKE_D_COMPILER "@CMAKE_D_COMPILER@") set(CMAKE_D_COMPILER_ARG1 "@CMAKE_D_COMPILER_ARG1@") set(CMAKE_D_COMPILER_ID "@CMAKE_D_COMPILER_ID@") set(CMAKE_D_PLATFORM_ID "@CMAKE_D_PLATFORM_ID@") @SET_MSVC_D_ARCHITECTURE_ID@ set(CMAKE_AR "@CMAKE_AR@") set(CMAKE_RANLIB "@CMAKE_RANLIB@") set(CMAKE_LINKER "@CMAKE_LINKER@") set(CMAKE_COMPILER_IS_GDC @CMAKE_COMPILER_IS_GDC@) set(CMAKE_COMPILER_IS_DMD @CMAKE_COMPILER_IS_DMD@) set(CMAKE_D_COMPILER_LOADED 1) set(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@) set(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@) if(CMAKE_COMPILER_IS_CYGWIN) set(CYGWIN 1) set(UNIX 1) endif(CMAKE_COMPILER_IS_CYGWIN) set(CMAKE_D_COMPILER_ENV_VAR "DC") if(CMAKE_COMPILER_IS_MINGW) set(MINGW 1) endif(CMAKE_COMPILER_IS_MINGW) set(CMAKE_D_SOURCE_FILE_EXTENSIONS d;di) set(CMAKE_D_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) # Prefer to use D's linker. # The D value 40 beats CXX value of 30 and C value of 10 set(CMAKE_D_LINKER_PREFERENCE 40 ) set(CMAKE_D_LINKER_PREFERENCE_PROPOGATES 1 ) # Save compiler ABI information. set(CMAKE_D_SIZEOF_DATA_PTR "@CMAKE_D_SIZEOF_DATA_PTR@") set(CMAKE_D_COMPILER_ABI "@CMAKE_D_COMPILER_ABI@") if(CMAKE_D_SIZEOF_DATA_PTR) set(CMAKE_SIZEOF_VOID_P "${CMAKE_D_SIZEOF_DATA_PTR}") endif(CMAKE_D_SIZEOF_DATA_PTR) if(CMAKE_D_COMPILER_ABI) set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_D_COMPILER_ABI}") endif(CMAKE_D_COMPILER_ABI) set(CMAKE_D_HAS_ISYSROOT "@CMAKE_D_HAS_ISYSROOT@") @CMAKE_D_OSX_DEPLOYMENT_TARGET_FLAG_CODE@ set(CMAKE_D_IMPLICIT_LINK_LIBRARIES "@CMAKE_D_IMPLICIT_LINK_LIBRARIES@") set(CMAKE_D_IMPLICIT_LINK_DIRECTORIES "@CMAKE_D_IMPLICIT_LINK_DIRECTORIES@")