summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/00-Common.cmake23
-rw-r--r--indra/cmake/LLAddBuildTest.cmake3
2 files changed, 0 insertions, 26 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 503f4208fe..40fc706a99 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -217,27 +217,4 @@ else (USESYSTEMLIBS)
)
endif (USESYSTEMLIBS)
-macro (buildscripts_block target_name)
- # add custom commands to bracket a target build to make logs easier to read
- # this is disabled for windows because VS interleaves output in a way that defeats it
- if (NOT WINDOWS AND DEFINED ENV{TEAMCITY_BUILDCONF_NAME})
- add_custom_command(TARGET ${target_name} PRE_BUILD
- COMMAND echo ARGS "-n" "##"
- COMMAND echo ARGS "teamcity[blockOpened name='${target_name}']"
- )
- add_custom_command(TARGET ${target_name} POST_BUILD
- COMMAND echo ARGS "-n" "##"
- COMMAND echo ARGS "teamcity[blockClosed name='${target_name}']"
- )
- else (NOT WINDOWS AND DEFINED ENV{TEAMCITY_BUILDCONF_NAME})
- add_custom_command(TARGET ${target_name} PRE_BUILD
- COMMAND echo ARGS "################## START ${target_name}"
- )
- add_custom_command(TARGET ${target_name} POST_BUILD
- COMMAND echo ARGS "################## FINISH ${target_name}"
- )
- endif (NOT WINDOWS AND DEFINED ENV{TEAMCITY_BUILDCONF_NAME})
-
-endmacro (buildscripts_block target_name)
-
endif(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)
diff --git a/indra/cmake/LLAddBuildTest.cmake b/indra/cmake/LLAddBuildTest.cmake
index 3b5bc0af7c..b3f42c1a5e 100644
--- a/indra/cmake/LLAddBuildTest.cmake
+++ b/indra/cmake/LLAddBuildTest.cmake
@@ -105,7 +105,6 @@ INCLUDE(GoogleMock)
# Setup target
ADD_EXECUTABLE(PROJECT_${project}_TEST_${name} ${${name}_test_SOURCE_FILES})
- buildscripts_block(PROJECT_${project}_TEST_${name})
SET_TARGET_PROPERTIES(PROJECT_${project}_TEST_${name} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${EXE_STAGING_DIR}")
#
@@ -167,7 +166,6 @@ INCLUDE(GoogleMock)
# Add the test runner target per-project
# (replaces old _test_ok targets all over the place)
ADD_CUSTOM_TARGET(${project}_tests ALL DEPENDS ${${project}_TEST_OUTPUT})
- buildscripts_block(${project}_tests)
ADD_DEPENDENCIES(${project} ${project}_tests)
ENDMACRO(LL_ADD_PROJECT_UNIT_TESTS)
@@ -215,7 +213,6 @@ FUNCTION(LL_ADD_INTEGRATION_TEST
message(STATUS "ADD_EXECUTABLE(INTEGRATION_TEST_${testname} ${source_files})")
endif(TEST_DEBUG)
ADD_EXECUTABLE(INTEGRATION_TEST_${testname} ${source_files})
- buildscripts_block(INTEGRATION_TEST_${testname})
SET_TARGET_PROPERTIES(INTEGRATION_TEST_${testname}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${EXE_STAGING_DIR}"