mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
6f67132686
- 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.
8 lines
137 B
CMake
8 lines
137 B
CMake
|
|
add_definitions(-D_NTSYSTEM_)
|
|
|
|
list(APPEND SOURCE
|
|
arbiter.c)
|
|
|
|
add_library(arbiter ${SOURCE})
|
|
add_dependencies(arbiter bugcodes xdk)
|