2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-29 08:05:50 +03:00
rehlds/dep/bzip2/CMakeLists.txt
s1lentq ccd36e765b CMakeLists.txt configure Intel C++ Compiler
build.yml: use container linux86buildtools
Minor refactoring
2021-04-08 03:34:55 +07:00

26 lines
448 B
CMake

cmake_minimum_required(VERSION 3.1)
project(bzip2 C)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g0 -O1 -fno-stack-protector")
set(BZIP2_SRCS
"src/blocksort.c"
"src/bzlib.c"
"src/compress.c"
"src/crctable.c"
"src/decompress.c"
"src/huffman.c"
"src/precompiled.c"
"src/randtable.c"
"src/bzlib_private.h"
)
include_directories(
"include"
)
add_library(bzip2 STATIC ${BZIP2_SRCS})
set_target_properties(bzip2 PROPERTIES
COMPILE_FLAGS "-m32"
)