[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 14 Aug 2010 10:49:27 +0000 (10:49 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 14 Aug 2010 10:49:27 +0000 (10:49 +0000)
- mc : Make the generated bin file names prefixed by the base name of the source file.

svn path=/branches/cmake-bringup/; revision=48544

include/reactos/mc/CMakeLists.txt

index f671e9a..9765137 100644 (file)
@@ -5,7 +5,7 @@ MACRO (MACRO_ADD_MESSAGE_HEADERS)
     get_filename_component(FILE ${_in_FILE} NAME_WE)
     add_custom_command(
       OUTPUT ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.rc ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.h
-      COMMAND ${MINGW_PREFIX}windmc -A ${REACTOS_SOURCE_DIR}/include/reactos/mc/${FILE}.mc -r ${REACTOS_BINARY_DIR}/include/reactos -h ${REACTOS_BINARY_DIR}/include/reactos
+      COMMAND ${MINGW_PREFIX}windmc -A -b ${REACTOS_SOURCE_DIR}/include/reactos/mc/${FILE}.mc -r ${REACTOS_BINARY_DIR}/include/reactos -h ${REACTOS_BINARY_DIR}/include/reactos
     )
     set_source_files_properties(
       ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.h ${REACTOS_BINARY_DIR}/include/reactos/${FILE}.rc