Re: [cmake-developers] CMake 3.13 - Generated moc files not added to VStudio solution

2019-01-29 Thread Venedict Tchistopolskii
Got the fix, hopefully it can be merged in :) https://github.com/Personwithhat/custom_cmake/commit/d7930c36c6aa7956a806a284aa7e1e430ef6c174 VT On Tue, Jan 29, 2019 at 8:00 PM Venedict Tchistopolskii wrote: > Traced it down to this exact commit: > > *2d6cfe2677 Autogen: Split initializer main me

Re: [cmake-developers] CMake 3.13 - Generated moc files not added to VStudio solution

2019-01-29 Thread Venedict Tchistopolskii
Traced it down to this exact commit: *2d6cfe2677 Autogen: Split initializer main method* https://github.com/Kitware/CMake/commit/2d6cfe26770d8062081061f9dbcc4e3e6eaa0091 If I rebase before it then it works as expected >:V Working on a fix. VT On Tue, Jan 29, 2019 at 4:16 PM Venedict Tc

Re: [cmake-developers] CMake 3.13 - Generated moc files not added to VStudio solution

2019-01-29 Thread Venedict Tchistopolskii
*The below is done right after the above:* set_property(TARGET ${TargetProject } APPEND PROPERTY AUTOMOC_MOC_OPTIONS -b${PrecompiledHeader}) On Tue, Jan 29, 2019 at 2:38 PM Venedict Tchistopolskii wrote: > *Lots more testing, traced down a possible issue here involving PCH and > mocs_compilatio

Re: [cmake-developers] CMake 3.13 - Generated moc files not added to VStudio solution

2019-01-29 Thread Venedict Tchistopolskii
*Lots more testing, traced down a possible issue here involving PCH and mocs_compilation.cpp:* get_target_property(HAS_AUTOMOC ${TargetProject} AUTOMOC) if (HAS_AUTOMOC STREQUAL "TRUE") set (MOC_COMPILATION "${CMAKE_CURRENT_BINARY_DIR}/${TargetProject}_autogen/mocs_compilation.cpp") # stdafx.h need

Re: [cmake-developers] CMAKE_HOME_DIRECTORY vs CMAKE_SOURCE_DIR

2019-01-29 Thread Brad King via cmake-developers
On 1/29/19 5:37 AM, Joachim Wuttke wrote: > how do these two relate to each other? Their value is the same, but CMAKE_SOURCE_DIR is a normal CMake variable intended for use by projects. CMAKE_HOME_DIRECTORY is an internal cache entry used to locate the source directory when loading a `CMakeCache.

[cmake-developers] CMAKE_HOME_DIRECTORY vs CMAKE_SOURCE_DIR

2019-01-29 Thread Joachim Wuttke
how do these two relate to each other? - Joachim smime.p7s Description: S/MIME Cryptographic Signature -- 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