diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-04 16:01:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-04 16:01:41 (GMT) |
commit | 04d53a38659ca8baa893f3c6c8715c0d150eaddf (patch) | |
tree | 6cb2c428b6f58df5b13aa7293365c2eae5ea821b /Templates/cxxconfigure | |
parent | 5d850d2a5683d788a7d7eb8f80259d05676de4c6 (diff) | |
download | CMake-04d53a38659ca8baa893f3c6c8715c0d150eaddf.zip CMake-04d53a38659ca8baa893f3c6c8715c0d150eaddf.tar.gz CMake-04d53a38659ca8baa893f3c6c8715c0d150eaddf.tar.bz2 |
ENH: separate the ar program for cxx and c
Diffstat (limited to 'Templates/cxxconfigure')
-rwxr-xr-x | Templates/cxxconfigure | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Templates/cxxconfigure b/Templates/cxxconfigure index b56135c..06e707d 100755 --- a/Templates/cxxconfigure +++ b/Templates/cxxconfigure @@ -855,8 +855,8 @@ fi test -n "$CMAKE_AR_TMP" && break done -CMAKE_AR="$CMAKE_AR_TMP" -CMAKE_AR_ARGS="cr" +CMAKE_CXX_AR="$CMAKE_AR_TMP" +CMAKE_CXX_AR_ARGS="cr" # if on SunOS and not using gXX then use the compiler to make .a libs case $system in SunOS-5*) @@ -864,8 +864,8 @@ case $system in : else echo "Using $CXX -xar -o for creating .a libraries" - CMAKE_AR="$CXX" - CMAKE_AR_ARGS="-xar -o" + CMAKE_CXX_AR="$CXX" + CMAKE_CXX_AR_ARGS="-xar -o" fi ;; IRIX*) @@ -873,8 +873,8 @@ case $system in : else echo "Using $CXX -xar -o for creating .a libraries" - CMAKE_AR="$CXX" - CMAKE_AR_ARGS="-ar -o" + CMAKE_CXX_AR="$CXX" + CMAKE_CXX_AR_ARGS="-ar -o" fi ;; esac @@ -1042,8 +1042,8 @@ s%@CMAKE_NO_ANSI_STREAM_HEADERS@%$CMAKE_NO_ANSI_STREAM_HEADERS%g s%@CMAKE_NO_STD_NAMESPACE@%$CMAKE_NO_STD_NAMESPACE%g s%@CMAKE_NO_ANSI_FOR_SCOPE@%$CMAKE_NO_ANSI_FOR_SCOPE%g s%@CMAKE_AR_TMP@%$CMAKE_AR_TMP%g -s%@CMAKE_AR@%$CMAKE_AR%g -s%@CMAKE_AR_ARGS@%$CMAKE_AR_ARGS%g +s%@CMAKE_CXX_AR@%$CMAKE_CXX_AR%g +s%@CMAKE_CXX_AR_ARGS@%$CMAKE_CXX_AR_ARGS%g s%@CMAKE_COMPILER_IS_GNUCXX@%$CMAKE_COMPILER_IS_GNUCXX%g CEOF |