Hi,
I have a .pro as shown:
TEMPLATE = app
TARGET = test_01
CONFIG += qt
CONFIG += debug_and_release
win32:CONFIG += console
DEPENDPATH += .
INCLUDEPATH += .
CONFIG( release, release|debug ) {
OBJECTS_DIR = release
MOC_DIR = release
UI_DIR = release
DESTDIR = release
} else {
TARGET = $$join(TARGET,,,d)
OBJECTS_DIR = debug
MOC_DIR = debug
UI_DIR = debug
DESTDIR = debug
}
SOURCES = test_01.cpp
TEMPLATE = app
TARGET = test_01
CONFIG += qt
CONFIG += debug_and_release
win32:CONFIG += console
DEPENDPATH += .
INCLUDEPATH += .
CONFIG( release, release|debug ) {
OBJECTS_DIR = release
MOC_DIR = release
UI_DIR = release
DESTDIR = release
} else {
TARGET = $$join(TARGET,,,d)
OBJECTS_DIR = debug
MOC_DIR = debug
UI_DIR = debug
DESTDIR = debug
}
SOURCES = test_01.cpp
To copy to clipboard, switch view to plain text mode
Now, when I use the command
a VS2005 .proj file named test_01d is created. Why?
I want a .proj file named test_01 to be created but still having the debug target end with a 'd'.
How can I modify the .pro file to attain this?
OK, do an F2, but that's too much hard manual work!
Thanks,
Vanir
Bookmarks