Ignore:
Timestamp:
Apr 14, 2020, 9:53:09 PM (5 years ago)
Author:
bird
Message:

kmk: Added quote* functions for GNU make and bourne shell style quoting/escaping. Also added q* and *file* versions of a bunch of others, to deal with quoted input and output in a flexible manner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/variable.c

    r3302 r3319  
    17651765  && defined (KMK_HELPERS)
    17661766  define_variable_cname ("KMK_FEATURES",
    1767                          "append-dash-n abspath includedep-queue install-hard-linking umask"
     1767                         "append-dash-n abspath includedep-queue install-hard-linking umask quote"
    17681768                         " kBuild-define"
    17691769                         " rsort"
     
    17961796# else /* MSC can't deal with strings mixed with #if/#endif, thus the slow way. */
    17971797#  error "All features should be enabled by default!"
    1798   strcpy (buf, "append-dash-n abspath includedep-queue install-hard-linking umask"
     1798  strcpy (buf, "append-dash-n abspath includedep-queue install-hard-linking umask quote"
    17991799               " kBuild-define");
    18001800#  if defined (CONFIG_WITH_RSORT)
Note: See TracChangeset for help on using the changeset viewer.