views:

57

answers:

1

In the linker the binary destination is specified as:

$(OutDir)\$(ProjectName).exe

(example)

define method1 1

define method2 5

supposed that method1, method2 is defined in main.h

is it possible that output filename will be (method1)_(method2).exe as 1_5.exe

A: 

No.

A #define in a header file only exists in the files that include that header file. The project settings do not include that header file so it is impossible.

Goz