B
B
BelBES2015-03-16 10:47:26
Programming
BelBES, 2015-03-16 10:47:26

How to add #define from nmake script?

Hello.
Somehow the Internet is not rich in descriptions for the nmake syntax. Can someone tell me how the analogue of the make line will look like for nmake:
CPPFLAGS=-DFOO
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Martyanov, 2015-03-16
@BelBES

CPPFLAGS is an internal makefile variable to which flags are appended to be passed to the compiler. She can be called anything. Same with nmake.
Transferring defines to the studio compiler is done via /D "MACRO_NAME" ( https://msdn.microsoft.com/en-us/library/fwkeyyhe.aspx )

A
Anton, 2018-01-17
@rudants

:after and :before pseudo-elements with absolute positioning.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question