开发者

Nmake - compiling all source files in all subfolders

开发者 https://www.devze.com 2022-12-14 12:01 出处:网络
I want to create a generic nmake file that can be used for multiple projects with minimal changes to the .mak file. I want it to compile all of the source files (c/cpp) in a folder as well as all of t

I want to create a generic nmake file that can be used for multiple projects with minimal changes to the .mak file. I want it to compile all of the source files (c/cpp) in a folder as well as all of the source files in all subfolders. I'm not sure if it's possible to use wildcards开发者_运维问答 for directory names or how I would iteratively traverse multiple directory levels. Is this possible using nmake?


You'd better try makecc, CMake or something similar.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号