This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 194396 - "Build main project" doesn't work
Summary: "Build main project" doesn't work
Status: RESOLVED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-16 15:04 UTC by yuriy_lalym
Modified: 2011-01-17 10:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuriy_lalym 2011-01-16 15:04:04 UTC
"Build main project" doesn't work if "Build Command" has the following appearance:


/usr/bin/qmake -recursive CONFIG+=debug_and_release QMAKE_CXXFLAGS_DEBUG="-g3 -gdwarf-2" .. && ${MAKE} -f Makefile debug

The problem is present only at two last assembly (on January, 14th and 16th).

////////////////////////////////////////

In Makefile-Debug.mk

# Build Targets
.build-conf: ${BUILD_SUBPROJECTS}
	cd ../../gxbook-src-0.0.1/build && /usr/bin/qmake -recursive CONFIG+=debug_and_release QMAKE_CXXFLAGS_DEBUG="-g3 -gdwarf-2" .. && ${MAKE} -f Makefile debug

# Subprojects
.build-subprojects:

# Clean Targets
.clean-conf: ${CLEAN_SUBPROJECTS}
	cd ../../gxbook-src-0.0.1/build && ${MAKE} -f Makefile clean

# Subprojects
.clean-subprojects:


////////////////////////////////////////

If "Build Command" has the following appearance:

/usr/bin/qmake -recursive CONFIG+=debug_and_release QMAKE_CXXFLAGS_DEBUG="-g3 -gdwarf-2" ../gxbook.pro && ${MAKE} -f Makefile debug

Too doesn't work

////////////////////////////////////////

In all cases transits the message that to the qmake the option -f is unknown.
Comment 1 Alexander Simon 2011-01-17 10:43:29 UTC
It seem you use "qmake" where "make" is expected.
Try to set right "make" tool in Tools->Options->C/C++->Build Tools.