Add tools directory

This commit is contained in:
2017-04-12 00:28:20 -05:00
parent dc376f2be3
commit c5712f26e2
4 changed files with 44 additions and 18 deletions

21
src/tools/CMakeLists.txt Normal file
View File

@@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 2.8.8)
project(nost-pack)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
add_executable(nost-pack pack.cpp)
target_link_libraries(
nost-pack
Qt5::Widgets
NostalgiaCore
${OxStd_LIBRARY}
${OxClArgs_LIBRARY}
${OxFS_LIBRARY}
)
set(CMAKE_INCLUDE_CURRENT_DIR OFF)
set(CMAKE_AUTOMOC OFF)

15
src/tools/pack.cpp Normal file
View File

@@ -0,0 +1,15 @@
/*
* Copyright 2016-2017 gtalent2@gmail.com
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <QImage>
#include <ox/clargs/clargs.hpp>
int main(int argc, const char **args) {
QImage src("charset.png");
return 0;
}