mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
23373acbb9
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.
19 lines
322 B
CMake
19 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)
|