Add check to prevent attaching a profiler when one is already present (#25520)
[platform/upstream/coreclr.git] / dac.cmake
1 # Contains the dac build specific definitions. Included by the leaf dac cmake files.
2
3 add_definitions(-DDACCESS_COMPILE)
4 if(WIN32)    
5     add_definitions(-MT)
6 endif(WIN32)
7
8 remove_definitions(-DPROFILING_SUPPORTED)
9 add_definitions(-DPROFILING_SUPPORTED_DATA)
10
11 remove_definitions(-DFEATURE_PROFAPI_ATTACH_DETACH)
12 add_definitions(-DDATA_PROFAPI_ATTACH_DETACH)