Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ add_library(BlocksRuntime
src/BlocksRuntime/runtime.c)

if(WIN32)
target_sources(BlocksRuntime PRIVATE
BlocksRuntime.def)

if(NOT BUILD_SHARED_LIBS)
if (NOT BUILD_SHARED_LIBS)
target_compile_definitions(BlocksRuntime PUBLIC BlocksRuntime_STATIC)
target_compile_options(BlocksRuntime PUBLIC
"$<$<COMPILE_LANGUAGE:C,CXX>:SHELL:$<$<BOOL:${MSVC}>:-Xclang >-static-libclosure>"
Expand Down
5 changes: 0 additions & 5 deletions src/BlocksRuntime/Block.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,8 @@ BLOCK_EXPORT void _Block_object_assign(void *, const void *, const int);
BLOCK_EXPORT void _Block_object_dispose(const void *, const int);

// Used by the compiler. Do not use these variables yourself.
#if defined(_WIN32)
extern void * _NSConcreteGlobalBlock[32];
extern void * _NSConcreteStackBlock[32];
#else
BLOCK_EXPORT void * _NSConcreteGlobalBlock[32];
BLOCK_EXPORT void * _NSConcreteStackBlock[32];
#endif

#if __cplusplus
}
Expand Down
4 changes: 0 additions & 4 deletions src/BlocksRuntime/BlocksRuntime.def

This file was deleted.

43 changes: 0 additions & 43 deletions src/BlocksRuntime/CMakeLists.txt

This file was deleted.