Changeset 02743f9c


Ignore:
Timestamp:
10/02/2022 03:50:46 PM (19 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
370aa28
Parents:
c6c57f7
Message:

Explain how to have CMake always overwrite existing files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • introduction/important/building-notes.xml

    rc6c57f7 r02743f9c  
    771771      </para>
    772772
     773      <para>
     774        By default, CMake treats file installation differently from the other
     775        build systems: if a file already exists and is not newer than a file
     776        that would overwrite it, then the file is not installed. This may be
     777        a problem if a user wants to record which file belongs to a package,
     778        either using <envar>LD_PRELOAD</envar>, or by listing files newer
     779        than a timestamp. The default can be changed by setting the variable
     780        <envar>CMAKE_INSTALL_ALWAYS</envar> to 1 in the
     781        <emphasis>environment</emphasis>, for example by
     782        <command>export</command>'ing it.
     783      </para>
     784
    773785    <bridgehead renderas="sect3" id="meson-info">Meson</bridgehead>
    774786
Note: See TracChangeset for help on using the changeset viewer.