diff options
Diffstat (limited to 'src/binder')
-rw-r--r-- | src/binder/CMakeLists.txt | 11 | ||||
-rw-r--r-- | src/binder/v3binder/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/binder/v3binder_crossgen/CMakeLists.txt | 6 |
3 files changed, 17 insertions, 4 deletions
diff --git a/src/binder/CMakeLists.txt b/src/binder/CMakeLists.txt index 12a61ac0d0..7641e02e63 100644 --- a/src/binder/CMakeLists.txt +++ b/src/binder/CMakeLists.txt @@ -28,11 +28,14 @@ set(BINDER_SOURCES fusionhelpers.cpp ) +convert_to_absolute_path(BINDER_SOURCES ${BINDER_SOURCES}) + if(CLR_CMAKE_PLATFORM_UNIX) add_compile_options(-fPIC) endif(CLR_CMAKE_PLATFORM_UNIX) -add_library(v3binder - STATIC - ${BINDER_SOURCES} -) +add_subdirectory(v3binder) +if(WIN32) + add_subdirectory(v3binder_crossgen) +endif() + diff --git a/src/binder/v3binder/CMakeLists.txt b/src/binder/v3binder/CMakeLists.txt new file mode 100644 index 0000000000..6af80fcf9a --- /dev/null +++ b/src/binder/v3binder/CMakeLists.txt @@ -0,0 +1,4 @@ +add_library(v3binder + STATIC + ${BINDER_SOURCES} +) diff --git a/src/binder/v3binder_crossgen/CMakeLists.txt b/src/binder/v3binder_crossgen/CMakeLists.txt new file mode 100644 index 0000000000..811d2db834 --- /dev/null +++ b/src/binder/v3binder_crossgen/CMakeLists.txt @@ -0,0 +1,6 @@ +include(${CLR_DIR}/crossgen.cmake) + +add_library(v3binder_crossgen + STATIC + ${BINDER_SOURCES} +) |