mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
4ee1da42f1
- rewrite spec2def macro because 1. cmake gracefully handles def files as source files 2. cmake gracefully handles autogenerated files as source 3. it did not take into account the fact that all shared libraries haven't the .dll extension svn path=/branches/cmake-bringup/; revision=49358
10 lines
245 B
CMake
10 lines
245 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
|
|
|
spec2def(kbda1.dll kbda1.spec)
|
|
|
|
add_library(kbda1 SHARED kbda1.c kbda1.rc ${CMAKE_CURRENT_BINARY_DIR}/kbda1.def)
|
|
|
|
set_entrypoint(kbda1 0)
|
|
|
|
add_dependencies(kbda1 psdk buildno_header)
|