On 06/17/2016 12:53 PM, Christian Schmidbauer wrote:
>> Please also add the FIND_LIBRARY_USE_CUSTOM_SUFFIX item documentation,
>> or whatever it becomes after the discussion below.
>>
> Where do you want me to document it?
In the same places that FIND_LIBRARY_USE_LIB32_PATHS documentation was
added. Add a `Help/prop_gbl/FIND_LIBRARY_USE_CUSTOM_SUFFIX.rst` and
associated links to it.
>> Typically the FIND_LIBRARY_USE_LIB{32,64}_PATHS global properties
>> can be set by the platform information modules in CMake itself
>> on platforms that need the behavior. In what context might the
>> FIND_LIBRARY_USE_CUSTOM_SUFFIX/LIB_SUFFIX values be set in practice?
>>
> In custom environments, where neither lib, lib32 or lib64 would serve
> the purpose but some custom library folder.
Actually I was asking in what source code context the actual
set(LIB_SUFFIX ...)
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_CUSTOM_SUFFIX ...)
lines would appear. CMake sets the lib32/lib64 ones in its own
platform modules for the relevant platforms so user code never
needs to do it. Where in user code would it be done?
Thanks,
-Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers