#Clion cmake demo
cmake_minimum_required(VERSION 3.17)
project(rknn_demo)
#set(CMAKE_SYSTEM_NAME Linux)
#set(CMAKE_BUILD_TYPE Debug)
#set(CMAKE_C_COMPILER "arm-linux-gnueabihf-gcc")
#set(CMAKE_CXX_COMPILER "arm-linux-gnueabihf-g++")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")
# alignment source
file(GLOB file_source *.cpp)
set(source ${file_source})
add_executable(demo ${source})
message(".")
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
cout << "Holle rv1109" << endl;
cout << "Holle rv1109" << endl;
return 0;
}