2018-06-25 09:44:58 +02:00
|
|
|
# CMakeLists.txt.
|
|
|
|
#
|
2022-03-15 09:18:01 -04:00
|
|
|
# Author: Steffen Vogel <post@steffenvogel.de>
|
2022-03-15 09:28:57 -04:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2022-07-04 18:20:03 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2018-06-25 09:44:58 +02:00
|
|
|
|
|
|
|
if(OPAL_FOUND)
|
|
|
|
# Just call the original Makefile
|
|
|
|
add_custom_target(clients-opal
|
2021-09-14 20:10:21 +02:00
|
|
|
COMMAND make -C ${CMAKE_CURRENT_SOURCE_DIR}/models/send_receive
|
|
|
|
-f Makefile.mk AsyncIP
|
|
|
|
RTLAB_INTEL_COMPILER=0
|
|
|
|
PROTOCOL=VILLAS
|
|
|
|
OPAL_LIBS="-lSystem -luuid"
|
|
|
|
OPAL_LIBPATH=-L${OPAL_LIBRARY_DIR}
|
|
|
|
OPAL_INCPATH=-I${OPAL_INCLUDE_DIR}
|
2018-06-25 09:44:58 +02:00
|
|
|
)
|
|
|
|
endif()
|