Solved

DSP -> Makefile

Posted on 1998-04-27
7
1,538 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
difference between String.subString() and String.subSequence() 6 200
haveThree challenge 22 118
sumHeights  challenge 17 71
changeXy challenge 13 84
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.

821 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