makefile - Include multiple directories in RCFLAGS -


i using nmake compile makefile.msc file

i have include below directories

c:\program files (x86)\windows kits\8.1\include\um c:\program files (x86)\windows kits\8.1\include\shared c:\program files (x86)\windows kits\8.1\include\winrt 

in /i atrribute of rcflags

what have tried below :

1st try:

rcflags  = /i "c:\program files (x86)\windows kits\8.1\include\um" /i "c:\program files (x86)\windows kits\8.1\include\shared" /i "c:\program files (x86)\windows kits\8.1\include\winrt" 

2nd try:

rcpath  = "'c:\program files (x86)\windows kits\8.1\include\um':'c:\program files (x86)\windows kits\8.1\include\shared':'c:\program files (x86)\windows kits\8.1\include\winrt'"  rcflags = /i $(rcpath) 

everytime, rc complaints different missing headers.

please give guideline on how achieve trying do. many in advance.

edit : many resources elaborate how cflags not specific rcflags. moreover, there little if rc /?.

finally resolved below format :

-i "c:\program files (x86)\windows kits\8.1\include\shared" -i "c:\program files (x86)\windows kits\8.1\include\winrt" -i "c:\program files (x86)\microsoft visual studio 12.0\vc\include" 

sounds silly though since delimiter / accepted first rcflags attribute /dwin32.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -