mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-22 09:13:48 +01:00
20 lines
551 B
CMake
20 lines
551 B
CMake
|
CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
|
||
|
|
||
|
project(
|
||
|
KolibriOS-gcc-Toolchain-installer
|
||
|
DESCRIPTION "Installer of gcc toolchain for KolibriOS"
|
||
|
)
|
||
|
|
||
|
|
||
|
add_custom_target(
|
||
|
Package
|
||
|
COMMAND cp -f ${CMAKE_CURRENT_SOURCE_DIR}/install.sh ${CMAKE_CURRENT_SOURCE_DIR}/package/DEBIAN/postinst
|
||
|
COMMAND dpkg-deb --build ${CMAKE_CURRENT_SOURCE_DIR}/package ${CMAKE_CURRENT_BINARY_DIR}/package.deb
|
||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||
|
)
|
||
|
|
||
|
add_custom_target(
|
||
|
Installer
|
||
|
COMMAND iscc /O"${CMAKE_CURRENT_BINARY_DIR}" ${CMAKE_CURRENT_SOURCE_DIR}/installator.iss
|
||
|
)
|