reactos/sdk/cmake
Hermès Bélusca-Maïto ee92f4b28e
[SDK:CMAKE/IDL] Fix dependency tracking in generate_idl_iids() and extra cleanup.
Do the same in add_idl_reg_script() (currently unused helper) as well.

This is an addendum to commit b587e7b32, where the removal of the
IDL_FILE_FULL variable definition, broke dependency tracking with
the DEPENDS option. Now we use the correct variable.

The problem was caught after doing a partial (non-clean) build after
commit 0d10fb814. In this commit, two new interfaces, IExecuteCommand
and IObjectWithSelection, were added in the psdk/shobjidl.idl file
and used elsewhere. Recompilation correctly regenerated the corresponding
header, psdk/shobjidl.h, but did not trigger a regeneration of the uuid
static library (via the regeneration of sdk/lib/uuid/shobjidl_i.c),
due to broken dependency tracking on the shobjidl.idl file.
Because of this, the shobjidl_i.c did not contain the new GUID
definitions for these new interfaces, IID_IExecuteCommand and
IID_IObjectWithSelection, and triggered linking errors for the
com_apitest, actxprxy and shell32 modules:

```
error LNK2001: unresolved external symbol _IID_IExecuteCommand
error LNK2001: unresolved external symbol _IID_IObjectWithSelection
fatal error LNK1120: 2 unresolved externals
```
2024-06-04 22:21:59 +02:00
..
baseaddress.cmake [CMAKE] Update sdk/cmake/baseaddress[_msvc].cmake (#6869) 2024-05-24 16:10:05 -07:00
baseaddress64.cmake [MSI_WINETEST][BASEADDRESS] Rename the 'custom' and 'selfreg' build targets. 2023-12-27 21:50:32 +01:00
baseaddress_dwarf.cmake [MSI_WINETEST][BASEADDRESS] Rename the 'custom' and 'selfreg' build targets. 2023-12-27 21:50:32 +01:00
baseaddress_msvc.cmake [CMAKE] Update sdk/cmake/baseaddress[_msvc].cmake (#6869) 2024-05-24 16:10:05 -07:00
CMakeMacros.cmake Rework apisets to use a table 2024-04-27 22:51:34 +02:00
compilerflags.cmake
config.cmake
gcc.cmake [CMAKE] Clang*: Add '-Werror=unknown-warning-option' for C/CXX (#6383) 2024-05-31 16:26:11 +02:00
host-tools.cmake
host-tools.in
init-section.lds
localization.cmake
midl-support.cmake [SDK:CMAKE/IDL] Fix dependency tracking in generate_idl_iids() and extra cleanup. 2024-06-04 22:21:59 +02:00
msvc.cmake [CMAKE] Clang*: Add '-Werror=unknown-warning-option' for C/CXX (#6383) 2024-05-31 16:26:11 +02:00
widl-support.cmake [SDK:CMAKE/IDL] Fix dependency tracking in generate_idl_iids() and extra cleanup. 2024-06-04 22:21:59 +02:00
writing_CmakeLists_for_ReactOS.txt [SDK:CMAKE] writing_CmakeLists_for_ReactOS.txt: Fix typos (#6105) 2023-12-17 22:12:25 +01:00