Skip to content

Commit

Permalink
commandline support unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
dnasdw committed Jul 29, 2017
1 parent e9bda88 commit 8159450
Show file tree
Hide file tree
Showing 8 changed files with 239 additions and 223 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if(APPLE)
endif()
set(BFLIMTOOL_MAJOR 1)
set(BFLIMTOOL_MINOR 0)
set(BFLIMTOOL_PATCHLEVEL 0)
set(BFLIMTOOL_PATCHLEVEL 1)
if(NOT MSVC_IDE AND NOT XCODE_VERSION AND NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif()
Expand Down
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,37 @@ A tool for decoding/encoding bflim file.
## History

- v1.0.0 @ 2015.03.14 - First release
- v1.0.1 @ 2017.07.29 - Commandline support unicode

## Platforms

- Linux *(Ubuntu 14.04, CentOS 7.0)*
- Mac OS X *10.10*
- Windows *XP+*
- Windows
- Linux
- macOS

## Building

### Dependencies

- cmake
- zlib
- libpng

### Compiling

- make 64-bit version
~~~
mkdir project
cd project
cmake ..
cmake ..
cmake -DUSE_DEP=OFF ..
make
~~~

- make 32-bit version
~~~
mkdir project
cd project
cmake -DBUILD64=OFF -DUSE_DEP=OFF ..
make
~~~

Expand All @@ -39,21 +50,15 @@ make install
### Windows

~~~
bflimtool.exe [option...] [option]...
bflimtool [option...] [option]...
~~~

### Other

~~~
bflimtool [option...] [option]...
bflimtool.sh [option...] [option]...
~~~

> Remember to do `chmod +x bflimtool` first
## Options

See `bflimtool --help` messages.

## FAQ

Nothing here for now.
2 changes: 1 addition & 1 deletion dep/libsundaowen
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ AUTO_FILES("." "src" "\\.(cpp|h)$")
AUTO_FILES("${ROOT_SOURCE_DIR}/dep/libsundaowen" "src" "\\.(cpp|h)$")
include_directories(${DEP_INCLUDE_DIR})
link_directories(${DEP_LIBRARY_DIR})
add_definitions(-DSDW_MAIN)
if(MSVC)
string(REPLACE "/MDd" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
Expand Down
Loading

0 comments on commit 8159450

Please sign in to comment.