Skip to content

What's a csproj.in file? #3022

Closed Answered by Mizux
CeaseHarping asked this question in Q&A
Discussion options

You must be logged in to vote

When using Make of CMake based build we will generate the .Net Foo.csproj project file from a template call Sample.csproj.in (note: this is a CMake convention to add .in for "template" files).

You can find them here:
src: https://github.com/google/or-tools/tree/master/ortools/dotnet

CMake

For variables i.e. @FOO@ you can take a look at

or-tools/CMakeLists.txt

Lines 10 to 13 in 2cb85b4

message(STATUS "${PROJECT_NAME} version: ${PROJECT_VERSION}")
#message(STATUS "major: ${PROJECT_VERSION_MAJOR}")
#message(STATUS "minor: ${PROJECT_VERSION_MINOR}")
#message(STATUS "patch: ${PROJECT_VERSION_PATCH}")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CeaseHarping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants