smanders / externpro

build external projects with cmake
MIT License
13 stars 12 forks source link

target_link_libraries as replacement for xpTargetExtern, part 3 #266

Closed smanders closed 4 years ago

smanders commented 4 years ago

xpTargetExtern() has been a good boat and has helped get us to where we are today, but a better, more familiar boat exists (target_link_libraries()) now that I've discovered how to associate include directories and compile definitions with a library target

this issue is all about setting target properties and using a cmake namespace (xpro::) in externpro projects and is really a continuation of changes in the last release of externpro

see part 1 https://github.com/smanders/externpro/issues/257

    • [ ] activemqcpp
    • [ ] apr
    • [x] boost
    • [x] bzip2
    • [x] cares
    • [ ] ceres
    • [x] clangformat
    • [x] clangtidy
    • [ ] cub (interface)
    • [x] curl (namespace?)
    • [ ] eigen (remove INCLUDE_DIR?)
    • [x] expat
    • [x] fecpp
    • [ ] ffmpeg
    • [x] fftw (moved to internpro)
    • [x] geotiff
    • [x] geotrans (temp TARGET)
    • [ ] glew
    • [x] gsoap
    • [x] jasper
    • [x] jpegxp
    • [x] jxrlib
    • [x] libgit2
    • [x] libssh2
    • [x] libstrophe
    • [x] lua
    • [ ] node (remove INCLUDE_DIR?)
    • [ ] openh264
    • [x] openssl
    • [x] patch
    • [x] protobuf (temp TARGET)
    • [ ] rapidjson (remove INCLUDE_DIR?)
    • [ ] rapidxml (remove INCLUDE_DIR?)
    • [x] shapelib
    • [x] wxinclude
    • [ ] wxwidgets
    • [x] wxx
    • [ ] yasm
    • [x] zlib
smanders commented 4 years ago

zlib (https://github.com/madler/zlib/compare/v1.2.8...smanders:xp1.2.8)

libssh2 (https://github.com/libssh2/libssh2/compare/libssh2-1.9.0...smanders:xp-1.9.0)

image

smanders commented 4 years ago

more to come https://github.com/smanders/externpro/issues/273

completed with commits to dev branch referenced above for this release of externpro

smanders commented 4 years ago

linker errors on Windows for boost::iostreams (zlib) I have a boostio repo with a decompressor executable that I'm planning to add to wxInclude repo to catch this earlier in the future...