[CMAKE]
[reactos.git] / include / reactos / mc / CMakeLists.txt
1 # bugcodes
2 ADD_CUSTOM_COMMAND(
3 OUTPUT ${REACTOS_BINARY_DIR}/include/reactos/bugcodes.h
4 COMMAND native-wmc -i -H ${REACTOS_BINARY_DIR}/include/reactos/bugcodes.h -o ${REACTOS_BINARY_DIR}/include/reactos/mc/bugcodes.rc ${REACTOS_SOURCE_DIR}/include/reactos/mc/bugcodes.mc
5 DEPENDS native-wmc
6 )
7
8 SET_SOURCE_FILES_PROPERTIES(
9 ${REACTOS_BINARY_DIR}/include/reactos/bugcodes.h
10 PROPERTIES
11 GENERATED TRUE
12 )
13
14 ADD_CUSTOM_TARGET(bugcodes ALL DEPENDS ${REACTOS_BINARY_DIR}/include/reactos/bugcodes.h)
15
16 # errcodes
17 ADD_CUSTOM_COMMAND(
18 OUTPUT ${REACTOS_BINARY_DIR}/include/reactos/errcodes.h
19 COMMAND native-wmc -i -H ${REACTOS_BINARY_DIR}/include/reactos/errcodes.h -o ${REACTOS_BINARY_DIR}/include/reactos/mc/errcodes.rc ${REACTOS_SOURCE_DIR}/include/reactos/mc/errcodes.mc
20 DEPENDS native-wmc
21 )
22
23 SET_SOURCE_FILES_PROPERTIES(
24 ${REACTOS_BINARY_DIR}/include/reactos/errcodes.h
25 PROPERTIES
26 GENERATED TRUE
27 )
28
29 ADD_CUSTOM_TARGET(errcodes ALL DEPENDS ${REACTOS_BINARY_DIR}/include/reactos/errcodes.h)
30
31 # netevent
32 ADD_CUSTOM_COMMAND(
33 OUTPUT ${REACTOS_BINARY_DIR}/include/reactos/netevent.h
34 COMMAND native-wmc -i -H ${REACTOS_BINARY_DIR}/include/reactos/netevent.h -o ${REACTOS_BINARY_DIR}/include/reactos/mc/netevent.rc ${REACTOS_SOURCE_DIR}/include/reactos/mc/netevent.mc
35 DEPENDS native-wmc
36 )
37
38 SET_SOURCE_FILES_PROPERTIES(
39 ${REACTOS_BINARY_DIR}/include/reactos/netevent.h
40 PROPERTIES
41 GENERATED TRUE
42 )
43
44 ADD_CUSTOM_TARGET(netevent ALL DEPENDS ${REACTOS_BINARY_DIR}/include/reactos/netevent.h)
45
46 # ntstatus
47 ADD_CUSTOM_COMMAND(
48 OUTPUT ${REACTOS_BINARY_DIR}/include/reactos/ntstatus.h
49 COMMAND native-wmc -i -H ${REACTOS_BINARY_DIR}/include/reactos/ntstatus.h -o ${REACTOS_BINARY_DIR}/include/reactos/mc/ntstatus.rc ${REACTOS_SOURCE_DIR}/include/reactos/mc/ntstatus.mc
50 DEPENDS native-wmc
51 )
52
53 SET_SOURCE_FILES_PROPERTIES(
54 ${REACTOS_BINARY_DIR}/include/reactos/ntstatus.h
55 PROPERTIES
56 GENERATED TRUE
57 )
58
59 ADD_CUSTOM_TARGET(ntstatus ALL DEPENDS ${REACTOS_BINARY_DIR}/include/reactos/ntstatus.h)
60
61 # pciclass
62 ADD_CUSTOM_COMMAND(
63 OUTPUT ${REACTOS_BINARY_DIR}/include/reactos/pciclass.h
64 COMMAND native-wmc -i -H ${REACTOS_BINARY_DIR}/include/reactos/pciclass.h -o ${REACTOS_BINARY_DIR}/include/reactos/mc/pciclass.rc ${REACTOS_SOURCE_DIR}/include/reactos/mc/pciclass.mc
65 DEPENDS native-wmc
66 )
67
68 SET_SOURCE_FILES_PROPERTIES(
69 ${REACTOS_BINARY_DIR}/include/reactos/pciclass.h
70 PROPERTIES
71 GENERATED TRUE
72 )
73
74 ADD_CUSTOM_TARGET(pciclass ALL DEPENDS ${REACTOS_BINARY_DIR}/include/reactos/pciclass.h)