Changeset 66715 in webkit


Ignore:
Timestamp:
Sep 2, 2010 11:03:38 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-09-02 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Antonio Gomes.

[EFL] Do not override custom compile flags
https://bugs.webkit.org/show_bug.cgi?id=45125

Set a default build type if and only if user did not define one as
command line options and he did not give custom CFLAGS or CXXFLAGS.
Otherwise, flags from default build type would override user-defined
ones.

  • CMakeLists.txt:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r65306 r66715  
    22PROJECT(WebKit)
    33
    4 IF (NOT CMAKE_BUILD_TYPE)
     4# Set a default build type if and only if user did not define one as command
     5# line options and he did not give custom CFLAGS or CXXFLAGS. Otherwise, flags
     6# from default build type would overwrite user-defined ones.
     7IF (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_C_FLAGS AND NOT CMAKE_CXX_FLAGS)
    58    SET(CMAKE_BUILD_TYPE Release)
    69ENDIF ()
  • trunk/ChangeLog

    r66714 r66715  
     12010-09-02  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [EFL] Do not override custom compile flags
     6        https://bugs.webkit.org/show_bug.cgi?id=45125
     7
     8        Set a default build type if and only if user did not define one as
     9        command line options and he did not give custom CFLAGS or CXXFLAGS.
     10        Otherwise, flags from default build type would override user-defined
     11        ones.
     12
     13        * CMakeLists.txt:
     14
    1152010-09-02  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
    216
Note: See TracChangeset for help on using the changeset viewer.