Skip to content

Commit

Permalink
* readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fooofei committed Aug 13, 2017
1 parent f6da04d commit e1638cd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
### use

```
#include "encoding/encoding.h" // useing for raw convert, useing bytes
#include "encoding/encoding_std.h" // useing for stl strings, std::string, std::wstring, std::u16string
#include "encoding/u16string_bytes.h"// useing for lower than c++11, that not have std::u16string
Add in CMakeLists.txt
1/2
#include "encoding/encoding.h" // using for raw convert, useing bytes
#include "encoding/encoding_std.h" // using for stl strings, std::string, std::wstring, std::u16string
#include "encoding/u16string_bytes.h"// using for lower than c++11, that not have std::u16string
2/2
add in CMakeLists.txt
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../cpp_cross_platform_encoding build_encoding)
target_link_libraries(${PROJECT_NAME} encoding)
Expand Down

0 comments on commit e1638cd

Please sign in to comment.