summaryrefslogtreecommitdiff
path: root/CMake
AgeCommit message (Collapse)AuthorFilesLines
2021-02-22[CMake] generate pkg-config flatbuffers.pc file (#6455)Millian Poquet1-0/+9
This commit enables CMake to generate a flatbuffers.pc file on install. pkg-config eases the utilization of software libraries by enabling the developers of a library to define how the library should be used. It can be used as a tool by build systems to find and manage dependencies, this is notably the default Meson behavior and optionally used by CMake.
2020-12-07Version message should be a "STATUS" to avoid going to stderr. (#6316)David P. Sicilia1-1/+1
2020-07-20Fix git command executed in wrong folder when doing cmake superbuild (#6039)Olivier Le Doeuff1-1/+1
2020-06-25Fix RPM install conflict (#6003)martind11111-0/+10
2020-05-07Align package name to FindFlatBuffers.cmake (#5899)Adam Oleksy1-2/+2
This change is for fix warning: ``` CMake Warning (dev) at /home/aoleksy/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (flatbuffers) does not match the name of the calling package (FlatBuffers). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): FindFlatBuffers.cmake:33 (find_package_handle_standard_args) CMakeLists.txt:6 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. ```
2020-05-04Handle git program or .git folder absence (#5878)Dmitry Volosnykh1-10/+27
Assume version is 0.0.0.0 in such cases.
2020-04-23Added INCLUDE_PREFIX option for flatbuffers_generate_headers (#5866)Alex Ames1-15/+20
This option was in an earlier revision of flatbuffers_generate_headers but was lost while refactoring by mistake. We have it as a function argument rather than one of the optional flags so that we can use it to inform the rule where to place the generated headers, so that the file location matches the prefix that will be added to the filenames in the generated files. Also fixed some of the documentation in the file.
2020-03-27Added flatbuffers_generate_headers and flatbuffers_generate_binary_files ↵Alex Ames1-1/+247
cmake functions. (#5830) flatbuffers_generate_headers is a function that can be used to generate Flatbuffers headers and binary headers. It uses named argument flags to wrap all the flags relevant to C++ header generation that flatc uses. It generates an interface library that can be added as a dependency of other targets. flatbuffers_generate_binary_files is a function that can be used to generate Flatbuffers binaries. It uses named argument flags to wrap all the flags relevant to C++ binary generation from JSON file that flatc uses. It generates an interface library that can be added as a dependency of other targets.
2019-02-21Add RPM packaging support (#5177)Marc Butler3-2/+38
* Add RPM packaging support Using the existing PackageDebian as template add support for generating an rpm with the package target. * Restore debian package target Also add an option to advertise the fact. * Update package description C-n-p from README.md * Update rpm package maintainer
2018-12-13generated cmake command for flatc generation should depend on source file ↵Christian Lang1-0/+1
(#5087)
2018-06-01Fix a small problem with add_subdirectory(${FLATBUFFERS_DIR}) from top level ↵Vladimir Glavnyy1-1/+1
project. (#4764)
2018-05-14Set Working Directory for flatc commands (#4737)Keef Aragon1-2/+6
2018-02-15Support version compatibility checks via find_package command (#4625)Dmitry Volosnykh3-17/+23
2017-11-16Add exports for all targets (#4491)red19391-0/+4
Each target that will be installed will also generate a target that will be included by CMake config file.
2016-08-25Debianization with CPackVitaly Isaev1-0/+57
2016-06-10Add env var for flatc schema compiler cmake moduleAlexander Gallego1-1/+8
2015-11-17flatbuffers/cmake: move build_flatbuffers to a standalone fileJohan Euphrosine2-0/+145
So that it could be included from both flatbuffers CMakeLists.txt and FindFlatBuffers.cmake. Change-Id: Ie16a879beef9367cd6fd9b2d2157044841a7cdbc
2015-04-15added .travis.yml file (build with original and biicode building);franchuti6881-22/+0
added bii-travis.sh and readme.md files; added build status section with travis and biicode build systems Change-Id: I93acd1ca9497416ade6293d63b5311c4c31b880f
2015-02-09Added biicode support via biicode.conf and CMake/biicode.cmakefranramirez6881-0/+22
Change-Id: Id9750cceaa57aad3c969cf12299aa60f21c29074
2014-07-28Add CMake finder for downstream projectsStefan Eilemann1-0/+56
Change-Id: Ife37f7ead18ee28f8f4fd5e29caeee5e825defd4