summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2016-09-25Work around bug in opencv3 headers.iphydf
OpenCV 3.1 doesn't define cvRound in C, only in C++. Thus, we now need to compile av_test as C++ code.
2016-09-24Move ring buffer out of toxcore/util into toxav.iphydf
Toxcore itself doesn't use this data structure. Only toxav does, so now toxav owns the code for it.
2016-09-24Make toxcore code C++ compatible.iphydf
It is still C code, so still compatible with C compilers as well. This change lets us see more clearly where implicit conversions occur by making them explicit.
2016-09-21Fix strict-ld grep expressions to include digits.iphydf
`tox_options_[gs]et_ipv6_enabled` were missing from the version script because the grep expression only accepted `[a-z_]`. Now it also accepts digits in the function names.
2016-09-20Add OSX and Windows build to travis config.iphydf
Tests for Windows are disabled for now, until we figure out which tests can successfully run on wine and select only those.
2016-09-19Add STRICT_ABI cmake flag to generate export lists.iphydf
Enabling this flag will generate and use an LD version script. It ensures that the dynamic libraries (libtoxcore.so, libtoxav.so) only export the symbols that are defined in their public API (tox.h and toxav.h, respectively).
2016-09-18Only build toxav if opus and vpx are found.iphydf
2016-09-17Complete old groupchat conversion to new APIJfreegman
2016-09-17ApiDSL'ing old group chats (now: conference).iphydf
2016-09-17Fix for windows dynamic libraries.iphydf
2016-09-14Add option to build static libraries.iphydf
2016-09-08Add address sanitizer option to cmake file.iphydf
2016-08-31Enable build of av_test.iphydf
It has not been built in a while. We do want to keep this one working (or at least compiling).
2016-08-31Remove unused and bit-rotten friends_test.iphydf
2016-08-30Add missing #includes to headers and rename tox_old to tox_group.iphydf
Also, no longer #include the group code into tox.c. Instead, compile it separately in tox_group.c. This is a bit less surprising to someone looking around the code. Having some implementations in a .h file is certainly a bit surprising to a disciplined C programmer, especially when there is no technical reason to do it.
2016-08-27Move logging to a callback.iphydf
This removes the global logger (which by the way was deleted when the first tox was killed, so other toxes would then stop logging). Various bits of the code now carry a logger or pass it around. It's a bit less transparent now, but now there is no need to have a global logger, and clients can decide what to log and where.
2016-08-24Add cmake test for apidsl.iphydf
2016-08-21Fix windows build.iphydf
The threading networking functions (on windows: winsock and friends) need to be linked into the toxnetwork library, not the toxcore library, anymore. On Linux and OSX, there is no winsock. On OSX, there is no need to link against threading libraries, and on Linux, toxnetwork can have unresolved symbols when linking, so this failure wasn't caught before. Tested by building on the iphydf/windows-x86-qt5 docker image.
2016-08-20Build assoc DHT code on travis.iphydf
2016-08-17Add missing DHT_bootstrap to CMakeLists.txt.iphydf
- This PR also adds a DEBUG cmake option that enables -DTOX_DEBUG. - We also remove `-Wall`, because there are too many warnings, and nobody really looks at them at the moment. We'll see about fixing them soon. We'll also want to enable `-Werror` at some point. - Finally, this PR enables `-O3` to make sure toxcore still works correctly under heavy compiler optimisations.
2016-08-16Split toxcore into layers.iphydf
This allows us to more clearly define interfaces between modules, and have the linker help us ensure that module boundaries are respected. The onion/tcp/net_crypto layer is a bit too large. This is due to a cyclic dependency (onion -> net_crypto -> TCP -> onion). We may or may not want to break that cycle in the future to allow the onion library to exist on its own without net_crypto.
2016-08-12Add "make install" step to Travis build.iphydf
2016-08-12Build tox-bootstrapd in the cmake build.iphydf
2016-08-12Add and use CMake build scriptiphydf
Also, fix the hstox build that was taking half an hour. It now takes 5 minutes. Also, perform distcheck on travis to ensure that make dist works. It's not actually failing the build at the moment due to broken tests.
2013-08-24Remove cmake build systemjin-eld
2013-08-24Rename core directory because of autoconf name clashjin-eld
While doing the checks configure might generate "core" files and will then try to remove them. Having a "core" directory generates an error while runing the configure script. There's no workaround but to rename the core directory.
2013-08-22Make wide character support optionalManuel Argüelles
Issue #514. FindCursesw modified to make it simpler. Wide character can be disable by passing NO_WIDECHAR=ON.
2013-08-21Add cmake module for ncurseswManuel Argüelles
Default Curses module fails to detect the wide char version of curses when both are installed. Current module should do better.
2013-08-16Fix for issue 472naxuroqa
2013-08-09Macports support (OS X only). MAP_ANON -> MAP_ANONYMOUS (OS X only).slvr
2013-08-08Update CMakeLists.txtAstonex
2013-08-07added files for unit testscharmlesscoin
2013-08-04Improved cmakeMaxim Biro
2013-08-04Fixed Windows buildMaxim Biro
2013-08-03Changed CMake options to compile the core sharedChloride Cull
It is now compiled under 'toxcore' instead of just 'core' to be able to be installed without conflicts.
2013-08-03Curses check is now only on *nixFilipp Ozinov
2013-08-03Curses dependence added to CMakeFilipp Ozinov
2013-08-01Add docs directory to cmakeFlorian Hahn
2013-07-31Fixed build.irungentoo
2013-07-31Merge branch 'master' of https://github.com/xzfc/ProjectTox-Core into ↵irungentoo
xzfc-master Conflicts: CMakeLists.txt
2013-07-31NaCl compiling optionxzfcpw
2013-07-31Add detection of required librariesDmitry Marakasov
2013-07-21Fixed tabulationMaxim Biro
2013-07-21Made a cmake project for CoreMaxim Biro
2013-07-17Set appropriative cmake_policyMaxim Biro
2013-07-17Apply compiler flags only onceMaxim Biro
2013-07-17Improved build systemMaxim Biro
2013-07-14prettier outputOliver Hunt
2013-07-13ncurses test doesn't work very well. Putting back the old test.irungentoo
2013-07-13Cmake changed, small change in random_int()irungentoo
Cmake builds now builds the new ncurses test only on non windows.