Files
reactos/drivers/base/CMakeLists.txt
Hermès Bélusca-Maïto 912c8ad987 [KDGDB] Don't make GDB a separate citizen (#5187)
But add KDGDB compilation only for x86 and x64, since for other
architectures (e.g. ARM) it currently emits the following error:
```
drivers/base/kdgdb/kdgdb.h(149): fatal error C1189: #error:
    "Please define relevant macros for your architecture"
```

For the time being, keep the "GDB" build configuration macro, used for
Gitpod testing... but this needs to be replaced with a more robust solution.
Because of this, rename kdgdb.dll to kdcom.dll, and kdcom.dll to kdser.dll
so that GDB is used by default, and we don't get a file name clash too.

Revert also commit 57cf5cdc5d.
2026-03-21 22:46:58 +01:00

22 lines
422 B
CMake

add_subdirectory(beep)
add_subdirectory(bootvid)
add_subdirectory(condrv)
if(_WINKD_)
add_subdirectory(kdcom)
if(ARCH STREQUAL "i386" OR ARCH STREQUAL "amd64")
add_subdirectory(kdgdb)
endif()
if(NOT ARCH STREQUAL "arm")
add_subdirectory(kdvm)
endif()
else()
add_subdirectory(kdrosdbg)
endif()
if(NOT ARCH STREQUAL "arm")
add_subdirectory(nmidebug)
endif()
add_subdirectory(null)