Cleanup: trailing space in CMake files
authorCampbell Barton <ideasman42@gmail.com>
Sun, 17 Jun 2018 18:15:24 +0000 (20:15 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 17 Jun 2018 18:15:24 +0000 (20:15 +0200)
CMakeLists.txt
extern/recastnavigation/CMakeLists.txt
intern/audaspace/CMakeLists.txt
intern/cycles/blender/CMakeLists.txt
intern/cycles/kernel/shaders/CMakeLists.txt
intern/dualcon/CMakeLists.txt
intern/mikktspace/CMakeLists.txt
intern/rigidbody/CMakeLists.txt
release/windows/blendthumb/CMakeLists.txt

index 3cfeaaa..603eb38 100644 (file)
@@ -873,11 +873,11 @@ if (NOT CMAKE_BUILD_TYPE MATCHES "Release")
                set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${COMPILER_ASAN_CXXFLAGS}")
                set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${COMPILER_ASAN_CXXFLAGS}")
                if(MSVC)
-                       set(COMPILER_ASAN_LINKER_FLAGS "/FUNCTIONPADMIN:6") 
+                       set(COMPILER_ASAN_LINKER_FLAGS "/FUNCTIONPADMIN:6")
                endif()
                set(PLATFORM_LINKLIBS "${PLATFORM_LINKLIBS};${COMPILER_ASAN_LIBRARY}")
                set(PLATFORM_LINKFLAGS "${COMPILER_ASAN_LIBRARY} ${COMPILER_ASAN_LINKER_FLAGS}")
-               set(PLATFORM_LINKFLAGS_DEBUG "${COMPILER_ASAN_LIBRARY} ${COMPILER_ASAN_LINKER_FLAGS}") 
+               set(PLATFORM_LINKFLAGS_DEBUG "${COMPILER_ASAN_LIBRARY} ${COMPILER_ASAN_LINKER_FLAGS}")
        endif()
 endif()
 
index 19ac6e9..1509263 100644 (file)
@@ -25,7 +25,7 @@
 
 remove_cc_flag_unsigned_char()
 
-set(INC 
+set(INC
        Recast/Include
        Detour/Include
 )
@@ -34,7 +34,7 @@ set(INC_SYS
 
 )
 
-set(SRC 
+set(SRC
        recast-capi.cpp
        recast-capi.h
 
index dd44661..e3c1e81 100644 (file)
@@ -294,7 +294,7 @@ if(WITH_JACK)
 
                jack/AUD_JackDevice.h
                jack/AUD_JackLibrary.h
-       )       
+       )
 
        if(WITH_JACK_DYNLOAD)
                add_definitions(-DWITH_JACK_DYNLOAD)
index ae4977a..77c7277 100644 (file)
@@ -39,7 +39,7 @@ set(SRC
 
 set(ADDON_FILES
        addon/__init__.py
-       addon/engine.py 
+       addon/engine.py
        addon/osl.py
        addon/presets.py
        addon/properties.py
index b28d017..40720bc 100644 (file)
@@ -110,7 +110,7 @@ foreach(_file ${SRC_OSL})
        string(REPLACE ".osl" ".oso" _OSO_FILE ${_OSL_FILE})
        string(REPLACE ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} _OSO_FILE ${_OSO_FILE})
        add_custom_command(
-               OUTPUT ${_OSO_FILE} 
+               OUTPUT ${_OSO_FILE}
                COMMAND ${OSL_COMPILER} -q -O2  -I"${CMAKE_CURRENT_SOURCE_DIR}" -o ${_OSO_FILE} ${_OSL_FILE}
                DEPENDS ${_OSL_FILE} ${SRC_OSL_HEADERS} ${OSL_COMPILER})
        list(APPEND SRC_OSO
index 40c8ef8..213379e 100644 (file)
@@ -30,7 +30,7 @@ set(SRC
        intern/marching_cubes_table.cpp
        intern/octree.cpp
        intern/Projections.cpp
-       
+
        intern/cubes.h
        intern/GeoCommon.h
        intern/manifold_table.h
index 8abd955..299ec7f 100644 (file)
@@ -35,7 +35,7 @@ set(INC
 )
 
 set(INC_SYS
-       
+
 )
 
 set(SRC
index 5d84c2c..91fe102 100644 (file)
@@ -31,7 +31,7 @@ set(INC_SYS
 
 set(SRC
        rb_bullet_api.cpp
-       
+
        RBI_api.h
 )
 
index 1e5f513..f0da43c 100644 (file)
 #-----------------------------------------------------------------------------
 cmake_minimum_required(VERSION 2.8)
 project(BlendThumb)
+
 #Bring the headers, such as Student.h into the project
 include_directories(${ZLIB_INCLUDE})
+
 #Can manually add the sources using the set command as follows:
-set(SOURCES  src/BlenderThumb.cpp
-                                                src/BlendThumb.def
-                                                src/BlendThumb.rc
-                                                src/Dll.cpp
+set(SRC
+       src/BlenderThumb.cpp
+       src/BlendThumb.def
+       src/BlendThumb.rc
+       src/Dll.cpp
 )
-add_library(BlendThumb SHARED ${SOURCES})
+
+add_library(BlendThumb SHARED ${SRC})
 target_link_libraries(BlendThumb ${ZLIB_LIBS})
 install (TARGETS BlendThumb DESTINATION bin)