[CMAKE]
[reactos.git] / lib / ntdllsys / 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/ntdllsys/ntdll.S PROPERTIES GENERATED TRUE)
11
12 add_library(ntdllsys ${REACTOS_BINARY_DIR}/lib/ntdllsys/ntdll.S)
13 add_dependencies(ntdllsys ntdllsys_S)