Skip to content

Commit 6ce04c9

Browse files
committed
Added locales
1 parent 8d22f84 commit 6ce04c9

12 files changed

+3095
-98
lines changed

CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ set(SOURCE_FILES_MAPCODELIB
4848
mapcodelib/internal_alphabet_recognizer.h
4949
mapcodelib/internal_iso3166_data.h
5050
mapcodelib/internal_territory_alphabets.h
51-
mapcodelib/internal_territory_names_english.h
51+
mapcodelib/internal_territory_names_da.h
52+
mapcodelib/internal_territory_names_de.h
53+
mapcodelib/internal_territory_names_en.h
54+
mapcodelib/internal_territory_names_fr.h
55+
mapcodelib/internal_territory_names_hi.h
56+
mapcodelib/internal_territory_names_nl.h
5257
mapcodelib/internal_territory_names_local.h
5358
mapcodelib/internal_territory_search.h
5459
mapcodelib/mapcode_alphabets.h
@@ -66,6 +71,7 @@ set(SOURCE_FILES_UTILITY
6671
utility/mapcode.cpp)
6772

6873
add_library(mapcodelib ${SOURCE_FILES_MAPCODELIB})
74+
target_include_directories(mapcodelib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
6975

7076
add_executable(unittest ${SOURCE_FILES_TEST})
7177
target_link_libraries(unittest LINK_PUBLIC mapcodelib)

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ Documentation, including example snippets of C source code, can be found in
3232
mapcode_library_c.pdf <-- PDF format.
3333
mapcode_library_c.doc <-- Microsoft Word format.
3434

35-
A unit test can be found in the test\ subdirectory.
36-
Compile and run test/unittest.c to see if the library performs as expected.
35+
A unit test can be found in the `test` subdirectory.
36+
Compile and run `unittest.c` to see if the library performs as expected.
37+
Check the `README.md` file in `test` to see how you can compile it/
3738

3839
Also see www.mapcode.com for background and reference materials.
3940

0 commit comments

Comments
 (0)