[x265] [PATCH 4 of 4] cmake: enable vim syntax hightlighting

Steve Borho steve at borho.org
Sat Oct 12 23:10:29 CEST 2013


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1381607566 18000
#      Sat Oct 12 14:52:46 2013 -0500
# Node ID ec98f30c518556476e1ba2acd6c79e38f3b2b137
# Parent  c032a0fbc8630309a779f6ccbde305e9729d088d
cmake: enable vim syntax hightlighting

diff -r c032a0fbc863 -r ec98f30c5185 source/CMakeLists.txt
--- a/source/CMakeLists.txt	Sat Oct 12 14:51:23 2013 -0500
+++ b/source/CMakeLists.txt	Sat Oct 12 14:52:46 2013 -0500
@@ -1,3 +1,4 @@
+# vim: syntax=cmake
 if(NOT CMAKE_BUILD_TYPE)
     # default to Release build for GCC builds
     set(CMAKE_BUILD_TYPE Release CACHE STRING
diff -r c032a0fbc863 -r ec98f30c5185 source/common/CMakeLists.txt
--- a/source/common/CMakeLists.txt	Sat Oct 12 14:51:23 2013 -0500
+++ b/source/common/CMakeLists.txt	Sat Oct 12 14:52:46 2013 -0500
@@ -1,3 +1,4 @@
+# vim: syntax=cmake
 if(ENABLE_PRIMITIVES_VEC)
     add_definitions(-DENABLE_VECTOR_PRIMITIVES=1)
 endif(ENABLE_PRIMITIVES_VEC)
diff -r c032a0fbc863 -r ec98f30c5185 source/encoder/CMakeLists.txt
--- a/source/encoder/CMakeLists.txt	Sat Oct 12 14:51:23 2013 -0500
+++ b/source/encoder/CMakeLists.txt	Sat Oct 12 14:52:46 2013 -0500
@@ -1,3 +1,4 @@
+# vim: syntax=cmake
 if(GCC)
     # encoder.cpp must include HM headers which are not careful about named parameters
     set_source_files_properties(encoder.cpp PROPERTIES COMPILE_FLAGS -Wno-unused-parameter)


More information about the x265-devel mailing list