Add tools directory
This commit is contained in:
21
src/tools/CMakeLists.txt
Normal file
21
src/tools/CMakeLists.txt
Normal 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
15
src/tools/pack.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user