forked from hyperk/GHOST-WCSim
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hk-toolappify an old-ish version of GHOST. CI not setup. But it works…
… in my container
- Loading branch information
Showing
142 changed files
with
68 additions
and
57,427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
*~ | ||
*.o | ||
*.so | ||
OriginalWCSim_build/ | ||
OriginalWCSim_build/ | ||
|
||
#hk-pilot folders | ||
__pycache__/ | ||
build-*/ | ||
install-*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Minimum cmake verison 3.1 required for the variable CMAKE_CXX_STANDARD | ||
cmake_minimum_required(VERSION 3.1) | ||
|
||
|
||
set(PROJECT_NAME GHOST-WCSim) | ||
|
||
list(APPEND CMAKE_MODULE_PATH | ||
$ENV{HK_PILOT_DIR}/cmake | ||
) | ||
include(GetVersionGit) | ||
MESSAGE("Preparing project ${PROJECT_NAME} version ${PROJECT_VERSION}" ) | ||
project(${PROJECT_NAME} VERSION ${PROJECT_VERSION}) | ||
include(HKPackageBuilder) | ||
hkbuilder_prepare_project() | ||
hk_check_dependencies() | ||
|
||
# Add your tools here | ||
hk_add_tool(WCSim_exe) | ||
|
||
option(WCSIM_Check_Geometry_Overlaps | ||
"Toggle WCSim to save photon scattering and reflection history" | ||
OFF | ||
) | ||
if(WCSIM_Check_Geometry_Overlaps STREQUAL ON) | ||
add_definitions(-DWCSIM_CHECK_GEOMETRY_OVERLAPS=1) | ||
else() | ||
add_definitions(-DWCSIM_CHECK_GEOMETRY_OVERLAPS=0) | ||
endif() | ||
|
||
hk_finalize_project() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.