FLTK/编译
外观
< FLTK
fltk2-config 命令提供有用的信息。
Usage: fltk2-config [OPTIONS] Options: [--prefix[=DIR]] return/set where FLTK is installed [--exec-prefix[=DIR]] [--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 Options telling what information we request: [--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 [--cxx] return name of C++ compiler used to build FLTK [--cc] return name of C compiler used to build FLTK Option to compile and link an application: [-g] compile the program with debugging information [--compile program.cxx] [--post program]
例如,--cxxflags 和 --ldflags 选项提供编译和链接应用程序所需的标志。