Permalink
Browse files

STYLE: Make all cmake commands lower case.

  • Loading branch information...
1 parent 93c5beb commit 6dbb9b4229bfa739f6f454499f6fad8ed296f15d @hjmjohnson hjmjohnson committed Oct 26, 2011
@@ -66,7 +66,7 @@ if(NOT StandardBRAINSBuildMacro)
if(NOT INTEGRATE_WITH_SLICER AND NOT BUILD_SHARED_LIBS)
set(BUILD_STATIC_LIBRARY BUILD_STATIC_LIBRARY)
endif(NOT INTEGRATE_WITH_SLICER AND NOT BUILD_SHARED_LIBS)
-
+
SEMMacroBuildCLI(
NAME "${BRAINS_SEM_NAME}"
${BUILD_STATIC_LIBRARY}
@@ -4,7 +4,7 @@ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/obliq_setup.txt.in
${CMAKE_CURRENT_BINARY_DIR}/obliq_setup.txt @ONLY IMMEDIATE)
#configure_file(${CMAKE_CURRENT_SOURCE_DIR}/T1.mdl ${CMAKE_CURRENT_BINARY_DIR}/T1.mdl)
-SET(DART_TESTING_TIMEOUT 10000)
+set(DART_TESTING_TIMEOUT 10000)
set(ALL_TEST_PROGS
BRAINSAlignMSP
View
@@ -60,7 +60,7 @@ add_subdirectory(BRAINSCommonLib)
set(BRAINSCommonLib_DIR ${CMAKE_CURRENT_BINARY_DIR}/BRAINSCommonLib)
include_directories(
- ${CMAKE_CURRENT_SOURCE_DIR}/BRAINSCommonLib
+ ${CMAKE_CURRENT_SOURCE_DIR}/BRAINSCommonLib
${CMAKE_CURRENT_BINARY_DIR}/BRAINSCommonLib)
#-----------------------------------------------------------------------------
View
@@ -2,8 +2,8 @@
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard
-## ENABLE_TESTING()
-## INCLUDE(CTest)
+## enable_testing()
+## include(CTest)
set(CTEST_PROJECT_NAME "BRAINSStandalone")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
View
@@ -139,7 +139,7 @@ endif()
#-----------------------------------------------------------------------------
# Add needed flag for gnu on linux like enviroments to build static common libs
# suitable for linking with shared object libs.
-IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
+if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
if(NOT "${CMAKE_CXX_FLAGS}" MATCHES "-fPIC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()
View
@@ -84,13 +84,13 @@ endif()
# that should passed to ${CMAKE_PROJECT_NAME}.
# The item of this list should have the following form: <EP_VAR>:<TYPE>
# where '<EP_VAR>' is an external project variable and TYPE is either BOOL, STRING, PATH or FILEPATH.
-# TODO Variable appended to this list will be automatically exported in BRAINSToolsConfig.cmake,
+# TODO Variable appended to this list will be automatically exported in BRAINSToolsConfig.cmake,
# prefix 'BRAINSTools_' will be prepended if it applies.
set(${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS)
# The macro '_expand_external_project_vars' can be used to expand the list of <EP_VAR>.
set(${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_ARGS) # List of CMake args to configure BRAINS
-SET(${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARNAMES) # List of CMake variable names
+set(${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARNAMES) # List of CMake variable names
# Convenient macro allowing to expand the list of EP_VAR listed in ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS
# The expanded arguments will be appended to the list ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_ARGS
@@ -19,10 +19,10 @@ SlicerMacroCheckExternalProjectDependency(Cppcheck)
set(proj Cppcheck)
if(NOT DEFINED Cppcheck_EXE AND NOT ${USE_SYSTEM_Cppcheck})
-
+
set(Cppcheck_REPOSITORY git://github.com/danmar/cppcheck.git)
set(Cppcheck_GIT_TAG origin/master)
-
+
ExternalProject_add(${proj}
GIT_REPOSITORY ${Cppcheck_REPOSITORY}
GIT_TAG ${Cppcheck_GIT_TAG}
@@ -34,9 +34,9 @@ if(NOT DEFINED Cppcheck_EXE AND NOT ${USE_SYSTEM_Cppcheck})
DEPENDS
${Cppcheck_DEPENDENCIES}
)
-
+
set(Cppcheck_EXE ${CMAKE_BINARY_DIR}/Utils/bin/cppcheck)
-
+
else()
if(${USE_SYSTEM_Cppcheck})
find_program(Cppcheck_EXE cppcheck DOC "Path of Cppcheck program")
@@ -49,5 +49,5 @@ else()
SlicerMacroEmptyExternalProject(${proj} "${Cppcheck_DEPENDENCIES}")
endif()
-LIST(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS Cppcheck_EXE:FILEPATH)
+list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS Cppcheck_EXE:FILEPATH)
@@ -80,5 +80,5 @@ else()
SlicerMacroEmptyExternalProject(${proj} "${ITKv3_DEPENDENCIES}")
endif()
-LIST(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS ITK_DIR:PATH)
+list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS ITK_DIR:PATH)
@@ -101,5 +101,5 @@ else()
SlicerMacroEmptyExternalProject(${proj} "${ITKv4_DEPENDENCIES}")
endif()
-LIST(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS ITK_DIR:PATH)
+list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS ITK_DIR:PATH)
@@ -28,7 +28,7 @@ if(NOT DEFINED KWStyle_EXE AND NOT ${USE_SYSTEM_KWStyle})
-DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT}
-DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET})
endif()
-
+
ExternalProject_add(${proj}
CVS_REPOSITORY :pserver:anoncvs@public.kitware.com:/cvsroot/KWStyle
CVS_MODULE KWStyle
@@ -41,7 +41,7 @@ if(NOT DEFINED KWStyle_EXE AND NOT ${USE_SYSTEM_KWStyle})
DEPENDS
${KWStyle_DEPENDENCIES}
)
-
+
set(KWStyle_EXE ${CMAKE_BINARY_DIR}/Utils/bin/KWStyle)
else()
if(${USE_SYSTEM_KWStyle})
@@ -55,5 +55,5 @@ else()
SlicerMacroEmptyExternalProject(${proj} "${KWStyle_DEPENDENCIES}")
endif()
-LIST(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS KWStyle_EXE:FILEPATH)
-
+list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS KWStyle_EXE:FILEPATH)
+
@@ -52,5 +52,5 @@ else()
SlicerMacroEmptyExternalProject(${proj} "${ReferenceAtlas_DEPENDENCIES}")
endif()
-LIST(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS ReferenceAtlas_DIR:PATH ATLAS_NAME:STRING)
+list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS ReferenceAtlas_DIR:PATH ATLAS_NAME:STRING)
@@ -75,5 +75,5 @@ else()
SlicerMacroEmptyExternalProject(${proj} "${SlicerExecutionModel_DEPENDENCIES}")
endif()
-LIST(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS SlicerExecutionModel_DIR:PATH)
+list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS SlicerExecutionModel_DIR:PATH)
@@ -22,7 +22,7 @@ if(NOT DEFINED Uncrustify_EXE AND NOT ${USE_SYSTEM_Uncrustify})
set(Uncrustify_REPOSITORY git://uncrustify.git.sourceforge.net/gitroot/uncrustify/uncrustify)
set(Uncrustify_GIT_TAG 60f3681da60462eda539b78e0c6c3eea823481e5)
-
+
ExternalProject_add(${proj}
GIT_REPOSITORY ${Uncrustify_REPOSITORY}
GIT_TAG ${Uncrustify_GIT_TAG}
@@ -33,7 +33,7 @@ if(NOT DEFINED Uncrustify_EXE AND NOT ${USE_SYSTEM_Uncrustify})
DEPENDS
${Uncrustify_DEPENDENCIES}
)
-
+
set(Uncrustify_EXE ${CMAKE_BINARY_DIR}/Utils/bin/uncrustify)
else()
@@ -43,12 +43,12 @@ else()
message(FATAL_ERROR "To use the system uncrustify, set Uncrustify_EXE")
endif()
endif()
-
+
# The project is provided using Uncrustify_EXE, nevertheless since other
# project may depend on Uncrustify, let's add an 'empty' one
SlicerMacroEmptyExternalProject(${proj} "${Uncrustify_DEPENDENCIES}")
-
+
endif()
-LIST(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS Uncrustify_EXE:FILEPATH)
+list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS Uncrustify_EXE:FILEPATH)
@@ -175,5 +175,5 @@ else()
SlicerMacroEmptyExternalProject(${proj} "${VTK_DEPENDENCIES}")
endif()
-LIST(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS VTK_DIR:PATH)
+list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS VTK_DIR:PATH)

0 comments on commit 6dbb9b4

Please sign in to comment.