open-source-parsers / open-source-parsers/jsoncpp

meson and cmake install different sets of files

Open
#1,290 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug build
Dominant language
C++
Stars
8.9k
Forks
2.7k
Avg merge
31m
Merged PRs (30d)
1

Description

meson installs:

include/json/allocator.h
include/json/assertions.h
include/json/config.h
include/json/forwards.h
include/json/json.h
include/json/json_features.h
include/json/reader.h
include/json/value.h
include/json/version.h
include/json/writer.h
lib/libjsoncpp.a
lib/libjsoncpp.so
lib/libjsoncpp.so.24
libdata/pkgconfig/jsoncpp.pc

cmake installs:

nclude/json/allocator.h
include/json/assertions.h
include/json/config.h
include/json/forwards.h
include/json/json.h
include/json/json_features.h
include/json/reader.h
include/json/value.h
include/json/version.h
include/json/writer.h
lib/cmake/jsoncpp/jsoncppConfig-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/jsoncpp/jsoncppConfig.cmake
lib/cmake/jsoncpp/jsoncppConfigVersion.cmake
lib/libjsoncpp.so
lib/libjsoncpp.so.1.9.4
lib/libjsoncpp.so.24
lib/libjsoncpp_static.a
lib/objects-Release/jsoncpp_object/json_reader.cpp.o
lib/objects-Release/jsoncpp_object/json_value.cpp.o
lib/objects-Release/jsoncpp_object/json_writer.cpp.o
libdata/pkgconfig/jsoncpp.pc

Since cmake itself requires jsoncpp we have to use meson to build jsoncpp.
However, some other projects, ex. Microdoft's APSI (https://github.com/microsoft/APSI) look for jsoncpp through cmake files.

Lists of files that cmake and meson install should be identical.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Meson and CMake installation definitions against the file lists in this issue. Check which installed files are intentional, then align both systems so their installed file sets match and CMake-based dependency discovery continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.