Skip to content

Commit 0dbd0ea

Browse files
authored
Merge pull request #131 from entity-toolkit/dev/installrule
Install rule for the executable
2 parents 5835148 + 490c5da commit 0dbd0ea

4 files changed

Lines changed: 16 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set(PROJECT_NAME entity)
77

88
project(
99
${PROJECT_NAME}
10-
VERSION 1.2.0
10+
VERSION 1.2.1
1111
LANGUAGES CXX C)
1212
add_compile_options("-D ENTITY_VERSION=\"${PROJECT_VERSION}\"")
1313
set(hash_cmd "git diff --quiet src/ && echo $(git rev-parse HEAD) ")

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,23 @@ Our [detailed documentation](https://entity-toolkit.github.io/) includes everyth
1212

1313
## Join the community
1414

15-
Everyone is welcome to join our small yet steadily growing community of code users and developers; regardless of how much you are planning to contribute -- we always welcome fresh ideas and feedback. We hold weekly Zoom meetings on Mondays at 12pm NY time, and have a dedicated Slack channel where you can be easily added by [emailing](mailto:haykh.astro@gmail.com) [one of the maintainers](mailto:genegorbs@gmail.com). If you prefer to just join our Zoom meetings without the Slack involvement -- that's totally fine, just email, and we can send you the Zoom link.
15+
Everyone is welcome to join our small yet steadily growing community of code users and developers; regardless of how much you are planning to contribute -- we always welcome fresh ideas and feedback. We hold weekly Slack calls on Mondays at 12pm NY time, and have a dedicated Slack channel where you can be easily added by emailing one of the maintainers (indicated with an asterisk in the list below). Anyone is welcome to join both our **Slack workspace** and the weekly meetings -- please feel free to request access by emailing.
1616

1717
Another way of contacting us is via GitHub issues and/or pull requests. Make sure to check out our [F.A.Q.](https://entity-toolkit.github.io/wiki/content/1-getting-started/9-faq/), as it might help you answer your question.
1818

1919
> Keep in mind, you are free to use the code in any capacity, and there is absolutely no requirement on our end of including any of the developers in your project/proposal (as highlighted in our Code of Conduct). When contributing, also keep in mind that the code you upload to the repository automatically becomes public and open-source, and the same standards will be applied to it as to the rest of the code.
2020
2121
## Contributors (alphabetical)
2222

23+
Maintainers indicated with an arrow.
24+
2325
* :guitar: Ludwig Böss {[@LudwigBoess](https://github.com/LudwigBoess)}
2426
* :eyes: Yangyang Cai {[@StaticObserver](https://github.com/StaticObserver)}
2527
* :tipping_hand_person: Alexander Chernoglazov {[@SChernoglazov](https://github.com/SChernoglazov)}
2628
* :tea: Benjamin Crinquand {[@bcrinquand](https://github.com/bcrinquand)}
2729
* :bubble_tea: Alisa Galishnikova {[@alisagk](https://github.com/alisagk)}
28-
* :steam_locomotive: Evgeny Gorbunov {[@Alcauchy](https://github.com/Alcauchy)}
29-
* :coffee: Hayk Hakobyan {[@haykh](https://github.com/haykh)}
30+
* :steam_locomotive: Evgeny Gorbunov {[@Alcauchy](https://github.com/Alcauchy)} [-> [haykh.astro [at] gmail](mailto:haykh.astro@gmail.com)]
31+
* :coffee: Hayk Hakobyan {[@haykh](https://github.com/haykh)} [-> [genegorbs [at] gmail](mailto:genegorbs@gmail.com)]
3032
* :potato: Jens Mahlmann {[@jmahlmann](https://github.com/jmahlmann)}
3133
* :dolphin: Sasha Philippov {[@sashaph](https://github.com/sashaph)}
3234
* :radio: Siddhant Solanki {[@sidruns30](https://github.com/sidruns30)}

cmake/report.cmake

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ string(
142142
" "
143143
${DEBUG_REPORT}
144144
"\n"
145+
" - Install prefix [${Magenta}CMAKE_INSTALL_PREFIX${ColorReset}]: "
146+
"${CMAKE_INSTALL_PREFIX}"
147+
"\n"
145148
${DASHED_LINE_SYMBOL}
146149
"\n"
147150
"Compilers & dependencies"
@@ -222,7 +225,12 @@ string(
222225
"${Magenta}<FLAG>${ColorReset}${Dim}=<VALUE>`, "
223226
"the ${Underline}default${ColorReset}${Dim} value"
224227
"\n"
225-
" : will be used unless the variable is explicitly set.${ColorReset}")
228+
" : will be used unless the variable is explicitly set.${ColorReset}"
229+
"\n"
230+
" ${Dim}: When running `cmake --install <BUILD_DIR>`,"
231+
" \n"
232+
" : the executable is copied to "
233+
"`${Magenta}<CMAKE_INSTALL_PREFIX>${ColorReset}${Dim}/bin`.${ColorReset}")
226234

227235
if(${TESTS})
228236
string(

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ add_executable(${ENTITY} ${SOURCES})
4444
set(libs ntt_global ntt_framework ntt_metrics ntt_engines ntt_pgen)
4545
add_dependencies(${ENTITY} ${libs})
4646
target_link_libraries(${ENTITY} PUBLIC ${libs})
47+
install(TARGETS ${ENTITY} DESTINATION bin)

0 commit comments

Comments
 (0)