Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Output Include Paths and CMake

I would like to force CMake to provide verbosity in terms of include paths (-I...). Consider current output:

/D/Software/MinGW/bin/g++.exe -DQT_DEBUG -fmessage-length=0 -mfpmath=sse -msse2 -fopenmp -g3 -gdwarf-2 @CMakeFiles/go.dir/includes_CXX.rsp   -o CMakeFiles/go.dir/main.cpp.obj -c /D/Users/Haroogan/Development/Workspace/New2/main.cpp

Everywhere, instead of showing a list of include paths, it rather shows @CMakeFiles/go.dir/includes_CXX.rsp. Indeed, this file contains include paths.

How can I force CMake or Make or whatever to output include paths?

like image 408
Alexander Shukaev Avatar asked Oct 19 '25 15:10

Alexander Shukaev


1 Answers

set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES 0)
like image 104
Nazar Panchoshnyk Avatar answered Oct 21 '25 05:10

Nazar Panchoshnyk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!