Skip to content

Иванова Алина. Задание "Двоичное представление". 01.12#14

Open
ialina07 wants to merge 6 commits intomainfrom
hm12.1
Open

Иванова Алина. Задание "Двоичное представление". 01.12#14
ialina07 wants to merge 6 commits intomainfrom
hm12.1

Conversation

@ialina07
Copy link
Owner

@ialina07 ialina07 commented Dec 1, 2025

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Нужны тесты и CMake

endif()

# Где искать заголовки
include_directories(include)
Copy link
Collaborator

@p-senichenkov p-senichenkov Dec 17, 2025

Choose a reason for hiding this comment

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

Так делается только в разделяемых библиотеках, чтобы можно было подключить библиотеки только на этапе линковки (а компиляция прошла без них). Но в таком случае директория include кладётся в корневую директорию библиотеки. Выглядит как-то так:

awesome-lib
|- src
|- include
| - CMakeLists.txt

А у Вас include лежит по сути в корне всего проекта. Это не очень правильно, потому что не очень понятно, чей это include.

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