ext/h3/src/CMakeLists.txt in h3-3.4.0 vs ext/h3/src/CMakeLists.txt in h3-3.4.4

- old
+ new

@@ -77,16 +77,10 @@ include(CMakeDependentOption) include(CheckIncludeFile) include(CTest) -include(CheckAlloca) -include(CheckVLA) - -check_alloca(have_alloca) -check_vla(have_vla) - set(LIB_SOURCE_FILES src/h3lib/include/bbox.h src/h3lib/include/polygon.h src/h3lib/include/polygonAlgos.h src/h3lib/include/h3Index.h @@ -101,11 +95,10 @@ src/h3lib/include/vertexGraph.h src/h3lib/include/mathExtensions.h src/h3lib/include/constants.h src/h3lib/include/coordijk.h src/h3lib/include/algos.h - src/h3lib/include/stackAlloc.h src/h3lib/lib/algos.c src/h3lib/lib/coordijk.c src/h3lib/lib/bbox.c src/h3lib/lib/polygon.c src/h3lib/lib/h3Index.c @@ -134,10 +127,11 @@ examples/compact.c examples/edge.c) set(OTHER_SOURCE_FILES src/apps/filters/h3ToGeo.c src/apps/filters/h3ToLocalIj.c + src/apps/filters/localIjToH3.c src/apps/filters/h3ToComponents.c src/apps/filters/geoToH3.c src/apps/filters/h3ToGeoBoundary.c src/apps/filters/kRing.c src/apps/filters/hexRange.c @@ -169,10 +163,11 @@ src/apps/testapps/testH3SetToLinkedGeo.c src/apps/testapps/testH3ToLocalIj.c src/apps/testapps/testH3Distance.c src/apps/testapps/testH3Line.c src/apps/testapps/testCoordIj.c + src/apps/testapps/testCoordIjk.c src/apps/miscapps/h3ToGeoBoundaryHier.c src/apps/miscapps/h3ToGeoHier.c src/apps/miscapps/generateBaseCellNeighbors.c src/apps/miscapps/generateNumHexagons.c src/apps/miscapps/generateFaceCenterPoint.c @@ -308,10 +303,11 @@ add_h3_executable(geoToH3 src/apps/filters/geoToH3.c ${APP_SOURCE_FILES}) add_h3_executable(h3ToComponents src/apps/filters/h3ToComponents.c ${APP_SOURCE_FILES}) add_h3_executable(h3ToGeo src/apps/filters/h3ToGeo.c ${APP_SOURCE_FILES}) add_h3_executable(h3ToLocalIj src/apps/filters/h3ToLocalIj.c ${APP_SOURCE_FILES}) +add_h3_executable(localIjToH3 src/apps/filters/localIjToH3.c ${APP_SOURCE_FILES}) add_h3_executable(h3ToGeoBoundary src/apps/filters/h3ToGeoBoundary.c ${APP_SOURCE_FILES}) add_h3_executable(hexRange src/apps/filters/hexRange.c ${APP_SOURCE_FILES}) add_h3_executable(kRing src/apps/filters/kRing.c ${APP_SOURCE_FILES}) add_h3_executable(generateBaseCellNeighbors src/apps/miscapps/generateBaseCellNeighbors.c ${APP_SOURCE_FILES}) add_h3_executable(generateNumHexagons src/apps/miscapps/generateNumHexagons.c ${APP_SOURCE_FILES}) @@ -361,11 +357,11 @@ set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "coverage") add_custom_target(coverage COMMAND bash "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/scripts/coverage.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}") add_custom_target(clean-coverage # Before running coverage, clear all counters - COMMAND lcov --directory '${CMAKE_CURRENT_BINARY_DIR}' --zerocounters + COMMAND lcov --rc lcov_branch_coverage=1 --directory '${CMAKE_CURRENT_BINARY_DIR}' --zerocounters COMMENT "Zeroing counters" ) endif() macro(add_h3_test_common name srcfile) @@ -483,9 +479,10 @@ add_h3_test(testVec3d src/apps/testapps/testVec3d.c) add_h3_test(testH3ToLocalIj src/apps/testapps/testH3ToLocalIj.c) add_h3_test(testH3Distance src/apps/testapps/testH3Distance.c) add_h3_test(testH3Line src/apps/testapps/testH3Line.c) add_h3_test(testCoordIj src/apps/testapps/testCoordIj.c) + add_h3_test(testCoordIjk src/apps/testapps/testCoordIjk.c) add_h3_test(testBaseCells src/apps/testapps/testBaseCells.c) add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 0) add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 1) add_h3_test_with_arg(testH3NeighborRotations src/apps/testapps/testH3NeighborRotations.c 2)