diff --git a/CMakeLists.txt b/CMakeLists.txt index f568143..d2c3f4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,4 +24,5 @@ set(BLOCKY_CXX_FLAGS add_subdirectory(thirdparty) add_subdirectory(liblocky) +add_subdirectory(blocky) add_subdirectory(playground) diff --git a/blocky/CMakeLists.txt b/blocky/CMakeLists.txt new file mode 100644 index 0000000..6bf5cfc --- /dev/null +++ b/blocky/CMakeLists.txt @@ -0,0 +1,11 @@ +add_executable(blocky) +target_compile_options(blocky PRIVATE ${BLOCKY_C_FLAGS}) + +target_sources(blocky + PUBLIC + main.cc +) +target_link_libraries(blocky + PUBLIC + liblocky +) diff --git a/blocky/main.cc b/blocky/main.cc new file mode 100644 index 0000000..452782a --- /dev/null +++ b/blocky/main.cc @@ -0,0 +1,8 @@ +#include + + +int main(int argc, char** argv) { + (void) argc; + (void) argv; + std::cout << "helloworld" << std::endl; +}