--- /dev/null
+# Sources
+set(CPP_SOURCES main.cpp)
+set(CPP_HEADERS codegen-stubhead.hxx)
+include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR})
+
+# Executables
+add_executable(libt2n_codegen ${CPP_SOURCES})
+
+# Dependencies
+target_link_libraries(libt2n_codegen ${XMLPP_LIBRARIES})
+
+# Installation
+install(TARGETS libt2n_codegen DESTINATION bin)
+install(FILES ${CPP_HEADERS} DESTINATION include)