Solved

DSP -> Makefile

Posted on 1998-04-27
7
1,517 Views
Last Modified: 2013-11-19
Is there a utility that will convert a .dsp (project file)file to a makefile. I'm trying to automate the build process but dont want to export a makefile from the IDE as inconsitancies creeep in. A pointer to an app .. remember prj2mak.exe) is there a dsp2mak.exe?
0
Comment
Question by:dr_funfrock
7 Comments
 
LVL 23

Expert Comment

by:chensu
ID: 1302855
Visual C++ comes with this function. Open your project, select the menu Project\Export Makefile..., it will generate a makefile (.mak).
0
 
LVL 23

Expert Comment

by:chensu
ID: 1302856
Oops, I am sorry, I didn't read your question carefully. Just reject it.
0
 

Author Comment

by:dr_funfrock
ID: 1302857
:)


0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:dr_funfrock
ID: 1302858

 Turns out you can either:

1) Write some VBScript to run msdev with the project on the command line and compile it
2) Use an Addin sample shipped with VC called AutoBuild.

 100 points to anyone who has done this and give me some feedback

Doc

0
 
LVL 11

Expert Comment

by:mikeblas
ID: 1302859
What "feedback" do you want?

AUTOBUILD works, and does what you want. But it causes the whole MSDEV.EXE shell to load, run, and quit each time you invoke it. It's terribly expensive. But it's the only way to do what you want.

I think you'd be better off exporting a makefile. You can flip an option in devstudio to do it automatically whenver the project files change.

.B ekiM
0
 
LVL 8

Accepted Solution

by:
gelbert earned 100 total points
ID: 1302860
You can find how to write VB macros in VC++ 5.0 help in "developer products\Visual C++\developer studio enviroment user guide\automating tasks in developer studio". Also some samples can be found at www.codeguru.com in "macros" section
0
 

Author Comment

by:dr_funfrock
ID: 1302861
Thanks Mike for pointing out the Export Always Option (Doh missed that one). Now if there was only some way to automatically have makefiles be checked in and out of sourcesafe.

Thanks To Gelbert for the links, he gets da points since Mike has a boatload already ;)

Doc
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now