Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix targetdir,objectdir not used in vsproject #205

Merged
merged 3 commits into from Aug 31, 2018
Merged

Commits on Aug 30, 2018

  1. The output directory of VS is adjusted to match the xmake script, usi…

    …ng target:targetdir
    
    The temporary obj directory of VS is adjusted to match the xmake script, using target:objectdir
    
    The vs output file (including pdb, lib, etc.) removes explicit specifications and adjusts to use the $(TargetDir) $(TargetName) name (this setting is not specified to be set automatically, so it is not explicitly specified). This modification also restores the bug of the dynamic library output lib which is inconsistent with the specified directory in xmake.
    
    Generate the directory Library of the vs project, including file directory to standardize the path.
    
    1.vs的输出目录调整为和xmake脚本中的一致,使用target:targetdir
    2.vs的临时obj目录调整为和xmake脚本中的一致,使用target:objectdir
    3.vs输出文件(包括pdb、lib等)去除显式指定,调整为使用$(TargetDir)$(TargetName)命名(该设置不指定会自动设置,所以不用显式指定)。该修改同时修复了动态库输出lib与xmake中指定目录不一致的bug
    4.生成vs项目中的链接库目录、包含文件目录进行路径标准化转换
    xigalto committed Aug 30, 2018
    Copy the full SHA
    8406ac0 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2018

  1. code format

    xigalto committed Aug 31, 2018
    Copy the full SHA
    c11b61d View commit details
    Browse the repository at this point in the history
  2. code format

    xigalto committed Aug 31, 2018
    Copy the full SHA
    d74715b View commit details
    Browse the repository at this point in the history