WebKit2 status

Not sure if I get how to do so for specific directories.

Let’s take my example : I would like to have debug symbols only for “Source/WebKit/Shared/haiku”, so I have create a new CMakeList.txt in that dir with :

string(APPEND CMAKE_CXX_FLAGS_DEBUG " -gdwarf-4")

And before I have changed the PlatformHaiku.cmake file by adding the line :

string(REPLACE "-g" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")

Then launch the compilation below, is that correct ?

Tools/Scripts/build-webkit --haiku --debug --no-fatal-warnings