aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-12-01don't build tests unless we're building all-* or *-test buildsRiccardo Spagni1-1/+4
2014-11-18cmake: work around a bug with implicit link directoriesBen Boeckel1-0/+8
Unfortunately, this is necessary because CMake doesn't detect whether mingw libraries are static or shared and doesn't put a -static flag around the -lfoo argument which then makes the shared library be linked to.
2014-11-17msys: don't use LTOBen Boeckel1-0/+2
This causes duplicate symbol errors on msys' mingw install.
2014-11-17msys: factor out -Werror on msysBen Boeckel1-1/+4
There are Windows-related warnings turned into errors here.
2014-11-17msys: look in msys' directory for filesBen Boeckel1-0/+5
This tells find_path and find_library to look under this directory first which is what we want on msys2.
2014-10-24cmake: support 2.8.7Ben Boeckel1-1/+1
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
2014-10-23cmake: clean up EXTRA_LIBRARIESBen Boeckel1-3/+1
pthread is handled by CMAKE_THREAD_LIBS_INIT while libdl isn't needed.
2014-10-23cmake: set the project nameBen Boeckel1-0/+2
2014-10-23cmake: prepend to CMAKE_MODULE_PATHBen Boeckel1-1/+2
2014-10-23unbound: import cmake build systemBen Boeckel1-0/+1
2014-10-23cmake: minor cleanups (indentation and typos)Ben Boeckel1-15/+15
2014-10-23cmake: use option() for STATICBen Boeckel1-1/+1
2014-10-23cmake: clean up if auto-dereferencingBen Boeckel1-3/+3
CMake will auto-dereference variable names in if statements, so there's no need to dereference them manually.
2014-10-23cmake: support git info in released tarballsBen Boeckel1-11/+1
2014-10-23cmake: fix up BOOST_IGNORE_SYSTEM_PATHSBen Boeckel1-2/+1
The option was set twice when it only needs to be set once. Also fix a bogus dereference and spurious whitespace.
2014-10-23cmake: remove configuration variablesBen Boeckel1-1/+0
CMAKE_BUILD_TYPE is meant for single-config build tools (e.g., make and ninja) while CMAKE_CONFIGURATION_TYPES is meant for multi-config build tools (e.g., Xcode and Visual Studio). They should not be mixed or manually set.
2014-10-23cmake: factor out error messagesBen Boeckel1-7/+14
Instead of using BoldRed and ColourReset everywhere, wrap it up in a function.
2014-10-06mingw library tweaksRiccardo Spagni1-4/+1
2014-10-06fix for mingw not playing nicely with libunbound configure, fix for ↵Riccardo Spagni1-4/+9
correctly finding static libs on various operating systems
2014-10-06need to link with -ldl on Linux when building staticallyRiccardo Spagni1-0/+1
2014-10-06quieten CMake when it can't find packagesRiccardo Spagni1-1/+1
2014-10-06enforce static libraries when building staticallyRiccardo Spagni1-0/+8
2014-10-06build libunbound from external if no local libunbound or for static buildsRiccardo Spagni1-12/+11
2014-09-29dependencies enforced, send que error message log level movedRiccardo Spagni1-3/+16
2014-09-24never use the baked-in miniupnpc on FreeBSD because explosionsRiccardo Spagni1-2/+0
2014-09-24redo FindUnbound.cmakeRiccardo Spagni1-0/+4
2014-09-23Fixed artifacts from cherry-picking devel->masterThomas Winget1-1/+2
2014-09-23Fixed CMake search for libunboundThomas Winget1-5/+2
As it turns out, some of CMake's built-in modules for detecting headers and libraries don't work if you have certain compiler flags set, such as -Werror=old-style-definition, as they do "int main()" rather than "int main(void)". Having CMake search for libs before compiler flags are set alleviates this issue, and I believe the underlying issue will be fixed in future releases of CMake.
2014-09-23Updated CMake files -- added libunbound linker flagThomas Winget1-0/+5
CMake config file written, but was unable to test/get it working properly because of a bug in CMake with functions related to find_package. Simple "-lunbound" flag used in its stead for now. May not build on non-Linux systems, not sure yet.
2014-09-22moved msys2 toolchain, boost libs fixRiccardo Spagni1-0/+4
2014-09-22added mikezackles' missing boost function in CMakeListsRiccardo Spagni1-0/+15
2014-09-15turns out we do need -static-libgcc etc. on LinuxRiccardo Spagni1-1/+1
2014-09-15explicitly disable LTO for ClangRiccardo Spagni1-1/+5
2014-09-15Use LTO by defaultZachary Michaels1-1/+4
The mingw toolchains override this for now.
2014-09-15User setting to turn LTO on and offZachary Michaels1-9/+13
This isn't currently working on mingw
2014-09-15Remove unnecessary elseZachary Michaels1-2/+0
2014-09-15Hack to add pthread to link libraries on mingwZachary Michaels1-2/+2
This should link winpthreads. We really shouldn't be passing these this way, but that seems to be the existing solution, and it works for now.
2014-09-15Change to -static gcc flagZachary Michaels1-1/+1
2014-09-15Set the boost thread api for mingwZachary Michaels1-0/+1
2014-09-15Hack to allow toolchains to pass flags to mingwZachary Michaels1-1/+1
2014-09-15Ignore another warning to make mingw happyZachary Michaels1-1/+1
2014-09-15Remove unused CMake functionZachary Michaels1-6/+0
2014-09-15Default to static linking on both MSVC and MINGWZachary Michaels1-1/+6
2014-09-15FreeBSD static linking fixesRiccardo Spagni1-3/+3
2014-09-12versioning now includes the commit hash, or -final for tagged releasesRiccardo Spagni1-19/+7
2014-09-12always check git diffRiccardo Spagni1-6/+1
2014-09-11added license to CMakefluffypony1-0/+30
2014-09-11more CMake tweaks to allow detection on OS Xfluffypony1-8/+9
2014-09-10more dynamic miniupnp fixesfluffypony1-0/+8
2014-09-10use external miniupnpc if availablefluffypony1-4/+0
2014-09-10miniupnpc changes for freebsdfluffypony1-0/+4
2014-09-10replace ftime with gettimeofday on FreeBSD because lcompat is stupidfluffypony1-4/+0
2014-09-10make FreeBSD use -lcompat till we can fix ftime()fluffypony1-0/+4
2014-09-09exclude local miniupnpc for FreeBSD, install from ports insteadfluffypony1-0/+17
2014-06-30needed to remove REQUIRED from find_package(Threads)Thomas Winget1-1/+1
2014-06-12Fix to disable LTO for ClangZachary Michaels1-1/+1
The previous code was assuming Apple == Clang. This change should both enable LTO when using gcc on Apple and fix Clang when using it on other platforms.
2014-06-11Link to pthreads on non-apple unixZachary Michaels1-1/+6
2014-06-11Gcc 4.9 LTO fixZachary Michaels1-0/+5
The new lto format requires use of the gcc-provided gcc-ar and gcc-ranlib binaries.
2014-05-250.8.8updatemydesktop1-3/+3
2014-05-22OS X compilation fixedOracionSeis1-1/+5
2014-05-21Update CMakeLists.txtNoodleDoodleNoodleDoodleNoodleDoodleNoo1-2/+2
1. Fixed build error on machines not supporting aes-ni.
2014-05-05fix CMakeLists.txt to add -lpthread, did not compile boost 1.55vertoe1-1/+1
2014-04-30mac osx building fixesmydesktop1-8/+13
2014-04-30various fixes to allow mac osx compilationmydesktop1-2/+12
2014-04-09Port mapping with UPnPAntonio Juarez1-1/+2
2014-04-07Improvements in JSON RPCAntonio Juarez1-1/+3
2014-03-20some fixesAntonio Juarez1-6/+3
2014-03-03moved all stuff to githubAntonio Juarez1-0/+115