mirror of
https://github.com/reactos/reactos.git
synced 2025-08-11 02:45:39 +00:00
[CMAKE] Introduce set_wine_module (Retry) (#7860)
Re-trial of #7800. Deleting __WINESRC__ hacks. JIRA issue: CORE-5743 - Add sdk/cmake/set_wine_module.cmake. - Load set_wine_module.cmake at top-level CMakeLists.txt. - Use set_wine_module cmake function and delete __WINESRC__ as possible. - Delete many include_directories.
This commit is contained in:
parent
125f94d8ab
commit
7efab12e6f
182 changed files with 218 additions and 356 deletions
16
sdk/cmake/set_wine_module.cmake
Normal file
16
sdk/cmake/set_wine_module.cmake
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
# FIXME: CORE-5743
|
||||
|
||||
function(set_wine_module TARGET)
|
||||
include_directories(BEFORE
|
||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
||||
${REACTOS_BINARY_DIR}/sdk/include/reactos/wine)
|
||||
endfunction()
|
||||
|
||||
# FIXME: Replace this call with set_wine_module
|
||||
function(set_wine_module_FIXME TARGET)
|
||||
include_directories(BEFORE
|
||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
||||
${REACTOS_BINARY_DIR}/sdk/include/reactos/wine)
|
||||
target_compile_definitions(${TARGET} PRIVATE __WINESRC__)
|
||||
endfunction()
|
Loading…
Add table
Add a link
Reference in a new issue