mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
18 lines
448 B
C++
18 lines
448 B
C++
#include "IwdCreator.h"
|
|
|
|
#include <format>
|
|
#include <iostream>
|
|
|
|
void IwdCreator::AddFile(std::string filePath)
|
|
{
|
|
m_file_paths.emplace_back(std::move(filePath));
|
|
}
|
|
|
|
void IwdCreator::Finalize(ISearchPath& searchPath, const std::filesystem::path& outPath)
|
|
{
|
|
std::cout << std::format("Creating iwd with {} entries:\n", m_file_paths.size());
|
|
|
|
for (const auto& filePath : m_file_paths)
|
|
std::cout << std::format(" {}\n", filePath);
|
|
}
|