Jean-Michaël Celerier

Results 686 comments of Jean-Michaël Celerier

only because I hand-optimized them :p the auto-generated one was north of 130-140mb IIRC and was just making the build slower

no it's not, it says so in the README.

Changing : https://github.com/sakra/cotire/blob/master/CMake/cotire.cmake#L2992 list (APPEND _unityTargetSources "${_target}_automoc.cpp") set_property (SOURCE "${_target}_automoc.cpp" PROPERTY GENERATED TRUE) into list (APPEND _unityTargetSources "${_target}_autogen/moc_compilation.cpp") set_property (SOURCE "${_target}_autogen/moc_compilation.cpp" PROPERTY GENERATED TRUE) seems to make my build pass,...

god dammit... CMake 3.9.0 broke it again. Now it's called `mocs_compilation.cpp`.

even better: it's becoming `$`-dependent: https://gitlab.kitware.com/cmake/cmake/commit/d7e1b93f23df9c6cfd79fc650ed2a5d8682b3d2a

seems to build when replacing ```CMake if (CMAKE_VERSION VERSION_LESS "3.8.0") list (APPEND _unityTargetSources "${_target}_automoc.cpp") set_property (SOURCE "${_target}_automoc.cpp" PROPERTY GENERATED TRUE) else() list (APPEND _unityTargetSources "${_target}_autogen/moc_compilation.cpp") set_property (SOURCE "${_target}_autogen/moc_compilation.cpp" PROPERTY GENERATED...

From the changelogs I could read, I fear that the upcoming 3.10 update will break this again.... @sebholt would it be possible to keep this kind of stuff a bit...

> Technically it's in the CMake code but for the two generators that support multi configuration (VS and XCode) it's disabled because neither does support per-config sources. Okay, it "just...