mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00

And various other cleanups and harmonizations Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
18 lines
676 B
CMake
18 lines
676 B
CMake
# CMakeLists.txt.
|
|
#
|
|
# Author: Steffen Vogel <post@steffenvogel.de>
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(OPAL_FOUND)
|
|
# Just call the original Makefile
|
|
add_custom_target(clients-opal
|
|
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}
|
|
)
|
|
endif()
|