Skip to content

Commit

Permalink
hk-toolappify an old-ish version of GHOST. CI not setup. But it works…
Browse files Browse the repository at this point in the history
… in my container
  • Loading branch information
tdealtry committed Apr 25, 2024
1 parent 9dd4e82 commit 34e0210
Show file tree
Hide file tree
Showing 142 changed files with 68 additions and 57,427 deletions.
7 changes: 6 additions & 1 deletion .gitignore
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-*/
30 changes: 30 additions & 0 deletions CMakeLists.txt
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()
36 changes: 0 additions & 36 deletions Makefile

This file was deleted.

167 changes: 0 additions & 167 deletions OriginalWCSim/CMakeLists.txt

This file was deleted.

3 changes: 0 additions & 3 deletions OriginalWCSim/README.md

This file was deleted.

Loading

0 comments on commit 34e0210

Please sign in to comment.