User Tools

Site Tools


kdevelop

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kdevelop [2017/03/28 15:07]
be.ing [Specify #include paths]
kdevelop [2019/02/02 10:11] (current)
be.ing [Specify #include paths] update include paths
Line 8: Line 8:
  
 ===== Configure SCons ===== ===== Configure SCons =====
-In the Custom ​BuildSystem ​pane, under the Build Tools section, type ''​scons''​ in the Executable field and add your [[compiling on linux#​compile and install|scons arguments]] to the Arguments field (this should at least include your prefix argument). This will allow you to build Mixxx easily within KDevelop. Building within KDevelop allows you to click on compile errors and warnings to open the corresponding source code file at the place where the error/​warning is pointing to.+In the Custom ​Build System ​pane, under the Build Tools section, type ''​scons''​ in the Executable field and add your [[compiling on linux#​compile and install|scons arguments]] to the Arguments field (this should at least include your prefix argument). This will allow you to build Mixxx easily within KDevelop. Building within KDevelop allows you to click on compile errors and warnings to open the corresponding source code file at the place where the error/​warning is pointing to
 + 
 +===== Filter out redundant files ===== 
 +scons keeps a cached build for every Git branch in the ''​cache''​ directory. Telling KDevelop'​s indexer to scan this is a waste of time. So, in the Project Filter pane, click the Add button and type "​cache"​. Change the Target column to Folders instead of Files and Folders. If you are [[Using Git#Working on mappings and skins separately from other changes|using multile Git worktrees]],​ you may want to filter out those folders too.
  
 ===== Specify #include paths ===== ===== Specify #include paths =====
 Select the Language Support pane and click the Batch edit button to edit the list of #include paths. KDevelop normally detects the #include paths from the build system, but it is not able to do this with SCons. There are some paths that must be included in the Mixxx source tree; these must be absolute paths, not relative to the project root. Select the Language Support pane and click the Batch edit button to edit the list of #include paths. KDevelop normally detects the #include paths from the build system, but it is not able to do this with SCons. There are some paths that must be included in the Mixxx source tree; these must be absolute paths, not relative to the project root.
  
-Copy and paste the list below into the Batch edit dialog, replacing ''​[MIXXX LOCATION]''​ with wherever you have your Mixxx source tree. The version numbers for the libraries in mixxx/lib are for those included with Mixxx 2.1. If they have been updated, please update this wiki page. The paths in /usr are for those on Fedora ​25. They may need some adjustment for your distribution.+Copy and paste the list below into the Batch edit dialog, replacing ''​[MIXXX LOCATION]''​ with wherever you have your Mixxx source tree. The version numbers for the libraries in mixxx/lib are for those included with Mixxx 2.3. If they have been updated, please update this wiki page. The paths in /usr are for those on Fedora ​29. They may need some adjustment for your distribution.
  
 When you are done, click Apply. KDevelop will parse the entire Mixxx source tree. This could take quite a while first time. If your computer has < 8 GB of memory, make sure you have a swap partition or swap file enabled. The parser can take up to 1.5 GB of memory. If your system runs out of memory, it will hang in the middle of the scan until Linux kills the process. When you are done, click Apply. KDevelop will parse the entire Mixxx source tree. This could take quite a while first time. If your computer has < 8 GB of memory, make sure you have a swap partition or swap file enabled. The parser can take up to 1.5 GB of memory. If your system runs out of memory, it will hang in the middle of the scan until Linux kills the process.
 <​code>​ <​code>​
 [MIXXX LOCATION]/​lib/​benchmark/​include [MIXXX LOCATION]/​lib/​benchmark/​include
-[MIXXX LOCATION]/​lib/​fidlib-0.9.10+[MIXXX LOCATION]/​lib/​fidlib
 [MIXXX LOCATION]/​lib/​gtest-1.7.0/​include [MIXXX LOCATION]/​lib/​gtest-1.7.0/​include
 [MIXXX LOCATION]/​lib/​gmock-1.7.0 [MIXXX LOCATION]/​lib/​gmock-1.7.0
Line 26: Line 29:
 [MIXXX LOCATION]/​lib/​gtest-1.7.0/​include/​gtest [MIXXX LOCATION]/​lib/​gtest-1.7.0/​include/​gtest
 [MIXXX LOCATION]/​lib/​hidapi-0.8.0-rc1/​hidapi [MIXXX LOCATION]/​lib/​hidapi-0.8.0-rc1/​hidapi
-[MIXXX LOCATION]/​lib/​libebur128-1.1.0/ebur128+[MIXXX LOCATION]/​lib/​libebur128/​ebur128
 [MIXXX LOCATION]/​lib/​portaudio [MIXXX LOCATION]/​lib/​portaudio
 [MIXXX LOCATION]/​lib/​qtscript-bytearray [MIXXX LOCATION]/​lib/​qtscript-bytearray
 [MIXXX LOCATION]/​lib/​replaygain [MIXXX LOCATION]/​lib/​replaygain
 [MIXXX LOCATION]/​lib/​reverb [MIXXX LOCATION]/​lib/​reverb
-[MIXXX LOCATION]/​lib/​soundtouch-1.9.2 +[MIXXX LOCATION]/​lib/​soundtouch-2.0.0
-[MIXXX LOCATION]/​lib/​vamp-2.6+
 [MIXXX LOCATION]/​lib/​xwax [MIXXX LOCATION]/​lib/​xwax
 [MIXXX LOCATION]/​lin64_build [MIXXX LOCATION]/​lin64_build
Line 44: Line 46:
 /​usr/​include/​libupower-glib /​usr/​include/​libupower-glib
 /​usr/​include/​libusb-1.0 /​usr/​include/​libusb-1.0
-/​usr/​include/​Qt +/​usr/​include/​qt5 
-/​usr/​include/​Qt3Support +/​usr/​include/​qt5/QtCore 
-/​usr/​include/QtCore +/​usr/​include/qt5/QtDBus 
-/​usr/​include/​QtDBus +/​usr/​include/​qt5/​QtDesigner 
-/​usr/​include/​QtDeclarative +/​usr/​include/qt5/QtGui 
-/​usr/​include/​QtDesigner +/​usr/​include/qt5/QtHelp 
-/​usr/​include/​QtGui +/​usr/​include/qt5/​QtMultimedia 
-/​usr/​include/​QtHelp +/​usr/​include/qt5/​QtNetwork 
-/​usr/​include/​QtMultimedia +/​usr/​include/qt5/QtOpenGL 
-/​usr/​include/​QtNetwork +/​usr/​include/​qt5/​QtQml 
-/​usr/​include/​QtOpenGL +/​usr/​include/​qt5/QtScript 
-/​usr/​include/​QtScript +/​usr/​include/qt5/​QtScriptTools 
-/​usr/​include/​QtScriptTools +/​usr/​include/qt5/QtSql 
-/​usr/​include/​QtSql +/​usr/​include/qt5/QtSvg 
-/​usr/​include/​QtSvg +/​usr/​include/qt5/QtXml 
-/​usr/​include/​QtXml +/​usr/​include/qt5/QtTest 
-/​usr/​include/​QtTest +/​usr/​include/qt5/​QtUiTools 
-/​usr/​include/​QtUiTools +/​usr/​include/qt5/QtWebKit 
-/​usr/​include/​QtWebKit +/​usr/​include/​qt5/​QtWidgets 
-/​usr/​include/​QtXmlPatterns+/​usr/​include/​qt5/​QtXmlPatterns
 /​usr/​lib/​scons/​SCons /​usr/​lib/​scons/​SCons
 </​code>​ </​code>​
kdevelop.1490728058.txt.gz · Last modified: 2017/03/28 15:07 by be.ing