Prepare the initial stubs

This commit is contained in:
TennesseeTrash 2025-05-25 00:42:58 +02:00
parent 969e0390fd
commit aea51d9e77
11 changed files with 104 additions and 0 deletions

1
Libraries/CMakeLists.txt Normal file
View file

@ -0,0 +1 @@
add_subdirectory(Kanimaji)

View file

@ -0,0 +1,25 @@
include(${PROJECT_SOURCE_DIR}/CMake/ctre.cmake)
include(${PROJECT_SOURCE_DIR}/CMake/pugixml.cmake)
add_library(Kanimaji STATIC)
target_compile_features(Kanimaji
PUBLIC
cxx_std_23
)
target_link_libraries(Kanimaji
PRIVATE
ctre
pugixml
)
target_include_directories(Kanimaji
PUBLIC
"Include"
)
target_sources(Kanimaji
PRIVATE
"Source/Kanimaji.cpp"
)

View file

@ -0,0 +1,11 @@
#ifndef KANIMAJI_KANIMAJI_HPP
#define KANIMAJI_KANIMAJI_HPP
#include <string>
namespace Kanimaji
{
bool Animate(const std::string& source, const std::string& destination);
}
#endif // KANIMAJI_KANIMAJI_HPP

View file

@ -0,0 +1,9 @@
#include "Kanimaji/Kanimaji.hpp"
namespace Kanimaji
{
bool Animate(const std::string& source, const std::string& destination)
{
return false;
}
}