summaryrefslogtreecommitdiff
path: root/src/utilcode/staticnohost/CMakeLists.txt
blob: f28aa9774fd937eb1a4c46976b79faafdaf31de8 (plain)
1
2
3
4
5
6
7
8
9
10
11
add_definitions(-DSELF_NO_HOST)

if(WIN32)
     add_definitions(-D_CRTIMP=) # use static version of crt

     set(UTILCODE_SOURCES ${UTILCODE_SOURCES} ../hostimpl.cpp)

     add_library(utilcodestaticnohost STATIC ${UTILCODE_SOURCES})
elseif(CLR_CMAKE_PLATFORM_UNIX)
     add_library(utilcodestaticnohost STATIC ${UTILCODE_SOURCES})
endif(WIN32)