Skip to content

Commit 81fd278

Browse files
committed
feat: add simtox executable
1 parent f736929 commit 81fd278

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@ target_include_directories(consgeo PRIVATE
1010
install(TARGETS consgeo EXPORT ${PROJECT_NAME}Targets
1111
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
1212
)
13+
14+
# simtox creates a numpy file with initial photons for simulation
15+
add_executable(simtox simtox.cpp)
16+
target_link_libraries(simtox SysRap)
17+
target_include_directories(simtox PRIVATE
18+
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
19+
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}>
20+
)
21+
install(TARGETS simtox RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

0 commit comments

Comments
 (0)