Hi,

        I would like to obtain library name through:
GET_TARGET_PROPERTY(library_name MyLibraryProject ${CMAKE_
BUILD_TYPE}_LOCATION)
This works on Linux. However, ${CMAKE_ BUILD_TYPE}  doesn't get set in MSVC.
        How can I tell whether MSVC is in Debug or Release mode so that I
can use it in
GET_TARGET_PROPERTY?

--
Artur Kedzierski

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to