Library Commands

ue4 cxxflags

Prints the compiler flags for building against the specified libraries.

Usage syntax:

ue4 cxxflags [--multiline] [--nodefaults] [LIBS]


This command prints the compiler flags required to build against the specified list of libraries. (To determine the available library names, run the ue4 libs command.)

If the --multiline flag is specified then each flag will be printed on a separate line. The default is to print all of the flags on a single line, delimited by spaces.

If the --nodefaults flag is specified when running under Linux then the details for building against libc++ will not be included in the output. This flag does nothing under macOS and Windows.