Am 16.05.19 um 20:43 schrieb Venedict Tchistopolskii:
Hey again, just checking in.
Has this been solved with a better solution/etc.? .-.
VT
AFAIK setting source file properties on files that get tagged
GENERATED later has been fixed by this commit:
https://gitlab.kitware.com/cmake/cmake/c
Hey again, just checking in.
Has this been solved with a better solution/etc.? .-.
VT
On Thu, Jan 31, 2019 at 10:11 AM Venedict Tchistopolskii
wrote:
> Thanks! Worked, glad to have a smaller fix.
>
> VT
>
> On Thu, Jan 31, 2019 at 9:10 AM Sebastian Holtermann
> wrote:
>
>> > Any luck? I can t
Thanks! Worked, glad to have a smaller fix.
VT
On Thu, Jan 31, 2019 at 9:10 AM Sebastian Holtermann
wrote:
> > Any luck? I can try helping ya trace it if you need it.
> >
>
> I traced this down to some degree.
> The problem arises from the handling of file path for GENERATED vs non
> GENERATED
> Any luck? I can try helping ya trace it if you need it.
>
I traced this down to some degree.
The problem arises from the handling of file path for GENERATED vs non
GENERATED files.
When the full path for a file is computed in cmSourceFile and the file doesn't
exist (mocs_compilation.cpp doesn'
Any luck? I can try helping ya trace it if you need it.
Hoping to get this solved before the weekend xd
On Wed, Jan 30, 2019 at 7:32 AM Venedict Tchistopolskii
wrote:
> Gotcha, my project builds atm and it's fairly large, didn't know that it
> broke anything else.
>
> Please let me know when so
Gotcha, my project builds atm and it's fairly large, didn't know that it
broke anything else.
Please let me know when someone fixes it :)
VT
On Wed, Jan 30, 2019 at 6:31 AM Sebastian Holtermann
wrote:
> Hello Venedict,
>
> I took a look at this again, thanks for the additional information.
> I
Hello Venedict,
I took a look at this again, thanks for the additional information.
In fact this isn't VS specific. I was able to reproduce the issue using
Linux/Makefiles.
> Got the fix, hopefully it can be merged in :)
> https://github.com/Personwithhat/custom_cmake/commit/d7930c36c6aa7956a806a
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
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
*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
*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
Current automoc settings more or less, it's a solution with a few projects
some of which are marked AUTOMOC:
## Relative to root in solution explorer
set_property(GLOBAL PROPERTY AUTOGEN_TARGETS_FOLDER
"${VS_FOLDER_PREFIX}/Sandbox/AUTOMOC_Targets")
## Relative to each project
set_property(GLOBAL PR
tl;dr, the below does not work for me:
The resulting moc_.cpp files are generated in custom directories
and automatically included in a generated
/mocs_compilation.cpp file, *which is compiled as part
of the target. (nope)*
On Mon, Jan 28, 2019 at 10:06 PM Venedict Tchistopolskii
wrote:
> T
The first CMake generation pass: Generates but no inclusion
*Forcing a second pass makes it include the newly generated moc.*
It says *"AutoMoc: Generating 'X' because the MOC settings changed"*
I'm not too clear on why this is happening, any ideas on how to fix it, or
force it to reload wh
14 matches
Mail list logo