On Thu., 28 Jun. 2018, 8:45 pm Innokentiy Alaytsev, <alait...@gmail.com>
wrote:

> Are you setting CMAKE_<...> variables before creating you targets of after
> that?
>

I used the technique in that Stackoverflow link to print and override them
before anything else happens in the project. They are still empty
immediately before the add_executable() call. Certain options (eg. /Wx-) do
not appear in any of those variables but still show up in the generated
output.

— Jason
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to