[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] osx-10.5 ranlib vs ranlib -c vs libtool
From:       Bob Tanner <tanner () real-time ! com>
Date:       2009-06-05 23:04:11
Message-ID: h0c89b$td$1 () ger ! gmane ! org
[Download RAW message or body]

On 2009-06-05 17:37:11 -0500, Bob Tanner 
<tanner@real-time.com> said:

> First question, how to I add "-c" to ranlib evocation?

Sorry for the follow-up to my post, but here is the work-around I used.

IF (UNIX)
	MESSAGE (STATUS "Unix")
	IF (APPLE)
	  	SET(CMAKE_C_CREATE_STATIC_LIBRARY
	      "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS> "
	      "<CMAKE_RANLIB> -c <TARGET> "
		)
	ENDIF (APPLE)
ENDIF (UNIX)
-- 
Bob Tanner <tanner@real-time.com>                  | Phone : (952 943-8700
http://www.real-time.com, Linux, OSX, VMware | Fax   : (952)943-8500
Key fingerprint = F785 DDFC CF94 7CE8 AA87 3A9D 3895 26F1 0DDB E378


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic