summaryrefslogtreecommitdiffstats
path: root/Modules/Dart.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-02-27 19:48:33 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-02-27 19:48:33 (GMT)
commitd2faa2273218761b2f65f4db327cb64c09b637ba (patch)
tree2681e6c9ae551c523081bd77aae122fc0dc0faa2 /Modules/Dart.cmake
parente68b4b9bc72f2b43e94f6c048eb012e9cce0dfad (diff)
downloadCMake-d2faa2273218761b2f65f4db327cb64c09b637ba.zip
CMake-d2faa2273218761b2f65f4db327cb64c09b637ba.tar.gz
CMake-d2faa2273218761b2f65f4db327cb64c09b637ba.tar.bz2
On windows but not on borland, look at cmake_build_tool instead of compiler to determine build name. Otherwise they will all be cl
Diffstat (limited to 'Modules/Dart.cmake')
-rw-r--r--Modules/Dart.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake
index c2459c8..8a7a90c 100644
--- a/Modules/Dart.cmake
+++ b/Modules/Dart.cmake
@@ -85,11 +85,11 @@ IF(BUILD_TESTING)
IF(NOT DART_COMPILER)
SET(DART_COMPILER "unknown")
ENDIF(NOT DART_COMPILER)
- IF(WIN32)
- GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_CXX_COMPILER}" NAME_WE)
- ELSE(WIN32)
+ IF(UNIX OR BORLAND)
GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_CXX_COMPILER}" NAME)
- ENDIF(WIN32)
+ ELSE(UNIX OR BORLAND)
+ GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_BUILD_TOOL}" NAME_WE)
+ ENDIF(UNIX OR BORLAND)
SET(BUILDNAME "${CMAKE_SYSTEM_NAME}-${DART_CXX_NAME}")
ENDIF(NOT BUILDNAME)
#BUILD_NAME(BUILDNAME)
@@ -103,7 +103,6 @@ IF(BUILD_TESTING)
BUILD_WARNING_REPORT_LIMIT
BUILD_ERROR_REPORT_LIMIT
SITE
- BUILDNAME
MAKECOMMAND
JAVACOMMAND
PURIFYCOMMAND
@@ -115,6 +114,7 @@ IF(BUILD_TESTING)
SCPCOMMAND
DELIVER_CONTINUOUS_EMAIL
)
+ # BUILDNAME
#
# Section #2: