I use MacOS and try to write C ++ code in Clion, but when I run simple hello world code, I get an executable is not specified error. I am new to Clion.
Cmakelist.txt
cmake_minimum_required(VERSION 3.2) project(untitled) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(SOURCE_FILES main.cpp) add_executable(untitled ${SOURCE_FILES})

c ++ clion
user4134614
source share