https://github.com/Kitware/CMake
Revision 9977899df2c6c7687353882eff01150546ef42a9 authored by Ben Boeckel on 13 October 2016, 16:42:54 UTC, committed by Brad King on 13 October 2016, 17:03:57 UTC
In commit v3.7.0-rc1~275^2 (Ninja: Use full path for all source files,
2016-08-05), the source path was changed to use an absolute path.
Inside of `cmcldeps` for `.rc` file compilation, it uses a separate
argument for the path to the source file.  This ended up causing
`cmcldeps` to transform the following call:

    cmcldeps.exe RC source.rc ... C:/full/path/to/source.rc

into:

    ... C:/full/path/to//Tc source.rc

which is invalid.  Update the source filename to use the full path to
the source file so that the path is replaced properly.
1 parent b99bbfe
Raw File
Tip revision: 9977899df2c6c7687353882eff01150546ef42a9 authored by Ben Boeckel on 13 October 2016, 16:42:54 UTC
Ninja: Fix RC language depfile generation with cmcldeps
Tip revision: 9977899
cm_jsoncpp_reader.h
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#ifndef cm_jsoncpp_reader_h
#define cm_jsoncpp_reader_h

/* Use the jsoncpp library configured for CMake.  */
#include "cmThirdParty.h"
#ifdef CMAKE_USE_SYSTEM_JSONCPP
#include <json/reader.h>
#else
#include <cmjsoncpp/include/json/reader.h>
#endif

#endif
back to top