Mercurial > projects > qtd
comparison CMakeLists.txt @ 282:256ab6cb8e85
Signals look-up andNew syntax for connect. The old one will not work from now on. This will allow for the signals overload. Although changes are done for both D1 and D2 versions, D1 won't work because of compiler bugs. I am tired of waiting for fixes.
author | eldar |
---|---|
date | Fri, 16 Oct 2009 02:43:59 +0000 |
parents | bcc498ccf334 |
children | 3b79bd4298e8 |
comparison
equal
deleted
inserted
replaced
281:7f2e3ffa1c33 | 282:256ab6cb8e85 |
---|---|
47 ) | 47 ) |
48 endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT OR "${CMAKE_INSTALL_PREFIX}" STREQUAL "") | 48 endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT OR "${CMAKE_INSTALL_PREFIX}" STREQUAL "") |
49 | 49 |
50 # Check D compiler version | 50 # Check D compiler version |
51 if(D_VERSION EQUAL "1") | 51 if(D_VERSION EQUAL "1") |
52 if (D_FRONTEND LESS "041") | 52 if (D_FRONTEND LESS "050") |
53 message(STATUS "Minimum required version of D compiler is 1.041 (or compiler based on this version)") | 53 message(STATUS "Minimum required version of D compiler is 1.050 (or compiler based on this version)") |
54 endif(D_FRONTEND LESS "041") | 54 endif(D_FRONTEND LESS "050") |
55 set(D_TARGET d1-tango CACHE INTERNAL "") | 55 set(D_TARGET d1-tango CACHE INTERNAL "") |
56 elseif(D_VERSION EQUAL "2") | 56 elseif(D_VERSION EQUAL "2") |
57 set(D_TARGET d2-phobos CACHE INTERNAL "") | 57 set(D_TARGET d2-phobos CACHE INTERNAL "") |
58 endif(D_VERSION EQUAL "1") | 58 endif(D_VERSION EQUAL "1") |
59 | 59 |