modified: makefile
[GalaxyCodeBases.git] / tools / Bilibili / danmaku2ass_native / CMakeLists.txt
blob2b86f9cc80f3778eeaa1ad5f638aa4d820f738ae
1 cmake_minimum_required(VERSION 2.6)
2 project(danmaku2ass_native)
4 if (NOT MSVC)
5 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
6 endif()
8 set(SOURCE_FILES
9     danmaku2ass.cpp
10     danmaku2ass.h
11     rapidxml/rapidxml_iterators.hpp
12     rapidxml/rapidxml_print.hpp
13     rapidxml/rapidxml_utils.hpp
14     rapidxml/rapidxml.hpp
15     AssClass.cpp
16     AssClass.hpp
17         )
19 add_executable(danmaku2ass_native ${SOURCE_FILES})
20 add_library(danmaku2ass SHARED ${SOURCE_FILES})