1 、基本框架
test.cc:
#include<iostream>
int main(void){
std::cout<<"hello world"<<tsd::endl;
}
CMakeLists.txt:
add_executable(myapp test.cc)
命令:
cmake .
make
./myapp
1 、基本框架
test.cc:
#include<iostream>
int main(void){
std::cout<<"hello world"<<tsd::endl;
}
CMakeLists.txt:
add_executable(myapp test.cc)
命令:
cmake .
make
./myapp