xlinkhandheldassistant icon indicating copy to clipboard operation
xlinkhandheldassistant copied to clipboard

Improve CMakeLists.txt

Open codedwrench opened this issue 5 years ago • 1 comments

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 avatar Oct 13 '20 11:10 codedwrench

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 avatar Jan 19 '21 12:01 codedwrench