{"id":1058,"date":"2026-05-03T19:29:10","date_gmt":"2026-05-04T02:29:10","guid":{"rendered":"https:\/\/sysprogs.com\/tutorials\/?p=1058"},"modified":"2026-05-03T19:29:59","modified_gmt":"2026-05-04T02:29:59","slug":"importing-existing-cmake-projects-to-codevroom","status":"publish","type":"post","link":"https:\/\/sysprogs.com\/CodeVROOM\/tutorials\/importing\/","title":{"rendered":"Importing Existing CMake Projects to CodeVROOM"},"content":{"rendered":"<p>You can use CodeVROOM to navigate\/build existing CMake-based projects. This tutorial shows the necessary steps:<\/p>\n<ol>\n<li>Start CodeVROOM and make sure you have <strong>gcc, <\/strong><strong>g++ <\/strong>and<strong> cmake <\/strong>installed and available in PATH (on MacOS CodeVROOM will also look in \/opt\/homebrew\/bin):<a href=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/01-ide.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1059\" src=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/01-ide.png\" alt=\"\" width=\"1306\" height=\"838\" srcset=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/01-ide.png 1306w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/01-ide-300x192.png 300w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/01-ide-1024x657.png 1024w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/01-ide-768x493.png 768w\" sizes=\"(max-width: 1306px) 100vw, 1306px\" \/><\/a><\/li>\n<li>Select &#8220;File-&gt;Import a Project&#8221; and pick the location of your CMake code:<a href=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/02-import.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1060\" src=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/02-import.png\" alt=\"\" width=\"820\" height=\"493\" srcset=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/02-import.png 820w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/02-import-300x180.png 300w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/02-import-768x462.png 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/li>\n<li>Proceed with the default settings:<a href=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/03-gcc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1061\" src=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/03-gcc.png\" alt=\"\" width=\"820\" height=\"644\" srcset=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/03-gcc.png 820w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/03-gcc-300x236.png 300w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/03-gcc-768x603.png 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/li>\n<li>If your project requires additional CMake arguments or environment variables, you can add them on the last page:<a href=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/04-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1062\" src=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/04-settings.png\" alt=\"\" width=\"817\" height=\"643\" srcset=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/04-settings.png 817w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/04-settings-300x236.png 300w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/04-settings-768x604.png 768w\" sizes=\"(max-width: 817px) 100vw, 817px\" \/><\/a><\/li>\n<li>Press &#8220;Finish&#8221; to generate the project:<a href=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/05-loaded.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1063\" src=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/05-loaded.png\" alt=\"\" width=\"1330\" height=\"854\" srcset=\"https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/05-loaded.png 1330w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/05-loaded-300x193.png 300w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/05-loaded-1024x658.png 1024w, https:\/\/sysprogs.com\/tutorials\/wp-content\/uploads\/2026\/05\/05-loaded-768x493.png 768w\" sizes=\"(max-width: 1330px) 100vw, 1330px\" \/><\/a><\/li>\n<\/ol>\n<p>Now you can use CodeVROOM&#8217;s navigation to explore the project. If the project is really big, it could take several minutes to build the symbol cache, but then navigating to symbols and finding references will be nearly instant. See <a href=\"https:\/\/sysprogs.com\/CodeVROOM\/tutorials\/cpp\/editing\/\">this tutorial<\/a> for an overview of supported editing functionality.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can use CodeVROOM to navigate\/build existing CMake-based projects. This tutorial shows the necessary steps: Start CodeVROOM and make sure<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[80],"_links":{"self":[{"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/posts\/1058"}],"collection":[{"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/comments?post=1058"}],"version-history":[{"count":1,"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/posts\/1058\/revisions"}],"predecessor-version":[{"id":1064,"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/posts\/1058\/revisions\/1064"}],"wp:attachment":[{"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/media?parent=1058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/categories?post=1058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sysprogs.com\/tutorials\/wp-json\/wp\/v2\/tags?post=1058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}