blob: 2c242c46ed230cc199ede8a2a93ac997f39b49c8 [file] [log] [blame]
#*******************************************************************************
# Copyright (c) 2011 - 2018 AIT, ACIN, Profactor GmbH, fortiss GmbH
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Thomas Strasser, Alois Zoitl, Matthias Plasch, Ben Schneider
# * - initial API and implementation and/or initial documentation
# *******************************************************************************/
forte_add_module(UTILS "FORTE UTILITY FBs")
#############################################################################
# FORTE UTILITY FBs
#############################################################################
if(NOT "${FORTE_ARCHITECTURE}" STREQUAL "VxWorks") #the compiler used to test vxworks doesn't support ++11
if(CYGWIN)
forte_add_definition("-std=gnu++11")
else(CYGWIN)
forte_add_definition("-std=c++11")
endif(CYGWIN)
forte_add_sourcefile_hcpp(E_STOPWATCH)
endif(NOT "${FORTE_ARCHITECTURE}" STREQUAL "VxWorks")
forte_add_sourcefile_hcpp(OUT_ANY_CONSOLE GEN_F_MUX GEN_CSV_WRITER GEN_APPEND_STRING)
forte_add_sourcefile_hcpp(GEN_ARRAY2VALUES GEN_VALUES2ARRAY GEN_ARRAY2ARRAY GET_AT_INDEX SET_AT_INDEX)
forte_add_sourcefile_hcpp(FB_RANDOM GET_STRUCT_VALUE)
forte_add_sourcefile_hcpp(STEST_END)
forte_add_sourcefile_hcpp(TEST_CONDITION)