add CLI tool project
This commit is contained in:
parent
9e43846770
commit
d58e4e7168
@ -24,4 +24,5 @@ set(BLOCKY_CXX_FLAGS
|
|||||||
|
|
||||||
add_subdirectory(thirdparty)
|
add_subdirectory(thirdparty)
|
||||||
add_subdirectory(liblocky)
|
add_subdirectory(liblocky)
|
||||||
|
add_subdirectory(blocky)
|
||||||
add_subdirectory(playground)
|
add_subdirectory(playground)
|
||||||
|
11
blocky/CMakeLists.txt
Normal file
11
blocky/CMakeLists.txt
Normal file
@ -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
|
||||||
|
)
|
8
blocky/main.cc
Normal file
8
blocky/main.cc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
(void) argc;
|
||||||
|
(void) argv;
|
||||||
|
std::cout << "helloworld" << std::endl;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user