mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:12:55 +00:00
[CMAKE] Introduce the REACTOS_MODULE_TYPE target property
And set it in set_module_type function
This commit is contained in:
parent
c321d3e88b
commit
840fe4d6ac
2 changed files with 10 additions and 0 deletions
|
@ -567,6 +567,9 @@ function(set_module_type MODULE TYPE)
|
|||
message(FATAL_ERROR "Unknown type ${TYPE} for module ${MODULE}")
|
||||
endif()
|
||||
|
||||
# Set our target property
|
||||
set_target_properties(${MODULE} PROPERTIES REACTOS_MODULE_TYPE ${TYPE})
|
||||
|
||||
if(DEFINED __subsystem)
|
||||
set_subsystem(${MODULE} ${__subsystem})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue