indentlog: + hello example + cmake install attempt
This commit is contained in:
parent
6f74ce1cf4
commit
468c525470
6 changed files with 25 additions and 14 deletions
|
|
@ -7,6 +7,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")
|
|||
|
||||
#include(cmake/FindSphinx.cmake)
|
||||
|
||||
add_subdirectory(hello)
|
||||
add_subdirectory(ex1)
|
||||
add_subdirectory(ex2)
|
||||
add_subdirectory(ex3)
|
||||
|
|
|
|||
2
example/hello/CMakeLists.txt
Normal file
2
example/hello/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
add_executable(hello hello.cpp)
|
||||
xo_include_options(hello)
|
||||
5
example/hello/hello.cpp
Normal file
5
example/hello/hello.cpp
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#include <iostream>
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
std::cout << "Hello, world!" << std::endl;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue