3 Star 1 Fork 0

Gitee 极速下载/BurstLinker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Bilibili/BurstLinker
克隆/下载
CMakeLists.txt 2.54 KB
一键复制 编辑 原始数据 按行查看 历史
jcikia 提交于 2018-09-20 12:52 . modify the imported folder name
cmake_minimum_required(VERSION 3.7)
project(BurstLinker)
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
#file(GLOB SOURCE_FILES *.cpp)
set(src_dir src)
set(third_part_dir third_part)
set(example_dir example)
set(SOURCE_FILES
${src_dir}/ThreadPool.h
${src_dir}/GifEncoder.h ${src_dir}/GifEncoder.cpp
${src_dir}/GifAnalyzer.cpp ${src_dir}/GifAnalyzer.h
${src_dir}/GifBlockWriter.cpp ${src_dir}/GifBlockWriter.h
${src_dir}/KDTree.cpp ${src_dir}/KDTree.h
${src_dir}/LzwEncoder.cpp ${src_dir}/LzwEncoder.h
${src_dir}/Logger.cpp ${src_dir}/Logger.h
${src_dir}/Ditherer.h
${src_dir}/NoDitherer.cpp ${src_dir}/NoDitherer.h
${src_dir}/BayerDitherer.cpp ${src_dir}/BayerDitherer.h
${src_dir}/M2Ditherer.cpp ${src_dir}/M2Ditherer.h
${src_dir}/FloydSteinbergDitherer.cpp ${src_dir}/FloydSteinbergDitherer.h
${src_dir}/ColorQuantizer.h
${src_dir}/UniformQuantizer.cpp ${src_dir}/UniformQuantizer.h
${src_dir}/RandomQuantizer.cpp ${src_dir}/RandomQuantizer.h
${src_dir}/MedianCutQuantizer.cpp ${src_dir}/MedianCutQuantizer.h
${src_dir}/KMeansQuantizer.cpp ${src_dir}/KMeansQuantizer.h
${src_dir}/OctreeQuantizer.cpp ${src_dir}/OctreeQuantizer.h
${src_dir}/NeuQuant.cpp ${src_dir}/NeuQuant.h
${src_dir}/NeuQuantQuantizer.cpp ${src_dir}/NeuQuantQuantizer.h
${src_dir}/BurstLinker.cpp ${src_dir}/BurstLinker.h
${third_part_dir}/stb_image.h
)
set(BURSTLINKER_FILES
${src_dir}/Main.cpp
)
set(EXAMPLE_FILES
${example_dir}/Main.cpp
)
add_executable(BurstLinker ${SOURCE_FILES} ${BURSTLINKER_FILES})
add_executable(Example ${SOURCE_FILES} ${EXAMPLE_FILES})
message(STATUS "CMAKE_SYSTEM_INFO_FILE: ${CMAKE_SYSTEM_INFO_FILE}")
message(STATUS "CMAKE_SYSTEM_NAME: ${CMAKE_SYSTEM_NAME}")
message(STATUS "CMAKE_SYSTEM_PROCESSOR: ${CMAKE_SYSTEM_PROCESSOR}")
message(STATUS "CMAKE_SYSTEM: ${CMAKE_SYSTEM}")
message(STATUS "CMAKE_BINARY_DIR: ${CMAKE_BINARY_DIR}")
message(STATUS "CMAKE_CURRENT_SOURCE_DIR: ${CMAKE_CURRENT_SOURCE_DIR}")
message(STATUS "PROJECT_SOURCE_DIR: ${PROJECT_SOURCE_DIR}")
message(STATUS "PROJECT_BINARY_DIR: ${PROJECT_BINARY_DIR}")
IF (CMAKE_SYSTEM MATCHES "Linux")
find_package(Threads)
target_link_libraries(BurstLinker ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(Example ${CMAKE_THREAD_LIBS_INIT})
ELSEIF (CMAKE_SYSTEM MATCHES "Darwin")
ELSEIF (CMAKE_SYSTEM MATCHES "Windows")
ENDIF ()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/BurstLinker.git
git@gitee.com:mirrors/BurstLinker.git
mirrors
BurstLinker
BurstLinker
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385