blob: 93bb9c2bccb540c0c0e28b8d590fe0eb597182bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
project(CoreRun)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CoreRun_SOURCES corerun.cpp logger.cpp)
set(CoreRun_RESOURCES native.rc)
add_definitions(-DFX_VER_INTERNALNAME_STR=CoreRun.exe)
if(CLR_CMAKE_PLATFORM_UNIX)
# This does not compile on Linux yet
if(CAN_BE_COMPILED_ON_LINUX)
add_executable(CoreRun
${CoreRun_SOURCES}
${CoreRun_RESOURCES}
)
endif(CAN_BE_COMPILED_ON_LINUX)
else()
add_executable(CoreRun
${CoreRun_SOURCES}
${CoreRun_RESOURCES}
)
target_link_libraries(CoreRun
utilcodestaticnohost
advapi32.lib
oleaut32.lib
uuid.lib
user32.lib
${STATIC_MT_CRT_LIB}
${STATIC_MT_VCRT_LIB}
)
# Can't compile on linux yet so only add for windows
install_clr(CoreRun)
endif(CLR_CMAKE_PLATFORM_UNIX)
|