zoukankan      html  css  js  c++  java
  • 常用的PostBuild Event 脚本

    参考:

    http://blog.csdn.net/fengzhijiaxu/article/details/4827364

    http://blog.csdn.net/teng_ontheway/article/details/8307410

    1.PreBuild格式化Xaml代码

    call $(ProjectDir)..FormatXaml.exe

    FormatXaml.exe在项目文件的上一级文件夹中。


    2. PostBuild 拷贝指定文件

    mkdir  $(OutputPath)3rdDll 
    move $(OutputPath)c.dll  $(OutputPath)3rdDllc.dll 

    3.条件判断

    IF NOT $(ConfigurationName) == Release GOTO end
    
        call "C:/Program Files/XXX.exe" $(ProjectDir)$(TargetName).cvp
    
    :end

    4.Macro收集

    $(DevEnvDir)

    $(ProjectDir)

    $(BuiltOuputPath)

    $(ConfigurationName)

    $(TargetName)  不含扩展名

    $(TargetFileName)  包含扩展名


  • 相关阅读:
    P2216-[HAOI2007]理想的正方形
    P2157-[SDOI2009]学校食堂
    Leetcode-5176 Number of Valid Words for Each Puzzle(猜字谜)
    Leetcode-5175 Can Make Palindrome from Substring(构建回文串检测)
    Leetcode-5174 Diet Plan Performance(健身计划评估)
    Task6.PyTorch理解更多神经网络优化方法
    Task5.PyTorch实现L1,L2正则化以及Dropout
    Task4.用PyTorch实现多层网络
    Task3.PyTorch实现Logistic regression
    Task2.设立计算图并自动计算
  • 原文地址:https://www.cnblogs.com/xiaokang088/p/3240655.html
Copyright © 2011-2022 走看看