-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CMake #891
Open
sgeto
wants to merge
71
commits into
Ettercap:master
Choose a base branch
from
sgeto:fix-cmake
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix CMake #891
Changes from 26 commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
92a6d7c
Added TODO.CMake
sgeto 179081f
Increased cmake_minimum_required to 3.0
sgeto 0db32a6
Updated .gitignore
sgeto 7df66aa
Shorten lines to under 80 characters and added some tweaks to FindGTK…
sgeto ca4f28a
Added solution for missing GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GLIBCONFIG…
sgeto e87a7b7
Set PKG_CONFIG_USE_CMAKE_PREFIX_PATH before searching for GTK2 in win…
sgeto 6534dce
Temporary fixes for locating glibconfig.h (GTK3)
sgeto f12e21e
Ship our own FindCurses.cmake and don't build the curses interface by…
sgeto d2a6837
Simplified macro_ensure_out_of_source_build()
sgeto 88691d3
Don't limit CMAKE_BUILD_TYPE
sgeto fa4aa14
Avoid install ettercap desktop files on Windows
sgeto 77d5350
Got rid of SPECIAL_LIB_DIR
sgeto f9765e7
Include EttercapOSTest.cmake as early as possible
sgeto b6cbcd9
Removed a leftover comment
sgeto 0967d08
Added VERSION into project()
sgeto eac3ea7
Append our CMAKE_MODULE_PATH to any existing one, don't override them.
sgeto f0951ce
Added win32 specific macro to config.h and unified OS_MINGW with OS_W…
sgeto c3bf4e4
Use cmake_dependent_option() to exclude GTK and Curses UI from LIBRAR…
sgeto 0dc7b65
Use LIBRARY_BUILD throughout when building just libettercap
sgeto c535638
Check for and set proper INSTALL_SYSCONFDIR
sgeto 48a436c
Divide top-level CMakeLists.txt into sections pt. 1
sgeto 45b2247
Removed our custom build flags for release builds
sgeto 97a57a0
Reworked (how we deal with) [debug] compile flags
sgeto 41fbcc1
Look quietly for Freetype
sgeto b5fbf93
GTK3 is the default GTK_BUILD_TYPE again.
sgeto 13e73cb
Removed dead ASAN support stuff
sgeto 7dfb454
Divide top-level CMakeLists.txt into sections pt. 2
sgeto 28b7945
CheckVariableInHeaders.cmake is out
sgeto 707e994
Check for arpa/nameser.h and nameser.h
sgeto 48803c9
Automatically add CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR
sgeto 0a9129c
Improved finding and linkink with ncurses libraries
sgeto b1b48f2
FindCurses.cmake is back
sgeto f0ea954
Reduced use of include_directories() and separated library dependencies
sgeto bd1daf4
Fixed a typo
sgeto c6b1234
Improved FindGTK3.cmake
sgeto c3a3adb
Added CURSES_NEED_WIDE as user option
sgeto d6d8ba4
Introduced support for Pthreads-win32 (a.k.a. pthreads4w)
sgeto b55aaf9
Fixing build failure on MacOSX
sgeto 3d79321
Only check for HAVE_UTF8 if the HAVE_ICONV check failed
sgeto bd32752
Enabled plug-ins support on Windows
sgeto 4920b43
Drop our local FindCURL.cmake
sgeto f8d434b
Improved finding and linking with libpcap
sgeto 23edc36
Look for iconv.h too
sgeto 46b625b
Added ENABLE_UTILS option
sgeto ff44b2c
Added BUILD_SHARED_LIBS option (WIP)
sgeto 72d8a68
Improved our FindPTHREADS-WIN32.cmake module
sgeto 8857492
Improved GeoIP support
sgeto 1bb9f24
Tweaks for finding dn_expand()
sgeto d973df7
Fix indentation in cmake/Modules/FindGEOIP.cmake
sgeto cad8e34
Updated and extended PCRE support
sgeto d04def3
Simplified iconv check
sgeto f28b2b9
Updated and extended libnet support
sgeto 28625a8
Updated and extended check support
sgeto fb594f1
Improved test_verbose target
sgeto 4d8bf95
Link unit test with our new import target CHECK::CHECK
sgeto 02f4326
Added IP6 decoder test case
sgeto 630d180
Flex and Bison are required
sgeto bf4783b
Enabled Daemon interface (WIP)
sgeto 1abe790
Updated and extended groff support
sgeto 7fb80d1
Updated and extended luajit support (WIP)
sgeto d198009
Merged EttercapHeadersCheck.cmake & EttercapVariableCheck.cmake into …
sgeto 421f741
Cleaned up include lists EttercapLibCheck.cmake
sgeto ed22068
Moved build parameters to EttercapBuildParameters.cmake
sgeto 9bf1fb1
Frist argument to list(APPEND ...) is already considered a variable
sgeto f0d6512
Fixed a merge conflict
sgeto 8973715
Adjust required version for GeoIP package to 1.6.0
3ffc626
make cmake-lint happy - fix tab in FindLUAJIT.cmake
ca87ac2
WITH_IPV6 definition must be defined in case ENABLE_IPV6 has been set
6504f24
changed CMake variable name for libnet library
ecedfb5
traditionally link if imported target CHECK::CHECK is not defined
7c73236
Remove Cmake list duplicates only if list exists
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is / was meant only for debugging. So to easily be able to enable ASAN support for troubleshooting memory issues.
Is this somewhere else able to be just, switched on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to add these features as an independent make target.
I saw something similar before so it should be possible.
Me too, I hope I will be able to delete my todo by the end of this PR.
Wish me luck 😄