We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea4e96b commit fb7b449Copy full SHA for fb7b449
2 files changed
examples/CMakeLists.txt
@@ -0,0 +1,14 @@
1
+cmake_minimum_required(VERSION 3.20)
2
+
3
+project(simphox LANGUAGES CXX)
4
5
+set(CMAKE_CXX_STANDARD 17)
6
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
7
+set(CMAKE_CXX_EXTENSIONS OFF)
8
9
+find_package(eic-opticks REQUIRED)
10
11
+add_executable(simphox simphox.cpp)
12
+target_link_libraries(simphox eic-opticks::G4CX eic-opticks::SysRap)
13
14
+install(TARGETS simphox)
examples/simphox.cpp
+#include <iostream>
+#include <string>
+#include <vector>
+#include "G4CX/G4CXOpticks.hh"
+#include "SysRap/NP.h"
+#include "SysRap/sphoton.h"
+using namespace std;
+int main(int argc, char **argv)
+{
+ return EXIT_SUCCESS;
+}
0 commit comments