diff --git a/CMakeLists.txt b/CMakeLists.txt index d797251..09917e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,3 +35,23 @@ add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/01_basics/05_webhooks") add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/01_basics/06_callbacks") add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/01_basics/07_cache") add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/01_basics/08_listening_to_messages") + +set(CMAKE_FOLDER "02-interactions") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/01_slash_cmds/01_using_slash_cmds") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/01_slash_cmds/02_clearing_registered_cmds") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/01_slash_cmds/03_subcommands") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/01_slash_cmds/04_autocompletion") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/01_slash_cmds/05_file_parameters") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/01_slash_cmds/06_cmd_handler") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/02_ephemeral_replies") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/03_user_apps") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/04_resolved_objects") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/05_msg_components/01_btn") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/05_msg_components/02_advanced_btn") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/05_msg_components/03_select_menu") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/05_msg_components/04_select_menu_advanced") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/05_msg_components/05_editing_msg_from_btn") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/05_msg_components/06_components_v2") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/06_modals") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/07_context_menus") +add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/02_interactions_and_components/08_thinking") diff --git a/src/02_interactions_and_components/01_slash_cmds/01_using_slash_cmds/CMakeLists.txt b/src/02_interactions_and_components/01_slash_cmds/01_using_slash_cmds/CMakeLists.txt new file mode 100644 index 0000000..5664d1d --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/01_using_slash_cmds/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_01_01_using_slash_cmds") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/01_slash_cmds/01_using_slash_cmds/src/main.cpp b/src/02_interactions_and_components/01_slash_cmds/01_using_slash_cmds/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/01_using_slash_cmds/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/01_slash_cmds/02_clearing_registered_cmds/CMakeLists.txt b/src/02_interactions_and_components/01_slash_cmds/02_clearing_registered_cmds/CMakeLists.txt new file mode 100644 index 0000000..610dc82 --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/02_clearing_registered_cmds/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_01_02_clearing_registered_cmds") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/01_slash_cmds/02_clearing_registered_cmds/src/main.cpp b/src/02_interactions_and_components/01_slash_cmds/02_clearing_registered_cmds/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/02_clearing_registered_cmds/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/01_slash_cmds/03_subcommands/CMakeLists.txt b/src/02_interactions_and_components/01_slash_cmds/03_subcommands/CMakeLists.txt new file mode 100644 index 0000000..2d12dc3 --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/03_subcommands/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_01_03_subcommands") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/01_slash_cmds/03_subcommands/src/main.cpp b/src/02_interactions_and_components/01_slash_cmds/03_subcommands/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/03_subcommands/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/01_slash_cmds/04_autocompletion/CMakeLists.txt b/src/02_interactions_and_components/01_slash_cmds/04_autocompletion/CMakeLists.txt new file mode 100644 index 0000000..1c12b93 --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/04_autocompletion/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_01_04_autocompletion") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/01_slash_cmds/04_autocompletion/src/main.cpp b/src/02_interactions_and_components/01_slash_cmds/04_autocompletion/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/04_autocompletion/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/01_slash_cmds/05_file_parameters/CMakeLists.txt b/src/02_interactions_and_components/01_slash_cmds/05_file_parameters/CMakeLists.txt new file mode 100644 index 0000000..e0e6fec --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/05_file_parameters/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_01_05_file_parameters") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/01_slash_cmds/05_file_parameters/src/main.cpp b/src/02_interactions_and_components/01_slash_cmds/05_file_parameters/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/05_file_parameters/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/01_slash_cmds/06_cmd_handler/CMakeLists.txt b/src/02_interactions_and_components/01_slash_cmds/06_cmd_handler/CMakeLists.txt new file mode 100644 index 0000000..10e529e --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/06_cmd_handler/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_01_06_cmd_handler") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/01_slash_cmds/06_cmd_handler/src/main.cpp b/src/02_interactions_and_components/01_slash_cmds/06_cmd_handler/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/01_slash_cmds/06_cmd_handler/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/02_ephemeral_replies/CMakeLists.txt b/src/02_interactions_and_components/02_ephemeral_replies/CMakeLists.txt new file mode 100644 index 0000000..5665a43 --- /dev/null +++ b/src/02_interactions_and_components/02_ephemeral_replies/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_02_emphemeral_replies") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/02_ephemeral_replies/src/main.cpp b/src/02_interactions_and_components/02_ephemeral_replies/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/02_ephemeral_replies/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/03_user_apps/CMakeLists.txt b/src/02_interactions_and_components/03_user_apps/CMakeLists.txt new file mode 100644 index 0000000..adc6ba0 --- /dev/null +++ b/src/02_interactions_and_components/03_user_apps/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_01_user_apps") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/03_user_apps/src/main.cpp b/src/02_interactions_and_components/03_user_apps/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/03_user_apps/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/04_resolved_objects/CMakeLists.txt b/src/02_interactions_and_components/04_resolved_objects/CMakeLists.txt new file mode 100644 index 0000000..d690365 --- /dev/null +++ b/src/02_interactions_and_components/04_resolved_objects/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_04_resolved_objects") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/04_resolved_objects/src/main.cpp b/src/02_interactions_and_components/04_resolved_objects/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/04_resolved_objects/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/05_msg_components/01_btn/CMakeLists.txt b/src/02_interactions_and_components/05_msg_components/01_btn/CMakeLists.txt new file mode 100644 index 0000000..ed3d4dc --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/01_btn/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_05_01_btn") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/05_msg_components/01_btn/src/main.cpp b/src/02_interactions_and_components/05_msg_components/01_btn/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/01_btn/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/05_msg_components/02_advanced_btn/CMakeLists.txt b/src/02_interactions_and_components/05_msg_components/02_advanced_btn/CMakeLists.txt new file mode 100644 index 0000000..0983231 --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/02_advanced_btn/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_05_02_advanced_btn") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/05_msg_components/02_advanced_btn/src/main.cpp b/src/02_interactions_and_components/05_msg_components/02_advanced_btn/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/02_advanced_btn/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/05_msg_components/03_select_menu/CMakeLists.txt b/src/02_interactions_and_components/05_msg_components/03_select_menu/CMakeLists.txt new file mode 100644 index 0000000..828d53a --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/03_select_menu/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_05_03_select_menu") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/05_msg_components/03_select_menu/src/main.cpp b/src/02_interactions_and_components/05_msg_components/03_select_menu/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/03_select_menu/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/05_msg_components/04_select_menu_advanced/CMakeLists.txt b/src/02_interactions_and_components/05_msg_components/04_select_menu_advanced/CMakeLists.txt new file mode 100644 index 0000000..a408adc --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/04_select_menu_advanced/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_05_04_select_menu_advanced") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/05_msg_components/04_select_menu_advanced/src/main.cpp b/src/02_interactions_and_components/05_msg_components/04_select_menu_advanced/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/04_select_menu_advanced/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/05_msg_components/05_editing_msg_from_btn/CMakeLists.txt b/src/02_interactions_and_components/05_msg_components/05_editing_msg_from_btn/CMakeLists.txt new file mode 100644 index 0000000..1a720b4 --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/05_editing_msg_from_btn/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_05_05_editing_msg_from_btn") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/05_msg_components/05_editing_msg_from_btn/src/main.cpp b/src/02_interactions_and_components/05_msg_components/05_editing_msg_from_btn/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/05_editing_msg_from_btn/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/05_msg_components/06_components_v2/CMakeLists.txt b/src/02_interactions_and_components/05_msg_components/06_components_v2/CMakeLists.txt new file mode 100644 index 0000000..13a2da0 --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/06_components_v2/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_05_06_components_v2") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/05_msg_components/06_components_v2/src/main.cpp b/src/02_interactions_and_components/05_msg_components/06_components_v2/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/05_msg_components/06_components_v2/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/06_modals/CMakeLists.txt b/src/02_interactions_and_components/06_modals/CMakeLists.txt new file mode 100644 index 0000000..8b21b3c --- /dev/null +++ b/src/02_interactions_and_components/06_modals/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_06_modals") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/06_modals/src/main.cpp b/src/02_interactions_and_components/06_modals/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/06_modals/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/07_context_menus/CMakeLists.txt b/src/02_interactions_and_components/07_context_menus/CMakeLists.txt new file mode 100644 index 0000000..c36d171 --- /dev/null +++ b/src/02_interactions_and_components/07_context_menus/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_07_context_menus") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" + +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/07_context_menus/src/main.cpp b/src/02_interactions_and_components/07_context_menus/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/07_context_menus/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +} diff --git a/src/02_interactions_and_components/08_thinking/CMakeLists.txt b/src/02_interactions_and_components/08_thinking/CMakeLists.txt new file mode 100644 index 0000000..9ed9094 --- /dev/null +++ b/src/02_interactions_and_components/08_thinking/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.28) +project(dppbots) +set(example_name "02_08_thinking") +message("Setting up ${example_name}") +add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp") +target_include_directories(${example_name} PUBLIC + "${dpp_SOURCE_DIR}/include" + "${dotenv-cpp_SOURCE_DIR}/include/laserpants" +) +target_link_libraries(${example_name} + dpp + dotenv +) +SET_OUTPUT_NAMES(${example_name}) diff --git a/src/02_interactions_and_components/08_thinking/src/main.cpp b/src/02_interactions_and_components/08_thinking/src/main.cpp new file mode 100644 index 0000000..7b1ccfb --- /dev/null +++ b/src/02_interactions_and_components/08_thinking/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "WIP" << std::endl; + return 0; +}