Changeset 270634 in webkit for trunk/Source/JavaScriptCore/shell


Ignore:
Timestamp:
Dec 10, 2020, 10:08:18 AM (4 years ago)
Author:
[email protected]
Message:

[CMake] Use TARGET_PROPERTY to set includes for executables
https://bugs.webkit.org/show_bug.cgi?id=219743

Reviewed by Michael Catanzaro.

Source/JavaScriptCore:

Use $<TARGET_PROPERTY:JavaScriptCore,INCLUDE_DIRECTORIES> for all executables being
built alongside JavaScriptCore. This simplifies the includes for those targets.

Additionally relocate the setting of include directories for LLInt executables
so they're next to the rest of their definitions.

  • CMakeLists.txt:
  • shell/CMakeLists.txt:

Source/WebKit:

Use $<TARGET_PROPERTY:WebKit,INCLUDE_DIRECTORIES> for all executables being
built alongside WebKit. This simplifies the includes for those targets.

  • CMakeLists.txt:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/shell/CMakeLists.txt

    r265479 r270634  
    1313
    1414set(jsc_PRIVATE_INCLUDE_DIRECTORIES
    15     ${JavaScriptCore_INCLUDE_DIRECTORIES}
    16     ${JavaScriptCore_PRIVATE_INCLUDE_DIRECTORIES}
    17     ${JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES}
     15    $<TARGET_PROPERTY:JavaScriptCore,INCLUDE_DIRECTORIES>
    1816)
    1917
Note: See TracChangeset for help on using the changeset viewer.