[CMAKE]
[reactos.git] / lib / win32ksys / CMakeLists.txt
1
2 get_directory_property(defines COMPILE_DEFINITIONS)
3
4 foreach(arg ${defines})
5 set(result_defs "${result_defs} -D${arg}")
6 endforeach(arg ${defines})
7
8 set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o <OBJECT> ${result_defs} -D__ASM__ <FLAGS> -c <SOURCE>")
9
10 set_source_files_properties(${REACTOS_BINARY_DIR}/lib/win32ksys/win32k.S PROPERTIES GENERATED TRUE)
11
12 add_library(win32ksys ${REACTOS_BINARY_DIR}/lib/win32ksys/win32k.S)
13 add_dependencies(win32ksys win32k_S)