Much thanks Валера, with your hints I was able to configure my C/C++ project to work as expected.
-Ulf Am 03.03.19 um 22:10 schrieb Валера Солдатов: > In "C/C++ Project with Existing Sources" wizard on first step You can > see "Use Build Analyzer" and "Select Configuration Mode" fields. > If "Use Build Analyzer" checkbox is switched on, then IDE will listen > build command. If build fails, then C/C++ Code Analyzer will ignore > source files. > Because you have non-standard ./configure script, then 'Custom' mode > should be used in "Select Configuration Mode" field. > On next wizard step You can select pre-built command. By default: > ./configure CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS="-g3 -gdwarf-2" > CXXFLAGS="-g3 -gdwarf-2" > You can replace default command on any your command. But: > 1) your command generates Makefile file > 2) Makefile will generate executable file with debug info > 3) If you uses non-default compiler you need to specify path to compiler > > 03.03.2019 16:35, Ulf Zibis пишет: >> Hi, >> >> I have created a new C project "from existing sources". >> With invokation of Pre-Build I see the following problem: >> cd '/home/ich/Projects/ffmpeg/dev' >> ./configure CC=/usr/bin/gcc CXX=/usr/bin/g++ CFLAGS=-g3 -gdwarf-2 >> CXXFLAGS=-g3 -gdwarf-2 >> Unknown option "CC=/usr/bin/gcc". >> See ./configure --help for available options. >> >> PRE-BUILD FAILED (exit value 1, total time: 186ms) >> >> Now I'm wondering, where this command line comes from. Is it set from >> NetBeans by default? >> Does it have any importance to keep it? >> Actually it should be this (by all means, this is what works): >> ./configure >> Under "Set Configuration", when I hit "Reset to default", anything >> becomes removed, not even yet "./configure" remains, weird! >> >> Thanks in advance for answers and comments. >> >> -Ulf >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >> For additional commands, e-mail: users-h...@netbeans.apache.org >> >> For further information about the NetBeans mailing lists, visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists