mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
style: Remove trailing blank lines from all CMake sources
Our development workflow tooling prevents trailing blank lines from being added, but some such lines remain from before that was enforced. Remove them to make it easier to rename files without triggering enforcement.
This commit is contained in:
committed by
Brad King
parent
908b2ca27c
commit
99ac59d31b
@@ -9,4 +9,3 @@ echo "RESOURCES: $RESOURCES"
|
||||
export DYLD_LIBRARY_PATH=$RESOURCES/lib
|
||||
|
||||
exec "$RESOURCES/bin/Executable"
|
||||
|
||||
|
||||
@@ -6,4 +6,3 @@
|
||||
<string>CMake</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
get_directory_property(LF_VALUE LISTFILE_STACK)
|
||||
|
||||
|
||||
@@ -77,4 +77,3 @@
|
||||
|
||||
// test parenthesis in conditionals
|
||||
#cmakedefine CONDITIONAL_PARENTHESES
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
get_directory_property(LF_VALUE LISTFILE_STACK)
|
||||
|
||||
|
||||
@@ -77,4 +77,3 @@
|
||||
|
||||
// test parenthesis in conditionals
|
||||
#cmakedefine CONDITIONAL_PARENTHESES
|
||||
|
||||
|
||||
@@ -10,4 +10,3 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/generated.h
|
||||
)
|
||||
|
||||
add_library(GeneratedHeader main.cpp ${CMAKE_CURRENT_BINARY_DIR}/generated.h)
|
||||
|
||||
|
||||
@@ -29,4 +29,3 @@ int main ()
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@ int main()
|
||||
{
|
||||
return customTarget();
|
||||
}
|
||||
|
||||
|
||||
@@ -16,4 +16,3 @@ target_link_libraries(case1d case1c)
|
||||
|
||||
add_executable(hello main.c)
|
||||
target_link_libraries(hello case1c case1b case1d case1c)
|
||||
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
add_library( Eight EightSrc.c )
|
||||
target_link_libraries( Eight Seven )
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@
|
||||
link_libraries( NoDepB NoDepC NoDepA SixB SixA )
|
||||
|
||||
add_executable( exec ExecMain.c )
|
||||
|
||||
|
||||
@@ -9,4 +9,3 @@
|
||||
link_libraries( Eight Five )
|
||||
|
||||
add_executable( exec2 ExecMain.c )
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
link_libraries( Five Two Eight Five )
|
||||
|
||||
add_executable( exec3 ExecMain.c )
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
link_libraries( Five Two Five )
|
||||
|
||||
add_executable( exec4 ExecMain.c )
|
||||
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
add_library( Five FiveSrc.c )
|
||||
target_link_libraries( Five Two )
|
||||
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
add_library( Seven SevenSrc.c )
|
||||
target_link_libraries( Seven Two )
|
||||
|
||||
|
||||
@@ -9,4 +9,3 @@ add_library( SixA SixASrc.c )
|
||||
|
||||
add_library( SixB SixBSrc.c )
|
||||
target_link_libraries( SixB Four )
|
||||
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
add_library( Three ThreeSrc.c )
|
||||
target_link_libraries( Three One Four )
|
||||
|
||||
|
||||
@@ -5,4 +5,3 @@ if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
|
||||
set(PACKAGE_VERSION_EXACT 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@@ -5,4 +5,3 @@ if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
|
||||
set(PACKAGE_VERSION_EXACT 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@@ -5,4 +5,3 @@ if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
|
||||
set(PACKAGE_VERSION_EXACT 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@@ -2,4 +2,3 @@ set(PACKAGE_VERSION 2.0)
|
||||
if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 2)
|
||||
set(PACKAGE_VERSION_COMPATIBLE 1)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -2,4 +2,3 @@ set(PACKAGE_VERSION 3.0)
|
||||
if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
|
||||
set(PACKAGE_VERSION_COMPATIBLE 1)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -5,4 +5,3 @@ if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
|
||||
set(PACKAGE_VERSION_EXACT 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@@ -7,4 +7,3 @@ if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
|
||||
set(PACKAGE_VERSION_EXACT 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
PRINT *, 'Hello'
|
||||
|
||||
END
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@
|
||||
CALL WORLD()
|
||||
|
||||
END
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
PRINT *, 'World!'
|
||||
|
||||
END
|
||||
|
||||
|
||||
@@ -8,4 +8,3 @@ class HelloWorld
|
||||
System.out.println("Hello World!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -50,4 +50,3 @@ endif ()
|
||||
if (TEST_DEF AND SOME_CACHE_VARIABLE AND TEST_EXEC)
|
||||
add_definitions(-DCMAKE_IS_FUN)
|
||||
endif ()
|
||||
|
||||
|
||||
@@ -56,4 +56,3 @@ endif ()
|
||||
if (TEST_DEF AND SOME_CACHE_VARIABLE AND TEST_EXEC)
|
||||
add_definitions(-DCMAKE_IS_FUN)
|
||||
endif ()
|
||||
|
||||
|
||||
@@ -52,4 +52,3 @@ configure_file(
|
||||
|
||||
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
|
||||
add_executable(MathTest MathTestExec.cxx)
|
||||
|
||||
|
||||
@@ -37,5 +37,3 @@ GT.M 15-AUG-2014 10:14:32 ZWR
|
||||
^ZZCOVERAGE("ZZCOVTST","T6",4)="1:0:0:0:41"
|
||||
^ZZCOVERAGE("ZZCOVTST","T6",5)="1:0:0:0:34"
|
||||
^ZZCOVERAGE("ZZCOVTST","T6",6)="1:0:0:0:38"
|
||||
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
#define TEST_FLAG_3
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
add_library(simpleLib simpleLib.cxx )
|
||||
|
||||
|
||||
@@ -74,4 +74,3 @@ add_executable(TestWithAuxSourceDir ${SOURCES})
|
||||
if(CMAKE_PAREN)
|
||||
target_link_libraries(TestWithAuxSourceDir testOddPath)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@ create_test_sourcelist(testSrcs
|
||||
EXTRA_INCLUDE testArgs.h FUNCTION testProccessArgs)
|
||||
|
||||
add_executable(TestDriverTest ${testSrcs} ${Extra_SRCS})
|
||||
|
||||
|
||||
@@ -21,4 +21,3 @@ set (TRIGGER_SITE "")
|
||||
# set (SMTP_MAILHOST "")
|
||||
# set (CONTINUOUS_MONITOR_LIST "")
|
||||
# set (CONTINUOUS_BASE_URL "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user