Skip to content

build: Add Clion support through CMakeLists.txt#32

Closed
EvanLuo42 wants to merge 1 commit intoCMU-Graphics:mainfrom
EvanLuo42:main
Closed

build: Add Clion support through CMakeLists.txt#32
EvanLuo42 wants to merge 1 commit intoCMU-Graphics:mainfrom
EvanLuo42:main

Conversation

@EvanLuo42
Copy link
Copy Markdown

Visual Studio Code's clangd plugin is poor at tab completion while using template in C++. CLion (or Visual Studio, although I don't use VS) generally has better code completion for template and more refactor suggestions. Therefore, it would be helpful to have CLion support, but current Scotty3D project doesn't have a CMakeLists.txt file where CLion only supports opening CMake project. Because of this reason, I add a basic CMakeLists.txt file that enable CLion to load Scotty3D project (without building function).

P.S. The CMakeLists.txt is only tested on macOS but I add Windows and Linux support that should works. Need some tests.

@EvanLuo42 EvanLuo42 closed this by deleting the head repository Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant