Commit Graph

21 Commits

Author SHA1 Message Date
wjrforcyber 504f604d2a
Refactor(cmake): Generate compilation database
Signed-off-by: wjrforcyber <wjrforcyber@163.com>
2025-03-12 14:27:47 +08:00
Ethan Mahintorabi 49a489554b Adds unit testing framework to ABC
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-08-23 04:09:00 +00:00
Ethan Mahintorabi 0fc549d8b8
Reverts downgrade to c++11
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-05-03 05:24:02 +00:00
Alan Mishchenko 4222921d61 Revert "Merge pull request #247 from QuantamHD/abc_unit_tests"
This reverts commit d91a2a049a, reversing
changes made to 475c8dad8e.
2023-09-17 11:29:26 +08:00
Ethan Mahintorabi 7d80ea5cf9
Adds unit testing framework to ABC
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2023-09-13 18:24:01 +00:00
Baruch Sterin 0a536417f6 Build CMake on GitHub Actions
Also, resolve CMake build problems on macOS:
Pass CMAKE_OSX_SYSROOT as an environment variable SDKROOT when buildind the arch_flags executable.
2022-01-23 00:23:52 +01:00
kmurray c3be5dc690 CMake: Ensure abc executable depends on libabc
This ensures that libabc is built only once.

Previously the code for libabc was being built twice: once for the
abc executable target, and again for the libabc target.
2018-03-28 13:42:24 -04:00
Baruch Sterin 2ac47fe584 CMake: make it possible to pass ABC_USE_NAMESPACE=FALSE, instead of just empty ABC_USE_NAMESPACE 2015-11-13 03:42:12 -08:00
Baruch Sterin 3237ebafaa CMake, Makefile: pass the location of arch_flags to the makefile, this way the cmake build does not write to the soruce directory 2015-11-12 11:43:59 -08:00
Baruch Sterin 236118c0b6 CMake: fix typo 2015-11-08 22:58:01 -08:00
Baruch Sterin b18eb60301 CMakeLists.txt, Makefile: fix a bug in passing the readline options 2015-11-07 19:48:11 -08:00
Baruch Sterin 211c7ebe14 CMakeLists.txt: pass namespace mode to the Makefile 2015-11-05 01:24:26 -08:00
Baruch Sterin 0f14713dbc CMakeLists.txt, Makefile: pass readline flags from the CMake lists file to the Makefile. 2015-11-05 01:23:35 -08:00
Baruch Sterin 0f4fc1caa2 CMakeLists.txt: refactor 2015-11-05 01:23:34 -08:00
Baruch Sterin 5c1a7aa146 CMakeLists.txt: add a new target libabc, a regular static library 2015-11-05 01:23:33 -08:00
Baruch Sterin ba931c1b4a CMakeLists.txt: add a new target libabc-pic, a library compiled with -fPIC, not complied by default 2015-11-05 01:23:32 -08:00
Baruch Sterin 5761c76825 CMakeLists.txt: refactor a bit 2015-11-05 01:23:32 -08:00
Baruch Sterin be429079b5 CMakeLists.txt: pass CXX flags from the Makefile 2015-11-05 01:23:31 -08:00
Baruch Sterin 0f64f3b7ab CMake: only add compiler flags that are actually compatible with the compiler being used - the compiler detection logic in the Makefile is not perfect and that sometime results in weird conflicts 2015-10-23 14:44:17 -07:00
Baruch Sterin 9322493e90 CMake: reduce minimum version to 2.8.12 2015-10-23 14:42:42 -07:00
Baruch Sterin 9b3a358e6f Makefile: Add a CMakeLists.txt that uses the regular Makefile to compute flags and source file. This is a ugly hack, mainly to allow the use of CLion with ABC. Include some changes in the Makefile to support that. 2015-10-21 22:56:15 -07:00