[CMake] Re: Changing Dynamic Lib Extension

Mike Jackson imikejackson at gmail.com
Fri Aug 18 17:14:49 EDT 2006


Never mind.. just found it:

IF (CMAKE_BUILD_TYPE STREQUAL "Debug")
SET_TARGET_PROPERTIES (FoxAnimate
	PROPERTIES SUFFIX ".plugd"
)
ELSE (CMAKE_BUILD_TYPE STREQUAL "Debug")
SET_TARGET_PROPERTIES (FoxAnimate
	PROPERTIES SUFFIX ".plug"
)
ENDIF (CMAKE_BUILD_TYPE STREQUAL "Debug")

Mike Jackson

On 8/18/06, Mike Jackson <imikejackson at gmail.com> wrote:
> Is there a way to change the dylib extension for some dynamic
> libraries that I am compiling?
>
> We have a plug-in arch for our program and we use .plug and .plugd for
> our extensions? I am looking at the ADD_CUSTOM_COMMAND to move the
> file but I am not sure if that is going to work cross platform?
>
> Thanks for any help or pointers.
>
> --
> Mike Jackson
> imikejackson _at_ gee-mail dot com
>


-- 
Mike Jackson
imikejackson _at_ gee-mail dot com


More information about the CMake mailing list