<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
As noted, postfixing doesn't appear to work at all on Cygwin. Is there
any way to get both cygchicken-0.dll and libchicken.dll.a ?<br>
<br>
Cheers,<br>
Brandon Van Every<br>
<br>
<br>
William A. Hoffman wrote:
<blockquote
cite="mid6.2.0.14.2.20060731202142.0321fe60@pop.nycap.rr.com"
type="cite">
<pre wrap="">The CMAKE_BUILD_TYPE is by default empty on all UNIX/posix platforms.
Sort of goes back to when there was no build type for unix. I suppose
the chicken project could force it to not be empty. if empty, then do
a cache force to what you want.
-Bill
At 06:51 PM 7/31/2006, Brandon J. Van Every wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm building with ccmake 2.4.2 on Cygwin. When I do:
IF(CYGWIN)
MESSAGE("Build type is ${CMAKE_BUILD_TYPE}")
SET_TARGET_PROPERTIES(libchicken PROPERTIES DEBUG_POSTFIX "-0")
SET_TARGET_PROPERTIES(libchicken PROPERTIES RELEASE_POSTFIX "-0")
SET_TARGET_PROPERTIES(libchicken PROPERTIES MINSIZEREL_POSTFIX "-0")
SET_TARGET_PROPERTIES(libchicken PROPERTIES RELWITHDEBINFO_POSTFIX "-0")
ENDIF(CYGWIN)
I get "Build type is ". Also the postfixes are ignored.
Motive: Cygwin has this progressive-or-awkward nomenclature for its dlls, depending on your perspective. Instead of libwhatever.dll, they do cygwhatever-xxx.dll, where xxx is a version number. A typical default is cygwhatever-0.dll. I am trying to imitate a ./configure build that generates such a name. Without such imitation the resulting app doesn't work. Whether the app can rename things to cygwhatever.dll is unresolved. In any event, Cygwin standard practice (I refrain from calling it a "best" practice) is to put these -xxx postfixes on stuff.
And they don't do it on their import stubs, they ship things like:
cygwhatever-123.dll
libwhatever.dll.a
So what I need is a postfix that only affects the .dll output.
Cheers,
Brandon Van Every
_______________________________________________
CMake mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CMake@cmake.org">CMake@cmake.org</a>
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>