Skip to content

Commit

Permalink
Add gcc build
Browse files Browse the repository at this point in the history
  • Loading branch information
msg7086 committed Sep 4, 2019
1 parent f1a76cb commit b989ac3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ file(GLOB VPY_FILES ${PROJECT_SOURCE_DIR}/src/vapoursynth/*.cpp)
file(GLOB CORE_FILES ${PROJECT_SOURCE_DIR}/src/*.cpp)
find_package(Git)
add_library(neo-f3kdb SHARED ${VPY_FILES} ${CORE_FILES} version.rc)
set_target_properties(neo-f3kdb PROPERTIES PREFIX "")
if(MSVC)
target_sources(neo-f3kdb PRIVATE ${AVS_FILES})
endif(MSVC)
Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mkdir -p build/gcc
pushd build/gcc
cmake -G "MSYS Makefiles" -DCMAKE_CXX_FLAGS=-msse4.1 -D_DIR=gcc ../../
popd
cmake --build build/gcc

0 comments on commit b989ac3

Please sign in to comment.