well this makes things fail for people ...
[apps/madmutt.git] / cmake / Modules / CMakeDCompiler.cmake.in
1 #\r
2 # CMakeD - CMake module for D Language\r
3 #\r
4 # Copyright (c) 2007, Selman Ulug <selman.ulug@gmail.com>\r
5 #                     Tim Burrell <tim.burrell@gmail.com>\r
6 #\r
7 # All rights reserved. \r
8 #\r
9 # See Copyright.txt for details.\r
10 #\r
11 # Modified from CMake 2.6.5 CMakeCCompiler.cmake.in\r
12 # See http://www.cmake.org/HTML/Copyright.html for details\r
13\r
14 \r
15 SET(CMAKE_D_COMPILER "@CMAKE_D_COMPILER@")\r
16 SET(CMAKE_D_COMPILER_ARG1 "@CMAKE_D_COMPILER_ARG1@")\r
17 SET(CMAKE_AR "@CMAKE_AR@")\r
18 SET(CMAKE_RANLIB "@CMAKE_RANLIB@")\r
19 SET(CMAKE_COMPILER_IS_GDC @CMAKE_COMPILER_IS_GDC@)\r
20 SET(CMAKE_COMPILER_IS_DMD @CMAKE_COMPILER_IS_DMD@)\r
21 SET(CMAKE_D_COMPILER_LOADED 1)\r
22 SET(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@)\r
23 SET(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@)\r
24 IF(CMAKE_COMPILER_IS_CYGWIN)\r
25   SET(CYGWIN 1)\r
26   SET(UNIX 1)\r
27 ENDIF(CMAKE_COMPILER_IS_CYGWIN)\r
28 \r
29 SET(CMAKE_D_COMPILER_ENV_VAR "DC")\r
30 \r
31 IF(CMAKE_COMPILER_IS_MINGW)\r
32   SET(MINGW 1)\r
33 ENDIF(CMAKE_COMPILER_IS_MINGW)\r
34 SET(CMAKE_COMPILER_IS_GDC_RUN 1)\r
35 SET(CMAKE_D_SOURCE_FILE_EXTENSIONS d)\r
36 SET(CMAKE_D_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)\r
37 SET(CMAKE_D_LINKER_PREFERENCE None)\r
38 IF(UNIX)\r
39   SET(CMAKE_D_OUTPUT_EXTENSION .o)\r
40 ELSE(UNIX)\r
41   SET(CMAKE_D_OUTPUT_EXTENSION .obj)\r
42 ENDIF(UNIX)\r
43 # save the size of void* in case where cache is removed\r
44 # and the this file is still around\r
45 #SET(CMAKE_SIZEOF_VOID_P @CMAKE_SIZEOF_VOID_P@)\r