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 210352 - An easy way to set custom build destinations in makefile
Summary: An easy way to set custom build destinations in makefile
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 12:18 UTC by kanikani
Modified: 2013-10-31 11:41 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kanikani 2012-03-29 12:18:48 UTC
Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_27
Runtime = Java HotSpot(TM) Client VM 20.2-b06

Every time I add a new source file in my C++ Project I have to manually move this new created source in the "Files"-Window to its right folder. Isn't there a way to assign a systemfolder to a logical folder, so that when a new sourcefile is created in a logical folder it's automatically transferred to it's assigned systemfolder on the harddisk.

i.e.: logical folder "{Source Files}/foo/bar" corresponds to "{Project Folder}/src/foo/bar"
Comment 1 kanikani 2012-03-29 12:28:49 UTC
Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_27
Runtime = Java HotSpot(TM) Client VM 20.2-b06

Currently there is no way to easily customize the output paths of the makefile in a standard c++ project.

For example if I want to change the binary output folder from "dist/Release/MinGW-Windows/projectname" to just "bin/" and "dist/Debug/MinGW-Windows/projectname" to something else. I tried to manually set the variables from the generated Makefile-variables.mk into the Makefile and comment out the "include nbproject/Makefile-variables.mk". Without any success
Comment 2 Andrew Krasny 2012-03-30 10:30:29 UTC
kanikani,

I understand the description (about logical folders). But don't quite get the problem described in the first comment (output dir).
This can be changed by specifying whatever path you want in "output" field of Linker properties. 

Could you try that? Or did I misunderstood the problem?