reactos/hal/halarm/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00

20 lines
322 B
CMake

spec2def(hal.dll ../hal.spec ADD_IMPORTLIB)
add_definitions(
-D_NTHALDLL_
-D_NTHAL_)
include_directories(
include
${REACTOS_SOURCE_DIR}/ntoskrnl/include)
list(APPEND SOURCES
omap3/halinit_up.c
omap3/halup.rc)
add_library(hal MODULE
${SOURCES})
set_module_type(hal kerneldll ENTRYPOINT 0)