@@ -148,6 +148,8 @@ module fpm_command_line
148148 ' unless set by the environment variable FPM_FC. ' ,&
149149 ' --c-compiler NAME Specify the C compiler name. Automatically determined by ' ,&
150150 ' default unless set by the environment variable FPM_CC. ' ,&
151+ ' --cxx-compiler NAME Specify the C++ compiler name. Automatically determined by' ,&
152+ ' default unless set by the environment variable FPM_CXX. ' ,&
151153 ' --archiver NAME Specify the archiver name. Automatically determined by ' ,&
152154 ' default unless set by the environment variable FPM_AR. ' &
153155 ]
@@ -162,6 +164,9 @@ module fpm_command_line
162164 ' --c-flag CFLAGS selects compile arguments specific for C source in the build.' ,&
163165 ' The default value is set by the FPM_CFLAGS environment ' ,&
164166 ' variable. ' ,&
167+ ' --cxx-flag CFLAGS selects compile arguments specific for C++ source in the ' ,&
168+ ' build. The default value is set by the FPM_CXXFLAGS ' ,&
169+ ' environment variable. ' ,&
165170 ' --link-flag LDFLAGS select arguments passed to the linker for the build. The ' ,&
166171 ' default value is set by the FPM_LDFLAGS environment variable.' &
167172 ]
@@ -181,6 +186,12 @@ module fpm_command_line
181186 ' FPM_CFLAGS sets the arguments for the C compiler' , &
182187 ' will be overwritten by --c-flag command line option' , &
183188 ' ' , &
189+ ' FPM_CXX sets the path to the C++ compiler used for the build,' , &
190+ ' will be overwritten by --cxx-compiler command line option' , &
191+ ' ' , &
192+ ' FPM_CXXFLAGS sets the arguments for the C++ compiler' , &
193+ ' will be overwritten by --cxx-flag command line option' , &
194+ ' ' , &
184195 ' FPM_AR sets the path to the archiver used for the build,' , &
185196 ' will be overwritten by --archiver command line option' , &
186197 ' ' , &
0 commit comments