Skip to content

Commit

Permalink
chore(CMakeLists.txt): Set startup project
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Feb 18, 2024
1 parent f8ad906 commit e1eb7b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O3")
add_compile_options(-Wall)
add_compile_options(-pedantic)

# properties
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${PROJECT_NAME})

# compilation database
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")

Expand Down

0 comments on commit e1eb7b5

Please sign in to comment.