cmake: Removed VERBATIM flag, allows OS to perform command substitution -- resolved...
authorFaustino Osuna <riquedafreak@videolan.org>
Fri, 8 Feb 2008 17:56:01 +0000 (17:56 +0000)
committerFaustino Osuna <riquedafreak@videolan.org>
Fri, 8 Feb 2008 17:56:01 +0000 (17:56 +0000)
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt

index 6bd7a61..9004483 100644 (file)
@@ -203,7 +203,6 @@ COMMAND    printf "const char psz_vlc_changeset[] = \"" >> ${rev}.tmp
 COMMAND    sh -c "printf `LANG=C svnversion ${CMAKE_SOURCE_DIR} || printf \"exported\"`" >> ${rev}.tmp
 COMMAND    echo "\";" >> ${rev}.tmp
 COMMAND    mv -f ${rev}.tmp ${rev}
-VERBATIM
 )
 set(rev)
 
@@ -219,7 +218,6 @@ COMMAND    mkdir -p `dirname ${builtin}`
 COMMAND    echo "/* Auto generated by ${CMAKE_CURRENT_BUILD_DIR}/CMakeLists.txt */" > ${builtin}
 COMMAND    echo "int vlc_entry__main( module_t* );" >> ${builtin}
 COMMAND    echo "#define ALLOCATE_ALL_BUILTINS() do {} while(0)" >> ${builtin}
-VERBATIM
 )
 set(should)
 
@@ -230,7 +228,7 @@ set(about "${CMAKE_BINARY_DIR}/include/vlc_about.h")
 add_custom_command(
 OUTPUT ${about}
 COMMAND rm -f -- "${about}.tmp"
-COMMAND    mkdir -p `dirname ${about}`
+COMMAND mkdir -p `dirname ${about}`
 COMMAND mkdir -p -- ../include
 COMMAND echo "/* Automatically generated file - DO NOT EDIT */" > "${about}.tmp"
 COMMAND echo "static const char psz_license[] =" >> "${about}.tmp"
@@ -244,7 +242,7 @@ COMMAND grep N: ${CMAKE_SOURCE_DIR}/AUTHORS | cut -d "\ " -f 2- | sed "s/\"/''/g
 COMMAND echo ";" >> "${about}.tmp"
 COMMAND mv -f -- "${about}.tmp" "${about}"
 DEPENDS ${CMAKE_SOURCE_DIR}/AUTHORS ${CMAKE_SOURCE_DIR}/THANKS ${CMAKE_SOURCE_DIR}/COPYING
-VERBATIM)
+)
 set(about)