fuzzywuzzy icon indicating copy to clipboard operation
fuzzywuzzy copied to clipboard

Fix build and project structure

Open backdround opened this issue 5 years ago • 2 comments

When Im tried to link with target that was failed because include file. So I fix target include files and CMakeLists.txt files that brought chaos to main project. Like include_directories, or set(CMAKE_RUNTIME_OUTPUT_DIRECTORY), or build test when i dont need it.

backdround avatar Mar 23 '20 20:03 backdround

When Im tried to link with target that was failed because include file

What do you mean? I've had no issues using the library via add_subdirectory(path/to/fuzzywuzzy) & target_link_library(... fuzzywuzzy). Perhaps notable is that I include the library as a system-wide header, e.g. #include <fuzzywuzzy.hpp>.

tmplt avatar Mar 31 '20 18:03 tmplt

I created example project that failed when build. There are instructions to reproduce and fix it: https://github.com/backdround/fuzzywuzzy_include_problem

backdround avatar Apr 01 '20 10:04 backdround