Skip to content

Commit

Permalink
Added library export
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeyyuen committed Mar 15, 2016
1 parent 5a42253 commit edc5a8a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ CMakeCache.txt
*.o
*.a
*.cmake
Makefile
sysroot
install_manifest.txt
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
add_library (open-simplex-noise open-simplex-noise.c)
cmake_minimum_required(VERSION 2.8)

add_library (open-simplex-noise STATIC open-simplex-noise.c)

target_include_directories (open-simplex-noise PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

install(TARGETS open-simplex-noise
DESTINATION "lib")

install(FILES open-simplex-noise.h
DESTINATION "include")


0 comments on commit edc5a8a

Please sign in to comment.