Skip to content

Commit

Permalink
uncanny
Browse files Browse the repository at this point in the history
  • Loading branch information
martinzink committed Mar 11, 2024
1 parent 26233a3 commit b93e72b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ endif()
# Generate source assembly
set(ASSEMBLY_BASE_NAME "${CMAKE_PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
if(WIN32)
set(CPACK_PRE_BUILD_SCRIPTS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/prep_for_win_package.cmake")
set(CPACK_ALL_INSTALL_TYPES Full Developer)
set(CPACK_COMPONENT_LIBRARIES_INSTALL_TYPES Developer Full)
set(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/package_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def _minifi_setup_env_str(vs_where_location: VsWhereLocation) -> str:


def _create_minifi_setup_env_batch(vs_where_location: VsWhereLocation):
with open("build_environment.bat", "w") as f:
with open(pathlib.Path(__file__).parent.resolve() / "build_environment.bat", "w") as f:
f.write(_minifi_setup_env_str(vs_where_location))


Expand Down
1 change: 1 addition & 0 deletions cmake/prep_for_win_package.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
file(COPY "${CPACK_PACKAGE_DIRECTORY}/bin/minifi.exe" DESTINATION "${CPACK_PACKAGE_DIRECTORY}/minifi_main")

0 comments on commit b93e72b

Please sign in to comment.