aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
AgeCommit message (Collapse)AuthorFilesLines
2011-11-21Linking against GTK3 stoped working because only libgtk3 was linkedjmayer1-11/+18
against and no libs that gtk3 depended on. Fix this. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39970 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-08Mimic test for IPv6 support in GeoIP from autofoojmayer1-4/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39307 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-23Remove support for libpcre, we use GRegex in GLib.stig1-35/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38683 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-05FindGTK2: Add a check for pangocairo. It has to be linked explicitly, atgerald2-6/+8
least for MacPorts. FindPCAP: Define HAVE_PCAP_CREATE if we have pcap_create. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38372 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-05Add call to FindPackageHandleStandardArgsjmayer1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38361 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-05Attempt to properly fix the missing path information for glib librariesjmayer1-106/+112
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38360 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-12Remote trailing whitespacejmayer1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37993 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-06Add detection of rpcap support in libpcap and use it if available.jmayer1-10/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37914 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-08As pointed out by Jakub Zawadzki:jmayer1-0/+6
While updating to the current cmake version of FindZLIB I missed a Wireshark specific addition. Add it back. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37626 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-08Add GTK3 cmake options. It doesn't build, just like its configure pendant.jmayer1-0/+50
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37623 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-08Last patch removed $Id$ head linejmayer1-0/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37620 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-08Copy over changes from cmake git HEAD.jmayer2-28/+62
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37619 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-02From Matthieu Patou <mat@matws.net>sahlberg1-0/+1
Add extra paths for finding GTK2 This makes wireshark build on 64 bit Natty boxens git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37515 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-17Update to FindGTK2 from cmake 2.8.3. Add back quartz options whichjmayer1-14/+45
are not part of the official cmake release. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37198 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-12Play catch up with recent configure.in changes:jmayer1-0/+61
- Link dumpcap (and only dumpcap) against gthread - gtk/gsm_a_stat.c and gtk/menus.c are dirty when configured with UI_MANAGER=1 - Add support run "cmake ... -DWANT_PACKET_EDITOR=1 ..." git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37103 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-29Don't check for the existence of gzclearerr() any more.morriss1-2/+2
Check for inflatePrime(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36955 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-09Accommodate the CMake build on Ubuntu 10.10.jake1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35888 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-08From H.sivank:guy1-0/+1
-A patch to fix configure with cmake with macports libs. (gdk-pixbuf has now its own port. Location of headers has changed.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35429 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-15cmake stuff:jmayer1-0/+1
- Fix fallout from gtk/text_import_scanner.l patch: Wireshark will build with cmake again. - Update README.cmake a bit - Running "cmake -DUI_MANAGER=ON" will give you the new ui-manager. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34885 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-28- Reset a few more variables used in FindXYZ scripts.jmayer3-3/+8
- README.cmake: small update. - Set a variable before using it for installation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34274 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-25- FindGLIB2.cmake updates fromjmayer3-173/+285
http://www.opensync.org/browser/branches/3rd-party-cmake-modules/modules + split out FindGMODULE2.cmake + contains /sw/... by default + supposedly tested on OSX - Disable pcre for cmake builds by default, gregex should be picked up automatically if glib2 is not too old. Should you have trouble linking due to some libgmodule... stuff undefined, please add "${GMODULE2_LIBRARIES}" after "${GLIB2_LIBRARIES}" an report back. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34248 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-24Reset CMAKE_REQUIRED_FLAGS after checking flags.stig1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34233 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23H.sivank:jmayer1-0/+3
Cmake fixes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34225 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Add check for HAVE_GZCLEARERR.jmayer1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34204 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Try to add support to learn the HTML_VIEWER variable and the DOC_DIR ↵jmayer1-1/+1
variables from the environment - not yet working git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34200 f5534014-38df-0310-8fa8-9805f1628bb7
2010-07-22Set missing svn:keywords and svn:eol-style.stig1-42/+42
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33616 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24Jose Pedro Oliveira <jpo@di.uminho.pt>jmayer1-0/+1
(via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4786) Add missing +INCLUDE(CheckVariableExists) to make the previous commit work. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32939 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24At least according to the CMake 2.6 documentation,guy1-0/+1
CHECK_VARIABLE_EXISTS() can be used to check for C variables; use that to check for pcap_version. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32938 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-19Commit 32350 replaced the self written FindZ.cmake by cmakesjmayer1-0/+2
FindZLIB.cmake. What it didn't do was do adapt the magic names that are derived from the name of the FindXXX.cmake script. Fix that. Also add $Id$ to the FindZLIB.cmake script. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32899 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-01Add readme to track moduleskrj1-0/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32351 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-01Sync ZLIB from CMake trunkkrj2-35/+40
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32350 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-18cmake changes:jmayer1-0/+22
- Add checking for linker flags - Install plugins with the name including the Wireshark version. This will make it easier to find matching plugin versions if files get just copied over. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32231 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-17Add CMake tests for pcap_datalink_val_to_description() andguy1-6/+14
pcap_free_datalinks(). Sort the CMake tests in cmake/modules/FindPCAP.cmake into the same order as the tests in the autoconf script, and note that, in the autoconf script, the checks for pcap_open_dead() and pcap_freecode() do more than just look for the routines in the library. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32225 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-09Mark unused arguments.guy1-3/+2
Clean up white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32149 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-07Use strtok_s on windows and strtok_r otherwise.etxrab1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32138 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-04Copy over the introduction of Makefile.common changejmayer1-395/+517
Replace FindGTK2 by version included in cmake 2.8.x git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32119 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-25Almost working out-of-tree builds for the documentation,jmayer4-79/+102
with a few hacks right now: - The tip.png, warning.png and note.png images are missing from the pdfs and I have no idea how to tell fop how to find them. - Disabling/enabling building the guides via option currently doesn't work (probably too many macros :-), so comment out the subdir instead. - Right now, in order to build the devleopers guide we need to do the following in the source docbook directory: touch wsdg_graphics/toolbar/dummy.dummy Apart from these: The build works with a pristine docbook dir (svn status --no-ignore). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32004 f5534014-38df-0310-8fa8-9805f1628bb7
2009-12-29- Beginnings of cmake in docbook directoryjmayer7-38/+245
- Add note about "make help" - Move beginnings of packaging into its own file: CPackConfig.txt git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31379 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-11- Generate manpages and html version of manpagesjmayer2-2/+87
- Detect pod2man/pod2html to do that - Install manpages and html version thereof git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30934 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-09Also look for /usr/bin/open as HtmlViewer.stig1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30874 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-15The Feature summary of cmake 2.6.2 has a bug that is fixed injmayer1-0/+78
2.8.x (an empty disabled feature list would display all features). Copy in the version from cmake svn head for now. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30563 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-10Add tools/lemon/CMakeLists.txt which creates the lemon parser executablekrj1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30461 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-09Introduce UseMakeTapReg.cmakekrj1-0/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30436 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-09Add register_dissector_files macrokrj1-0/+33
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30433 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-08Remove FindWSWIN32.cmake. It was only a temporary hack I introduced. We ↵krj1-34/+0
should add Windows support in a more clean fashion. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30408 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-25Try to add tpg, but it seems it doesn't build with autofoo either.jmayer1-0/+25
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30151 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-24Slightly rework the detection code for some packages.jmayer4-43/+11
Make compile flag detection work (needed some not so nice hacks). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30129 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-24While trying to understand commit 30107, I found the following atjmayer1-1/+1
http://www.itk.org/Bug/view.php?id=9219 Note that CMAKE_CFG_INTDIR is no longer necessary for this purpose but has been left for compatibility with existing projects. Instead add_custom_command() recognizes executable target names in its COMMAND So just use "lemon" instead of specifying the full path. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30109 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-23Run lemon from CMAKE_CFG_INTDIR.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30107 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-23- Add $Id: $ tagsjmayer25-1/+76
- FindHtmlViewer.cmake: Try to add reading the name of the html viewer from the HTML_VIEWER environment variable (untested) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30104 f5534014-38df-0310-8fa8-9805f1628bb7