summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2018-02-06Make cmake script more forgiving.iphydf
Instead of hard-erroring when we don't find dependencies, we just don't build the things requested and print a warning. This is less annoying to users because we enable a bunch of things by default. This way, we can at least build something with the default "cmake" invocation.
2018-02-06Improve stability of crypto_memcmp test.iphydf
Also reduce number of people in conference to 5, because on Circle CI the test times out trying to connect more than 6 or 7 people. The persistent conferences PR will improve this so we can set it much higher then.
2018-02-06Move tox_shell program to the toxins repository.iphydf
https://github.com/TokTok/toxins/tree/master/tox_shell
2018-02-06Move irc_syncbot to the toxins repository.iphydf
2018-02-05Move the tox_sync tool to the toxins repository.iphydf
2018-01-30Use nullptr as NULL pointer constant instead of NULL or 0.iphydf
This changes only code, no string literals or comments.
2018-01-29Add `-D__STDC_LIMIT_MACROS=1` for C++ code.iphydf
Without this, `UINT*_MAX` are not defined.
2018-01-25Show source file name and line number on crashMaxim Biro
2018-01-25Prefix add_test() with $CROSSCOMPILING_EMULATORMaxim Biro
$CMAKE_CROSSCOMPILING_EMULATOR is automatically prefixing add_test() in CMake versions starting 3.3[1], but because we target CMake 2.8, we can't use that and we have to add our own $CROSSCOMPILING_EMULATOR that will prefix add_test(). [1] https://cmake.org/cmake/help/v3.3/variable/CMAKE_CROSSCOMPILING_EMULATOR.html#variable:CMAKE_CROSSCOMPILING_EMULATOR
2018-01-22Use <stdlib.h> for alloca on FreeBSD.iphydf
https://www.freebsd.org/cgi/man.cgi?alloca If stdlib.h does not define alloca, and we're using GCC (or Clang), we define the macro ourselves in terms of a GCC builtin.
2018-01-21Make the monolith test a C++ binary.iphydf
This way, developers compile toxcore, toxav, and toxencryptsave as C++ at least once at home, reducing the likelyhood of running into travis failures where we compile as C++ in the windows build.
2018-01-20Remove nTox from the repo.iphydf
It's a maintenance burden nobody uses. Let's make toxic the official console client, instead.
2018-01-20Add a simple conference test with 3 friends.iphydf
This tests that a message from tox1 is relayed via tox2 to tox3 when tox1 and tox3 are not friends.
2018-01-16Use apidsl to generate LAN_discovery.h.iphydf
2018-01-15Remove hstox test for now.iphydf
This isn't adding value. We're going to redo the whole rpc test framework in the future, after a lot of refactoring that the hstox test currently just stands in the way of.
2018-01-15update rpm spec and use variables in cmake instead of hardcoded paths (#624)Smoked Cheese
2018-01-14Use apidsl to generate ping.h.iphydf
The ping.api.h file looks rather ugly, but it works. This is an exercise in finding the complete set of use cases needed from apidsl for toxcore. We'll try to make things work as much as possible, and then make apidsl better and make the .api.h files pretty.
2018-01-13Make Ping_Array a module-private type.iphydf
2018-01-08Bump toxcore version to 0.2.0.iphydf
We're not releasing yet, but projects preparing for the release will want to build against this version in master.
2018-01-06Add support for building the monolith test on android.iphydf
2017-12-29Remove deprecated ToxDNSiphydf
Based on #331. Fixes #42.
2017-12-28Generate only one large library "libtoxcore".iphydf
This library contains all the code for the old libtoxcore, libtoxav, libtoxdns, and libtoxencryptsave. The build for toxav is still optional, and disabling it causes libtoxcore to simply not contain those symbols and the pkg-config file to not include opus and vpx as dependencies.
2017-12-26Release v0.1.11Robin Lindén
2017-11-15Add support of IPv6 disablingDiadlo
2017-09-14Replace include(CTest) on enable_testing()Diadlo
CTest include generate a lot of unused targets
2017-08-22Disable compiler thread safety analysisMaxim Biro
2017-08-06Release v0.1.10Robin Lindén
2017-06-09Fix Windows buildMaxim Biro
2017-06-06Release v0.1.9Robin Lindén
2017-06-05Build tests on appveyor, the MSVC build.iphydf
Tests are not actually ran on appveyor for now, since they all fault for some reason. For now, we just build them. Also, some tests are disabled on msvc entirely, because they don't even compile. We'll need to look into those, later. They are disabled using `MSVC_DONT_BUILD`.
2017-06-05Add test for changing the conference title and not receiving a callback.pranomostro
2017-06-04Split daemon's logging backends in separate modulesMaxim Biro
2017-06-04Add a monolith_test that includes all toxcore sources.iphydf
This requires that every symbol, even if static (file-scope), is unique. The idea is that we can easily run "whole" program static analysis on programs that include monolith.h ("whole" is in quotes, as we don't include dependencies like libsodium in this static analysis).
2017-06-04Test for memberlist not changing after changing own name.pranomostro
This test shows that the conference members callback is not invoked when the own name changes.
2017-06-04Factor out strict_abi cmake code into a separate module.iphydf
2017-06-04Fix formatting and spelling in version-sync script.iphydf
Also some minor reformatting and fixes to the hstox sut driver.
2017-06-04Forbid undefined symbols in shared libraries.iphydf
Also a little bit of refactoring: - Moved add_cflag and friends from CMakeLists.txt to a separate AddCompilerFlag module. - Build the spectest SUT if msgpack is found, even if spectest itself is not found, so once it exists, users can run it themselves or reconfigure cmake.
2017-06-03Use new encoding of `Maybe` in msgpack results.iphydf
The new encoding is `0` for `Nothing` and `[1, x]` for `Just x`.
2017-04-27Release v0.1.8Robin Lindén
2017-04-22Revert "initial version of tox_loop"Maxim Biro
This reverts commit 200ee1cace2f17537e6982ac447ea65d7c7a00b3.
2017-04-22Revert "Implement tox_loop"Maxim Biro
This reverts commit 5ff099763b1f56414572e1c12eb2f003117db5a0.
2017-04-01Implement tox_loopAnsa89
2017-04-01initial version of tox_loopmichael bishop
2017-03-26CMake: install bootstrapd if it is builtCarsten Brandt
if bootstrapd option is enabled the binary should be installed on `make install`.
2017-03-26Release v0.1.7Robin Lindén
2017-03-25make BUILD_TOXAV and option and fail if dependencies are missingCarsten Brandt
fixes #482
2017-03-01Add test for tox_strncasecmp()Maxim Biro
2017-03-01Disable -Wdisabled-macro-expansionMaxim Biro
Due to clang's tolower() macro being recursive.
2017-02-26Remove network dependency from toxcryptoDiadlo
2017-01-28Add VLA compatibility macro for C89-ish compilers.iphydf