Click here to Skip to main content
15,896,063 members
Articles / Desktop Programming / ATL

SppMk - a unit testing and GNU make support add-in for Visual Studio 6.0

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
11 Jul 200210 min read 156K   1.1K   51  
A DevStudio add-in described provides two interesting IDE integration features: adding a new tab to VC WorkspaceView window and running an arbitrary process under IDE with output sent to "Build" tab of VC Output window.
#if !defined(_MKVIEW_H)
#define _MKVIEW_H

#include "SuppCmds.h"

class MkView : public CListCtrl
{
    UINT m_uTimerId;
    IApplication *m_pApp;
    
    void CheckRefreshProjList();
    void Fill();
// Construction
public:
	MkView(IApplication *pApp);
    void Create(CWnd *pParent);

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(MkView)
	public:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~MkView();

	// Generated message map functions
protected:
	void DisplayContextMenu(CPoint point);
	void RunMake(SupportedCommands::CmdId id);
    void AddCommand(_bstr_t &sCommandLines, const _bstr_t &sCommand, const _bstr_t &sDir);
	//{{AFX_MSG(MkView)
	afx_msg void OnDestroy();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
    afx_msg void OnRefreshprojlist();
	afx_msg void OnMakeCommand(UINT nId);

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

#endif // _MKVIEW_H/////////////////////////////////////////////////////////////////////////////
// MkView window

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions