When I tried to transfer a WIN32 static library project to a CE/Mobile project
so that I could use stitch 2 configuration with one project to both build CE/Mobile lib
and WIN32 lib just as I wanted. However,
I met the following errors:
error PRJ0004 : Could not generate command line for the 'VCCLCompilerTool' tool
(1) Looks like VS cannot automatically change some configuration, modify macros as:
_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;DEBUG;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL
(2) Change Debug information setting, add switch "/Zi"
Solutions:
After that, the issue was gone.
Reference: