
25.10.2024, 21:36
|
|
Флудер
Регистрация: 19.06.2022
Сообщений: 2,997
С нами:
2055431
Репутация:
3
|
|
можно же через фетч подтягивать самп птл:
Makefile:
Код:
include
(
FetchContent
)
FetchContent_Declare
(
samp-ptl
GIT_REPOSITORY https
:
//github.com/katursis/samp-ptl.git
GIT_TAG 06b5e2b9c51879532368dd9e468b5e259ce5d7ce
)
FetchContent_MakeAvailable
(
samp-ptl
)
# samp-ptl
add_library
(
samp-ptl INTERFACE
)
target_include_directories
(
samp-ptl INTERFACE
$
{
samp-ptl_SOURCE_DIR
}
)
# project
target_link_libraries
(
$
{
PROJECT_NAME
}
PRIVATE
samp-ptl
)
target_compile_definitions
(
$
{
PROJECT_NAME
}
PRIVATE
HAVE_STDINT_H
)
позже закину свой мегапрожект
|
|
|