reactos/sdk/lib/drivers/arbiter/CMakeLists.txt
Hermès Bélusca-Maïto 6f67132686
[LIB:ARBITER] Addendum to 374f2b4d: Fix build.
- No need to use a PCH when compiling a 1-file library.
- Add the _NTSYSTEM_ definition.

- Since the arbiter.h file is to be included by the users of this
  library, namely only kernel-mode NT components (incl. NTOS), there
  is no need to include the standard kernel-mode headers in it.
  Include these headers instead in the private implementation of the
  library, arbiter.c.
2020-04-09 20:41:17 +02:00

9 lines
137 B
CMake

add_definitions(-D_NTSYSTEM_)
list(APPEND SOURCE
arbiter.c)
add_library(arbiter ${SOURCE})
add_dependencies(arbiter bugcodes xdk)