• Nikolai Kosjar's avatar
    CppTools: Remove workaround for quotes in defines · 2992653a
    Nikolai Kosjar authored
    ...since by now we get the defines in the correct format from
    QMakeProject.
    
    See the change this one depends on.
    
    Tested with:
    
        Qbs:   cpp.defines: [ 'PATH1="/some/path"', "PATH2=\"/some/path\"" ]
        QMake: DEFINES += PATH1=\\\"/some/path\\\" "PATH2=\\\"/some/path\\\""
        CMake: add_definitions(-DPATH1="/some/path" "-DPATH2=\"/some/path\"")
    
    All these lines translate to
    
        #define PATH1 "/some/path"
        #define PATH2 "/some/path"
    
    for the code model.
    
    Change-Id: Ifc3d3acff3abab6897ccbd0c5fafd5c415dfb53c
    Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
    2992653a
cppprojects.cpp 22.4 KB