Skip to content

Commit

Permalink
Revert "Add <exec_target_name>_EXE_DISABLE to TRIBITS_ADD_EXECUTABLE() (
Browse files Browse the repository at this point in the history
TriBITSPub/TriBITS#216)"

This reverts commit 3a3bde5.

This is being removed because it was added to TriBITS proper and will be part
of the next snapshot of TriBITS which is going to be committed in the very
next commit.
  • Loading branch information
bartlettroscoe committed Mar 8, 2018
1 parent 797671c commit e45ac5f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmake/tribits/core/package_arch/TribitsAddExecutable.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ FUNCTION(TRIBITS_ADD_EXECUTABLE EXE_NAME)
IF(PARSE_ADDED_EXE_TARGET_NAME_OUT)
SET(${PARSE_ADDED_EXE_TARGET_NAME_OUT} PARENT_SCOPE)
ENDIF()

#
# B) Exclude building the test executable based on some criteria
#
Expand Down Expand Up @@ -441,14 +440,6 @@ FUNCTION(TRIBITS_ADD_EXECUTABLE EXE_NAME)
SET(EXE_BINARY_NAME ${PACKAGE_NAME}_${EXE_BINARY_NAME})
ENDIF()

# Exclude the build if requested
IF (${EXE_BINARY_NAME}_EXE_DISABLE)
MESSAGE("-- "
"${EXE_BINARY_NAME} EXE NOT being built due to ${EXE_BINARY_NAME}_EXE_DISABLE="
"'${${EXE_BINARY_NAME}_EXE_DISABLE}'")
RETURN()
ENDIF()

# If exe is in subdirectory prepend that dir name to the source files
IF(PARSE_DIRECTORY )
FOREACH( SOURCE_FILE ${PARSE_SOURCES} )
Expand Down

0 comments on commit e45ac5f

Please sign in to comment.