Skip to content

Commit 9b86d1a

Browse files
committed
Add CMakeLists.txt for IDE usage
1 parent 711c8a6 commit 9b86d1a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
target
22
**/*.rs.bk
33
Cargo.lock
4+
/build

CMakeLists.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file is used only for IDE support
2+
3+
cmake_minimum_required(VERSION 3.0.0)
4+
project(mupdf-wrapper VERSION 0.1.0)
5+
6+
include_directories(mupdf-sys mupdf-sys/mupdf/include)
7+
add_library(mupdf-wrapper mupdf-sys/wrapper.c)
8+
9+
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
10+
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
11+
include(CPack)

0 commit comments

Comments
 (0)