blob: 5947718d898f6f5e681ee1b04b14a049da7ccf43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
add_definitions(-DSELF_NO_HOST)
if(WIN32)
add_definitions(-D_CRTIMP=) # use static version of crt
add_precompiled_header(stdafx.h ../stdafx.cpp UTILCODE_STATICNOHOST_SOURCES)
endif(WIN32)
add_library_clr(utilcodestaticnohost STATIC ${UTILCODE_STATICNOHOST_SOURCES})
if(CLR_CMAKE_PLATFORM_UNIX)
target_link_libraries(utilcodestaticnohost nativeresourcestring)
endif(CLR_CMAKE_PLATFORM_UNIX)
add_dependencies(utilcodestaticnohost ${UTILCODE_DEPENDENCIES})
|