Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

How can I create a project that compiles a source file with CL and a custom task and have both property sheets available?

$
0
0

I currently have a project where a single source file needs to be compiled with both the CL task and my own task MyCustomTask . The project uses a build customisation (.xml .props .targets), but at the moment I can only use either 'C/C++ Compiler' or 'MyCustomTask' as the item type for a source file. This means that I cannot access any of the original CLCompile properties if I am conmpiling a source file for MyCustomTask.

I had the idea to call the CL task from the MyCustomTask target, although I cannot access any of the properties in CLCompile.

Does anyone know if there is a way to compile the same source file as two item types or with two tasks and still keep the property pages from both.

Thanks in advance,

Gordon



Viewing all articles
Browse latest Browse all 5347

Trending Articles