Skip to content

Иванова Алина. добавила CMake для домашки 2#20

Open
ialina07 wants to merge 4 commits intomainfrom
cmake-hm2
Open

Иванова Алина. добавила CMake для домашки 2#20
ialina07 wants to merge 4 commits intomainfrom
cmake-hm2

Conversation

@ialina07
Copy link
Owner

No description provided.

@ialina07 ialina07 requested review from chernishev and p-senichenkov and removed request for chernishev and p-senichenkov December 18, 2025 08:11
add_executable(task4 src/task4.c)

# Дополнительная цель для сборки всех задач
add_custom_target(all
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нет, так в CMake не делается. Если при сборке не указывать цель, то автоматически соберётся всё.
А ещё, возможно, что Ваша all будет конфликтовать с автоматически созданной all.

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.

2 participants