automoc + swig regression in 3.10 rc3
Trying CMake 3.10 rc3, I get the following build error on macOS using the Xcode generator:
AutoGen error ".../build/bin/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/fooPYTHON_wrap.cxx" Could not read the source file: The file does not exist.
Looks like the use of
CMAKE_CFG_INTDIR is causing automoc some problems.
CMAKE_CFG_INTDIR is used to tell the SWIG module to place the generated .py file in the bin directory with the associated .dylib/.dll/.so.
See attached example.