![]() Windows - New Computer Getting a new Windows computer ready.įor some reason a new Windows computrer comes with all types of sudo apt-get install cmake gcc clang gdb build-essential.If you have installed WSL (Windows Subsystem for Linux).Confirm that Using VCS menu option, files can be committed and pushed to repository.Confirm that cpplint and cppcheck are working from CLion.File > Settings > Version Control > Git - add executable to git program, something like c:\msys64\usr\bin\git.exe.File > Settings > Version Control > GitHub - add your github account.File > Settings > Plugins - enable GitHub and Git Integration plugins.Download gitignore for JetBrains.CLion from and save it to ~/.gitignore_global.If you are using CATCH framework: Download Catch2 testing framework and integrate it with CLion following instructions at xx.Visual Studio's compiler - if necessary.wsl for compiling thinghs under ubuntu and using valgrind.Check that you can use different toolchaings.Ctrl-I as Auto-Indent Lines (instead or inaddition to Ctrl-Alt-I).filter=-legal/copyright,-whitespace/tab,-build/namespaces,-build/include,-build/header_guard,-whitespace/newline,-whitespace/braces,-build/c++11,-runtime/threadsafe_fn set cpplint options (can also create a file CPPLINT.cfg in the project):.Cpplint should give a warning about no copyright message found at the top of file.python C:\msys64\usr\bin\python.exe and cpplint at C:\msys64\usr\lib\python3.7\site-packages\cpplint.py ( setting it to C:\msys64\usr\bin\cpplint is reported not to work).enable=all -inconclusive -language=c++ -std=posix -suppress=missingIncludeSystem Set(CMAKE_CXX_FLAGS "$ -g -Wall -Wextra -Wno-sign-compare")Ĭppcheck should give a warning for "int *x = new int " indicating memory leak # have compiler give warnings, but not for signed/unsigned ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |