qtcsv icon indicating copy to clipboard operation
qtcsv copied to clipboard

New c make lists.txt

Open SzykCech4 opened this issue 5 years ago • 0 comments

At first: Thank you! I am highly inspired by your original CMakeLists.txt. As you probably know Qt will switch to cmake and drop qmake with advent of Qt6. Now I am in process switch to cmake all my C++ projects. Now I switched all my libraries (and 3rdparty libraries). As I said: I begin with yours CMakeLists.txt but now I made also few changes most notable are:

  • multiarch: library should be installed in: /usr/local/lib/x86_64-linux-gnu not just /usr/local/lib - in that way works Qt and Kde.
  • generation qtcsvConfig.cmake (it is recommended way to include and link to other cmake projects)
  • generation qtcsvConfigVersion.cmake (not sure what is for - but it is easy to generate - so why not?)
  • generation qtcsv.pc (it makes your library easy to include and link to Make and AutoTols projects)

SzykCech4 avatar Apr 27 '19 17:04 SzykCech4