Skip to content
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

Improve CMakeLists.txt #15

Open
codedwrench opened this issue Oct 13, 2020 · 1 comment
Open

Improve CMakeLists.txt #15

codedwrench opened this issue Oct 13, 2020 · 1 comment
Labels
build environment CMakeLists, clang-formatter, clang-tidy, that kind of stuff enhancement New feature or request good first issue Good for newcomers

Comments

@codedwrench
Copy link
Owner

codedwrench commented Oct 13, 2020

The CMakeLists has been hacked together by me in a single file.
It needs to be rewritten for a CMakelists file per folder.

The following features have to work:

  • MingW64, MSYS, GCC and MSVC compiler support.

  • The different libraries in this project: ncurses/pdcurses, libpcap/npcap, google test, google mock, boost_thread & boost program_options have to be imported properly and based on platform (only windows and linux officially supported)

  • Source files need to be found in their subfolders instead of it being a long list of linker files like it is now

  • Source files need to be automatically included for the unittest target

  • Doxygen needs to be able to be generated

  • Doxygen and Unittest building is optional

Bonus points if you add automatic file formatting through clang format.

@codedwrench codedwrench added enhancement New feature or request good first issue Good for newcomers labels Oct 13, 2020
@codedwrench codedwrench added this to To do in Mondevtopromisc via automation Oct 13, 2020
@codedwrench codedwrench added the build environment CMakeLists, clang-formatter, clang-tidy, that kind of stuff label Oct 13, 2020
@codedwrench
Copy link
Owner Author

The different libraries in this project: ncurses/pdcurses, libpcap/npcap, google test, google mock, boost_thread & boost program_options have to be imported properly and based on platform (only windows and linux officially supported)
Now added a cmake subfolder for finding modules, this improved the file a little bit already

@codedwrench codedwrench moved this from To do to Done in Mondevtopromisc Nov 25, 2021
@codedwrench codedwrench moved this from Done to To do in Mondevtopromisc Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build environment CMakeLists, clang-formatter, clang-tidy, that kind of stuff enhancement New feature or request good first issue Good for newcomers
Projects
Development

No branches or pull requests

1 participant