cmake_minimum_required(VERSION 3.31)

set(CXX_TYPE uclibc++)
include(../../sdk/config.cmake)
project(hello_world_cpp CXX)

set(CMAKE_CXX_STANDARD 11)

foreach(platform ELKA NSG X75 SG)
	set(target "hello-world_${platform}")
	add_executable("${target}" main.cpp TestClass.cpp)
	target_link_libraries("${target}" PRIVATE
		crt
		crt_helper
		gcc
		c
		stdc++-1.2.2
		supc++
	)
	target_sdk_setup("${target}" "${platform}")
endforeach()
