fltk-configのオプション

fltk-config –helpで指定可能なオプションの一覧を見ることができます。 FLTK 1.4.3の場合は次のようになります。

$ ~/MikanBox/bin/fltk-config --help
Usage: fltk-config [OPTIONS]
Options:
    [--version]
    [--api-version]

Options telling what we are doing:
    [--use-gl]        use GL
    [--use-images]    use extra image formats (PNG, JPEG)
    [--use-glut]      use glut compatibility layer
    [--use-forms]     use forms compatibility layer
    [--use-cairo]     use cairo graphics lib

Options telling what information we request:
    [--cc]            return C compiler used to compile FLTK
    [--cxx]           return C++ compiler used to compile FLTK
    [--optim]         return compiler optimization used to compile FLTK
    [--cflags]        return flags to compile C using FLTK
    [--cxxflags]      return flags to compile C++ using FLTK
    [--ldflags]       return flags to link against FLTK
    [--ldstaticflags] return flags to link against static FLTK library
                                           even if there are DSOs installed
    [--libs]          return FLTK libraries full path for dependencies
    [--prefix]        return FLTK install time --prefix directory
    [--includedir]    return FLTK install time include directory

Options to compile and link an application:
    [-g]                        compile the program with debugging information
    [-Dname[=value]]            compile the program with the given define
    [--compile program.cxx ..]  compile and link the program with optional
                                .. compiler flags, source files, and libraries
    [--link flags and libs]     additional linker flags and libraries
                                .. for --compile, added after all other libs
    [--post program]            prepare the program for desktop use (macOS)
文書の編集
文書の先頭へ