SHARE
TWEET

Untitled

a guest Mar 1st, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
  2.         target_compile_options(${PROJECT_NAME} PRIVATE
  3.             "$<$<CONFIG:Debug>:"
  4.                 "/permissive-;"
  5.                 "/MTd;"
  6.                 "/Zi;"
  7.                 "/wd4103;"
  8.                 "/wd4324;"
  9.                 "/Zm119;"
  10.                 "/Zc:twoPhase-;"
  11.                 "/EHsc;"
  12.                 "/openmp"
  13.               ">"
  14.             "$<$<CONFIG:Release>:"
  15.                 "/permissive-;"
  16.                 "/MT;"
  17.                 "/wd4103;"
  18.                 "/wd4324;"
  19.                 "/Zm116;"
  20.                 "/Zc:twoPhase-;"
  21.                 "/EHsc;"
  22.                 "/openmp"
  23.             ">"
  24.         )
  25.     endif()
  26.  
  27.     target_compile_definitions(${PROJECT_NAME} PRIVATE
  28.         "$<$<CONFIG:Debug>:"
  29.             "_DEBUG;"
  30.             "_LIB;"
  31.             "NOMINMAX;"
  32.             "FLOWMOD_DLL"
  33.         ">"
  34.         "$<$<CONFIG:Release>:"
  35.             "NDEBUG;"
  36.             "_LIB;"
  37.             "NOMINMAX"
  38.         ">"
  39.     )
  40.  
  41.     target_include_directories(${PROJECT_NAME} PUBLIC
  42.         "$<$<CONFIG:Debug>:"
  43.             "${CMAKE_CURRENT_SOURCE_DIR}/../restart;"
  44.             "${CMAKE_CURRENT_SOURCE_DIR}/../Topology;"
  45.             "${CMAKE_CURRENT_SOURCE_DIR}/../PhysicalModel;"
  46.             "${CMAKE_CURRENT_SOURCE_DIR}/../opusComm;"
  47.             "${CMAKE_CURRENT_SOURCE_DIR}/../functionsOfPhysics;"
  48.             "${CMAKE_CURRENT_SOURCE_DIR}/../SteadyStateSolvers;"
  49.         ">"
  50.         "$<$<CONFIG:Release>:"
  51.             "${CMAKE_CURRENT_SOURCE_DIR}/../FlowModelExtension;"
  52.             "${CMAKE_CURRENT_SOURCE_DIR}/../PhysicalModel;"
  53.             "${CMAKE_CURRENT_SOURCE_DIR}/../opusComm;"
  54.             "${CMAKE_CURRENT_SOURCE_DIR}/../functionsOfPhysics;"
  55.             "${CMAKE_CURRENT_SOURCE_DIR}/../SteadyStateSolvers;"
  56.         ">"
  57.     )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top