What is NMAKE and how do I use it? - nmake

What is NMAKE and how do I use it?
Is there a good tutorial for NMAKE?

NMAKE is Microsoft's implementation of the make tool.

Related

NetBeans' toolchain for Microsoft Visual C++

has anyone ever written a netbeans' toolchain for MS VC++ compiler?
Following this bug report.
I read this should be possibile since version 6.7.
I thank in advance you all.
I am currently writing a module/toolchain to use Visual C++ on Netbeans.
You can find the project called VCC4N on source forge.
It may be a bit late for you, but I hope it can help other people.

which suits linux ? GNU make vs cmake vs codeblocks vs qmake

In front of me some different Technologies and I'm confused between them.
GNU make, CMAKE, Qmake, Code::blocks methodology
Code::Blocks uses a custom build system, which stores its information in XML-based project files, but can optionally use external makefiles **says WIKI**
1- What's the difference between CMAKE and GNU MAKE ?
2- If I'm planning for long term relationship with linux what is the best for that ?
3- If I needed to cross-platform some apps, will I need the same technique ?
CMake generates platform specific make files. So on Linux, it wil generate files for gnu make, on windows it can generate Visual Studio solutions.
There are some other good options to consider like scons and waf, they are both Python based, cross platform, and are much more pleasant to work with than GNU Make.
CMake is a cross-platform wrapper around more traditional build systems. like make for linux and Visual Studio Solutions for windows.
"One nice feature of CMake is the ability to do out of source builds. That means you can make all your .o files and even the binary executables without cluttering up your source tree."
I found this tutorial very helpful.

Is there any Visual C++ compiler for linux supporting most of VS Visual C++?

Is there any Visual C++ compiler for linux supporting most of VS Visual C++?
If there is no such what is best alternative for porting\adapting your visual C++ code to?
Visual C++ refers to an Integrated Development Environment and C++ Compiler. It is strictly Windows only * implementation* for all practical intents and purposes.
C++ is a language. Linux has several compilers for C++. If you use non-portable extensions, such as #pragma once instead of include guards, using the DLL import/export stuff, or the Windows APIs type system, then your code will be less portable between implementations. Much of this can be controlled with judicious use of the pre processor and some common sense.
The best way is to write portable code and libraries in the first place. It is not as hard as it sounds.
Now for this comment: I will apologise for sounding offensive, but if you can't tell the difference between "C++" and "Visual C++", please learn such elements of the English language (and C++). It will help you in the long run, programming wise.
Compilers for Linux -> GNU C/C++ (GCC/G++). See also Intels compiler.
IDEs for Linux -> generally run on Windows too, check wikipedia.
Mono supports running CIL-only (meaning no mixed-mode assemblies) C++/CLI assemblies, but there's no C++/CLI or Managed C++ compiler on Linux.
You can read information about this in the Mono project page: http://www.mono-project.com/CPlusPlus
If you mean a compiler that supports most of the VS extensions/standards non-compliance you're out of luck. If you mean an environment to compile/port to Linux, I would just use g++ and get yourself an editor such as Emacs. I've also heard good things about Code::blocks.
I don't think there's a compiler for Managed C++ or C++/CLI other than for Windows. The Mono project (.NET for Linux) has a C# compiler, although I don't know how up to date that is.
Anyway, I thought the whole idea about .NET was that it is a platform in itself. Can't you just run your Windows executables on Mono?
When I am porting my Windows code to Linux, I usually use Eclipse in Windows along with minGW.
I use NetBeans with TDM-GCC. Unfortunately I have not been able to get gdb to work under windows.

kdevelop intellisense

How can I enable the intellisence in KDevelop using C++ and QT?
in KDevelop 4 you don't need to enable anything. It should work out-of-the-box for C++ projects. Just make sure the include paths are set up properly, but for CMake projects this is supposed to work automagically.
Firstly, you'll need to provide us with information on what language you're talking about? KDevelop is multi-language IDE.
AFAIK IntelliSense availability is depending on plugins enabled.
--
edited
ok, now when you specified the language ... have a look here :)
http://www.kdevelop.org/mediawiki/index.php/FAQ#How_can_I_enable_code_completion.3F
I believe your problem was about the naming - IntelliSense is registered by Microsoft thus most open-source projects tend to name that feature CodeCompletion :)

Porting C++ application from Windows to GNU/Linux.

I'm trying to port a computer game from windows to GNU/Linux. It uses Ogre3D,CEGUI, ogreogg and ogrenewt. As far as I know all dependencies work on GNU/Linux and in the game itself there is no ooze-specific code.
Here's the questions part:
Is there any easy way to port visual studio 2008 project to GNU/Linux tool-chain?
How do I manage dependencies? In Visual Studio, I'd just add them in property sheets or default directories. I assume on GNU/Linux autoconf and make take care of that, but in which way? Do I have to add each .cpp and .hppmanually or is there some way to automate things? How do I solve the problem of dependencies on different locations on different systems? I'd like to use Eclipse as my IDE under GNU/Linux.
As #pmr has noted, you are really looking for a build system. While the GNU Autotools (Automake, Autoconf, etc.) have traditionally been used, there are a lot of problems with these tools, and they have an incredibly steep learning curve. I would strongly suggest, instead, that you use CMake. CMake is somewhat of a meta build system in that CMake generates projects for a variety of build systems using the CMake project description; CMake, by default, generates a Makefile project from its project description, but it can also generate projects for Visual Studio, Xcode, KDevelop, and others. You may find the C++ Application Project Template and the C++ Library Project Template useful as examples of how to use the CMake build system. Tutorials and other introductory material about CMake may be found on the CMake Wiki, while the CMake Reference Manual gives detailed instructions for all the various commands that CMake supports (you will probably find ADD_EXECUTABLE, ADD_LIBRARY, TARGET_LINK_LIBRARIES, INCLUDE_DIRECTORIES, and LINK_DIRECTORIES to be the most useful of the commands that are available). Also, while I would strongly advise you to use CMake instead of Make, you may find my Makefile tutorial useful in the event you decide to use Make.
What you are essentially asking is: What is a good build system for GNU/Linux. There is no definitive answer to this problem. Make + autoconf are the standard way of doing things but you could be happier with cmake which has the benefit of being cross-plattform.

Resources