makefile - Counterpart of gcc's -save-temps option in make -


i'm studying compiling , linking processes.

running gcc -save-temps option, can temporary files generated during building process.

i think there must counterpart of in make also.

anybody know way?

adding below set cmakelist.txt job ,

set (cmake_cxx_flags "${cmake_cxx_flags} --save-temps") 

Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -