On borland and cygwin remove .EXE
This commit is contained in:
parent
3a99c693c1
commit
2c676d0587
|
@ -89,14 +89,19 @@ IF(BUILD_TESTING)
|
||||||
IF(NOT DART_COMPILER)
|
IF(NOT DART_COMPILER)
|
||||||
SET(DART_COMPILER "unknown")
|
SET(DART_COMPILER "unknown")
|
||||||
ENDIF(NOT DART_COMPILER)
|
ENDIF(NOT DART_COMPILER)
|
||||||
|
IF(WIN32)
|
||||||
|
SET(DART_NAME_COMPONENT "NAME_WE")
|
||||||
|
ELSE(WIN32)
|
||||||
|
SET(DART_NAME_COMPONENT "NAME")
|
||||||
|
ENDIF(WIN32)
|
||||||
IF(UNIX OR BORLAND)
|
IF(UNIX OR BORLAND)
|
||||||
GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_CXX_COMPILER}" NAME)
|
GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_CXX_COMPILER}" ${DART_NAME_COMPONENT})
|
||||||
ELSE(UNIX OR BORLAND)
|
ELSE(UNIX OR BORLAND)
|
||||||
GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_BUILD_TOOL}" NAME_WE)
|
GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_BUILD_TOOL}" ${DART_NAME_COMPONENT})
|
||||||
ENDIF(UNIX OR BORLAND)
|
ENDIF(UNIX OR BORLAND)
|
||||||
SET(BUILDNAME "${CMAKE_SYSTEM_NAME}-${DART_CXX_NAME}")
|
SET(BUILDNAME "${CMAKE_SYSTEM_NAME}-${DART_CXX_NAME}")
|
||||||
|
MESSAGE(STATUS "Using Buildname: ${BUILDNAME}")
|
||||||
ENDIF(NOT BUILDNAME)
|
ENDIF(NOT BUILDNAME)
|
||||||
#BUILD_NAME(BUILDNAME)
|
|
||||||
# set the build command
|
# set the build command
|
||||||
BUILD_COMMAND(MAKECOMMAND ${MAKEPROGRAM} )
|
BUILD_COMMAND(MAKECOMMAND ${MAKEPROGRAM} )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue