diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index ca273f9..ed2f647 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -20,7 +20,7 @@ project( set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) add_subdirectory(algorithms) -add_subdirectory(cmake) +add_subdirectory(cmake-example) add_subdirectory(cryptography) add_subdirectory(datastructs) add_subdirectory(graphics) diff --git a/cpp/cmake/CMakeLists.txt b/cpp/cmake-example/CMakeLists.txt similarity index 93% rename from cpp/cmake/CMakeLists.txt rename to cpp/cmake-example/CMakeLists.txt index 4030215..0878f76 100644 --- a/cpp/cmake/CMakeLists.txt +++ b/cpp/cmake-example/CMakeLists.txt @@ -1,6 +1,6 @@ ############################################################################### ## Author: Shaun Reed ## -## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ## +## Legal: All Content (c) 2022 Shaun Reed, all rights reserved ## ## About: A template project for getting started working with CMake ## ## ## ## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## diff --git a/cpp/cmake/apps/CMakeLists.txt b/cpp/cmake-example/apps/CMakeLists.txt similarity index 81% rename from cpp/cmake/apps/CMakeLists.txt rename to cpp/cmake-example/apps/CMakeLists.txt index ad7c183..be67004 100644 --- a/cpp/cmake/apps/CMakeLists.txt +++ b/cpp/cmake-example/apps/CMakeLists.txt @@ -1,6 +1,6 @@ ############################################################################### ## Author: Shaun Reed ## -## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ## +## Legal: All Content (c) 2022 Shaun Reed, all rights reserved ## ## ## ## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## ############################################################################## @@ -10,8 +10,8 @@ set(APP_SRC say-hello.cpp) # Add our executable, naming it and linking it to our source code -add_executable(execute-hello ${APP_SRC}) +add_executable(say-hello ${APP_SRC}) # Link to our custom library, defined in c-cmake/src/ -target_link_libraries(execute-hello lib-klips) +target_link_libraries(say-hello lib-klips) diff --git a/cpp/cmake/apps/say-hello.cpp b/cpp/cmake-example/apps/say-hello.cpp similarity index 55% rename from cpp/cmake/apps/say-hello.cpp rename to cpp/cmake-example/apps/say-hello.cpp index 345b160..9be5ac2 100644 --- a/cpp/cmake/apps/say-hello.cpp +++ b/cpp/cmake-example/apps/say-hello.cpp @@ -1,9 +1,9 @@ -/*############################################################################# -## Author: Shaun Reed ## -## Legal: All Content (c) 2019 Shaun Reed, all rights reserved ## -## ## -## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## -############################################################################## +/*############################################################################## +## Author: Shaun Reed ## +## Legal: All Content (c) 2022 Shaun Reed, all rights reserved ## +## ## +## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## +################################################################################ */ #include diff --git a/cpp/cmake/include/lib-klips.hpp b/cpp/cmake-example/include/lib-klips.hpp similarity index 53% rename from cpp/cmake/include/lib-klips.hpp rename to cpp/cmake-example/include/lib-klips.hpp index ee66f67..baff597 100644 --- a/cpp/cmake/include/lib-klips.hpp +++ b/cpp/cmake-example/include/lib-klips.hpp @@ -1,9 +1,9 @@ -/*############################################################################# -## Author: Shaun Reed ## -## Legal: All Content (c) 2019 Shaun Reed, all rights reserved ## -## ## -## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## -############################################################################## +/*############################################################################## +## Author: Shaun Reed ## +## Legal: All Content (c) 2022 Shaun Reed, all rights reserved ## +## ## +## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## +################################################################################ */ /** diff --git a/cpp/cmake/src/CMakeLists.txt b/cpp/cmake-example/src/CMakeLists.txt similarity index 90% rename from cpp/cmake/src/CMakeLists.txt rename to cpp/cmake-example/src/CMakeLists.txt index 4871808..b8a1137 100644 --- a/cpp/cmake/src/CMakeLists.txt +++ b/cpp/cmake-example/src/CMakeLists.txt @@ -1,6 +1,6 @@ ############################################################################### ## Author: Shaun Reed ## -## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ## +## Legal: All Content (c) 2022 Shaun Reed, all rights reserved ## ## ## ## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## ############################################################################## diff --git a/cpp/cmake/src/lib-klips.cpp b/cpp/cmake-example/src/lib-klips.cpp similarity index 54% rename from cpp/cmake/src/lib-klips.cpp rename to cpp/cmake-example/src/lib-klips.cpp index 9bdb1c7..8c18fbb 100644 --- a/cpp/cmake/src/lib-klips.cpp +++ b/cpp/cmake-example/src/lib-klips.cpp @@ -1,9 +1,9 @@ -/*############################################################################# -## Author: Shaun Reed ## -## Legal: All Content (c) 2019 Shaun Reed, all rights reserved ## -## ## -## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## -############################################################################## +/*############################################################################## +## Author: Shaun Reed ## +## Legal: All Content (c) 2022 Shaun Reed, all rights reserved ## +## ## +## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ## +################################################################################ */ #include