diff --git a/CMakeLists.txt b/CMakeLists.txt index ace9e99..479ac11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ cmake_policy(VERSION 3.1) # define project project(rse-texture VERSION 1.0.1 DESCRIPTION "RogueSquadron Extractor - Texture" LANGUAGES C) set(CMAKE_BUILD_TYPE Release) -set(RSE_TEX_NAME RSE_Texture-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}) +set(RSE_TEX_NAME RSE_Texture-${PROJECT_VERSION}) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.in ${CMAKE_CURRENT_SOURCE_DIR}/src/config.h @ONLY) include(CheckIncludeFile) diff --git a/README.md b/README.md index 374b489..464cf8e 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ This module can do: Some textures samples can be found here (https://bit.ly/2DGjtng). A futur main program can extract all HMT files directly from DAT file. + + ### Options - -h Print this message @@ -52,4 +54,6 @@ make make install ``` -On Windows system, you will probably need to specify the dependency flags for CMake. \ No newline at end of file +On Windows system, you will probably need to specify the dependency flags for CMake. Ex: + +`cmake.exe -D"ZLIB_INCLUDE_DIR=zlib/1.2.11/include" -D"ZLIB_LIBRARY=zlib/1.2.11/libzlib.dll.a" -D"PNG_PNG_INCLUDE_DIR=libpng/1.6.37/include" -D"PNG_LIBRARY=libpng/1.6.37/libpng.dll.a" . -G "MinGW Makefiles"` \ No newline at end of file