Pattern for VC
Posted: Thu Mar 22, 2012 5:25 pm
				
				Hi,
I have to work on a Visual Studio project, which I can not import because it will occasionally be changed by an other program. Since I don't wanna use Visual Studio as editor, I managed to build with CL by doing a custom build calling 'devenv /nologo xxx.sln /build Release'. That works like a charm.
The only problem I have is that CL is not marking the errors in the output window. My knowledge about regex is very little, so I don't know how to change the error patterns to work correct. 
 
An error output looks like this:
The current pattern like this:
Any suggestions?
Frank
			I have to work on a Visual Studio project, which I can not import because it will occasionally be changed by an other program. Since I don't wanna use Visual Studio as editor, I managed to build with CL by doing a custom build calling 'devenv /nologo xxx.sln /build Release'. That works like a charm.
The only problem I have is that CL is not marking the errors in the output window. My knowledge about regex is very little, so I don't know how to change the error patterns to work correct.
 
 An error output looks like this:
Code: Select all
1>..\..\Source\CMainComponent.cpp(63) : error C2146: syntax error : missing ';' before identifier 'setSize'Code: Select all
(^[a-zA-Z\\\.0-9 _/\:\+\-]+ *)(\()([0-9]+)(\))( \: )(error)
File name index 1
Line number index 3Frank
 
  In JUCE the whole project settings and changes are done with the Introjucer, which generates VC and xCode project files. So it is easier for me to use devenv and xcodebuild with the original project files from within CodeLite.
 In JUCE the whole project settings and changes are done with the Introjucer, which generates VC and xCode project files. So it is easier for me to use devenv and xcodebuild with the original project files from within CodeLite.