Petr,
That worked for me, thanks!!!
Gil.
--
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 Supp
Hi Gil.
The DEPENDS argument of add_custom_target() is for specifying dependency
*files*, not *targets*.
As the docs (
https://cmake.org/cmake/help/latest/command/add_custom_target.html) say,
what you need is add_dependencies().
Also note that you can add the COMMAND directly to the custom targe
Hi,
I'm posting this after getting no useful reply in StackOverflow:
https://stackoverflow.com/questions/50198141/cmake-custom-target-doesnt-build.
Using CMake 2.8.8, I'm building two targets using:
add_library(tgt1 SHARED a.cpp)
add_library(tgt2 SHARED b.cpp)
After both are built, I need to ru
El 13/05/2018 a las 21:24, Gonzalo Garramuño escribió:
I am running into trouble specifying the /W1 flag in add_definitions.
This was my problem. I should have been using add_compile_options.
--
Gonzalo Garramuño
--
Powered by www.kitware.com
Please keep messages on-topic and check the CM