Skip to content

Commit

Permalink
add bootstrapper for native libraries (dotnet#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonerdo committed Jul 30, 2017
1 parent 347d452 commit a3c0bb7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Native/Bootstrap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ endif()

add_subdirectory(base)
add_subdirectory(cpp)
add_subdirectory(dll)
16 changes: 16 additions & 0 deletions src/Native/Bootstrap/dll/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
project(bootstrapperdll)

add_definitions(-DCORERT_DLL)

set(SOURCES
../main.cpp
../common.cpp
)

add_library(bootstrapperdll STATIC ${SOURCES})

# Install the static bootstrapperdll library
install (TARGETS bootstrapperdll DESTINATION sdk)
if(WIN32)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/bootstrapperdll.dir/$<CONFIG>/bootstrapperdll.pdb DESTINATION sdk)
endif()

0 comments on commit a3c0bb7

Please sign in to comment.