Skip to content

Commit

Permalink
Under Windows, use CMAKE_CONFIGURATION_TYPES to set the CTest BUILDNA…
Browse files Browse the repository at this point in the history
…ME variable. This makes sense only if CMAKE_CONFIGURATION_TYPES is single (Debug or Release)
  • Loading branch information
fspindle committed May 16, 2008
1 parent 2ca1c55 commit e6a07a1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CTestConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#############################################################################
#
# $Id: CTestConfig.cmake,v 1.3 2008-05-05 14:26:46 fspindle Exp $
# $Id: CTestConfig.cmake,v 1.4 2008-05-16 13:05:42 fspindle Exp $
#
# Copyright (C) 1998-2008 Inria. All rights reserved.
#
Expand Down Expand Up @@ -67,9 +67,14 @@ ELSE(BUILD_SHARED_LIBS)
ENDIF(BUILD_SHARED_LIBS)

# Add the build type, e.g. "Debug, Release..."
# for Unix
IF(CMAKE_BUILD_TYPE)
SET(BUILDNAME "${BUILDNAME}-${CMAKE_BUILD_TYPE}")
ENDIF(CMAKE_BUILD_TYPE)
# for Windows
IF(CMAKE_CONFIGURATION_TYPES)
SET(BUILDNAME "${BUILDNAME}-${CMAKE_CONFIGURATION_TYPES}")
ENDIF(CMAKE_CONFIGURATION_TYPES)

#---- Robots ----
# Add specific Afma4 robots
Expand Down

0 comments on commit e6a07a1

Please sign in to comment.