Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kpu/kenlm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-02Don't replace linker flags set by toolset and userCy 'kkm' Katsnelson
CMAKE_EXE_LINKER_FLAGS is a user-facing cached variable, more so, possibly initialized by a toolset via CMAKE_EXE_LINKER_FLAGS_INIT. Augment it instead of overwriting.
2021-06-08Use relative header pathsKenneth Heafield
2021-06-05[build] Fix interface include directories for imported targetsjacobkahn
2021-05-16CMake improvements/fixes for old versionsjacobkahn
- Fix CMake going back to 3.1 -- (https://cmake.org/Bug/view.php?id=14444) - Moves `install` calls back to the directories where their librari targets are created - Make non-transitive dependencies private (compression libs, etc) rather than using generator expressions - Install auxiliary libraries (besides kenlm/kenlm_util) - Gate compression lib deps in kenlmConfig by whether they were found at compile time
2021-05-07Modernize CMake installjacobkahn
The lib still doesn't produce a CMake config file i.e. https://gitlab.kitware.com/cmake/community/-/wikis/doc/tutorials/How-to-create-a-ProjectConfig.cmake-file. This change creates one and lets KenLM interact with modern CMake projects without a ton of Findkenlm.cmake cruft. Other improvements include: - Remove duplicative linking of `${Boost_LIBRARIES}` and instead link to kenlm_util once then transitively to other targets - Do the same for Threads::Threads - Both of the above libraries are handled for transitive linking via CMake's `find_dependency(...)` in the genreated `kenlmConfig.cmake` - Wrap libraries in `BUILD_INTERFACE` so that libraries that find KenLM don't transitively compile with lib and include paths that are the same as the machines KenLM was compiled in
2020-10-01Disable interpolation by default on windowsKenneth Heafield
2020-09-29Revert BUILD_SHARED_LIBS part because it was breaking CIKenneth Heafield
2020-09-29ENABLE_INTERPOLATE flag requested by @JackBoosYKenneth Heafield
2020-09-27install rulesKenneth Heafield
2020-09-27Windows continuous integration with cmakeKenneth Heafield
2020-09-17Use cmake for pthreads and rt fixes #301Kenneth Heafield
2020-05-13Add python/CMakeListsMichel Zou
2020-03-18Disable test compilation by defaultKenneth Heafield
2016-08-24Boost 1.41 fixes #63Kenneth Heafield
2016-05-27We're not using date_time and chronoKenneth Heafield
2016-05-01cmake wasn't happy with that regex; hopefully this doesn't break clangKenneth Heafield
2016-04-19Updated CMake files for the following:Alex Newman
* Suppress C4716 * Do not include pthread if on Windows * Use /MT when FORCE_STATIC is enabled * Add additional Boost libraries as required for the build * Using CMake module-defined parameters for compression libraries (ZLIB, BZIP2, LZMA)
2016-03-07Only set default to releaseKenneth Heafield
2016-02-29Hacky? option to build static executablesKenneth Heafield
2016-02-24Remove trailing spacesKenneth Heafield
2016-02-23Default to -O3Kenneth Heafield
2016-02-22Refactor cmakeKenneth Heafield
Removing optionality for interpolation; it's now triggered by eigen Absorb common into main kenlm library Library files, also reduces required version
2015-10-09Modularize the CMake code a bit; add interpolate to it.Chase Geigle
2015-07-10Tell cmake to compile unit testsLane Schwartz
2015-07-10Updated CMake support.Lane Schwartz
CMake can now build the binaries, but I haven't tried the unit tests yet.
2015-07-08Add support for CMake build system generator.Lane Schwartz
CMake can generate build scripts for a number of build systems, including make, XCode, Visual Studio, and Eclipse. In-source and out-of-source builds are allowed, but the CMake people suggest out-of-source builds. To do an out-of-source build using make: mkdir build cd build cmake .. make make test To do an out-of-source build using XCode: mkdir xcode cd xcode cmake -G Xcode ..