Giter VIP home page Giter VIP logo

Comments (12)

m-tmatma avatar m-tmatma commented on August 22, 2024

#72 の後に対応する

from sakura.

berryzplus avatar berryzplus commented on August 22, 2024

OutDirを変更するならIntDirもソリューション基準にしませんか?

appveyorには影響ありませんし、気分的なものなのでどちらでもいいですがこんな感じ。
$(SolutionDir)$(Configuration)\$(ProjectName).obj</IntDir>

あと、出力先にプロジェクト名+.dll(exe)で出したい場合、OutputFileは省略可能です。
行を削ってしまえば、今後メンテしなくてよくなるメリットがあります。

from sakura.

kobake avatar kobake commented on August 22, 2024

新規プロジェクトを作ったときのデフォルト設定が今の (Visual Studio Community 2017 の) 推奨なのかな、と思っています。

試しに新規プロジェクト (Windows Console Application) を作ってみましたが、以下のようになりました。

  • Output Directory: $(SolutionDir)$(Platform)\$(Configuration)\
  • Intermediate Directory: $(Platform)\$(Configuration)\
  • Output File: $(OutDir)$(TargetName)$(TargetExt)

from sakura.

m-tmatma avatar m-tmatma commented on August 22, 2024

あと、出力先にプロジェクト名+.dll(exe)で出したい場合、OutputFileは省略可能です。

sakura_lang_en_US はプロジェクト名 ≠ ファイル名なのでそこも変えたほうがいいと思います。
ただその場合別の PR、チケット にしたほうがいいと思います。

from sakura.

m-tmatma avatar m-tmatma commented on August 22, 2024

Output Directory: $(SolutionDir)$(Platform)$(Configuration)
Intermediate Directory: $(Platform)$(Configuration)
Output File: $(OutDir)$(TargetName)$(TargetExt)

そうですね。x64 対応するときに、$(Platform) が入っていると
x86 と x64 でフォルダ構成が対象になるので扱いやすいと思います。

Intermediate Directory はかぶらなければどこに作ってもいいと思います。

HeaderMake.exe と MakefileMake.exe の生成場所はソリューション直下ではなく
各ビルド構成毎にちがうフォルダにしたいと思います。

#24 で見直してもいいと思います。

from sakura.

berryzplus avatar berryzplus commented on August 22, 2024

sakura_lang_en_US はプロジェクト名 ≠ ファイル名なのでそこも変えたほうがいいと思います。

ボケてました。

from sakura.

kobake avatar kobake commented on August 22, 2024

#80 でざっくり対応中です。
Configuration 名が今は Win32 になっているのですが、appveyor.yml に合わせて x86 に変更します?(とくにこだわりはないです)

from sakura.

m-tmatma avatar m-tmatma commented on August 22, 2024

sakura_lang_en_US はプロジェクト名 ≠ ファイル名なのでそこも変えたほうがいいと思います。

ボケてました。

ファイル名は sakura_lang.vcxproj です。

プロジェクト名は sakura_lang_en_US で
出力ファイル名は sakura_lang_en_US.dll なので

出力ファイル名をプロジェクト名+.dll(exe) とすることは現時点でも可能です。

from sakura.

kobake avatar kobake commented on August 22, 2024

あ、すみません PR 被ってたみたいです

from sakura.

kobake avatar kobake commented on August 22, 2024

Configuration 名が今は Win32 になっているのですが、appveyor.yml に合わせて x86 に変更します?(とくにこだわりはないです)

Platform 名の間違いでした

from sakura.

m-tmatma avatar m-tmatma commented on August 22, 2024

#79 がマージされた。

from sakura.

m-tmatma avatar m-tmatma commented on August 22, 2024

sakura_lang_en_US はプロジェクト名 ≠ ファイル名なのでそこも変えたほうがいいと思います。

#82 で対応

from sakura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.