[Webkit-unassigned] [Bug 179971] [CMake] Values of CMAKE_BUILD_TYPE from toolchain file are ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 23 07:58:14 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179971

--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
The code at the top of our toplevel CMakeLists.txt is this:

if (NOT CMAKE_BUILD_TYPE)
    message(WARNING "No CMAKE_BUILD_TYPE value specified, defaulting to RelWithDebInfo.")
    set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Choose the type of build." FORCE)
else ()
    message(STATUS "The CMake build type is: ${CMAKE_BUILD_TYPE}")
endif ()

So... that's fairly straightforward.

Are the other variables in the toolchain file already set before that point?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171123/dfce0de9/attachment.html>


More information about the webkit-unassigned mailing list