X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples-codegen%2Fexample2%2FCMakeLists.txt;fp=examples-codegen%2Fexample2%2FCMakeLists.txt;h=9308cbe6544813a20091d4028557402961574077;hp=7d4a461d1914d99ba869aba76555b4d527d3c63c;hb=7ba3852764765e4ffe3ee420f639bd7f6091ccf0;hpb=42d5cde75896853569f7669e47b66c671a917a4d diff --git a/examples-codegen/example2/CMakeLists.txt b/examples-codegen/example2/CMakeLists.txt index 7d4a461..9308cbe 100644 --- a/examples-codegen/example2/CMakeLists.txt +++ b/examples-codegen/example2/CMakeLists.txt @@ -31,13 +31,11 @@ set(other_GROUP ${CMAKE_CURRENT_SOURCE_DIR}/other-1.cpp ${CMAKE_CURRENT_SOURCE_DIR}/other-2.cpp ) -# headers declaring data types used as rpc arguments must be listed manually (???) -# (in this example the class Foo) -set(CPP_HEADERS - ${CMAKE_CURRENT_SOURCE_DIR}/foo.hxx -) +#set(CPP_HEADERS +# ${CMAKE_CURRENT_SOURCE_DIR}/foo.hxx +#) # include CMake snippet doing all the magic -include(${CMAKE_SOURCE_DIR}/../cmake/Libt2n.cmake) +include(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/Libt2n.cmake) # command groups are listed here (seperated by spaces) setup_libt2n(default other) @@ -88,3 +86,4 @@ add_dependencies(libt2n-example2-server default_codegen_done other_codegen_done) # install(TARGETS other_client ARCHIVE DESTINATION lib) # install(TARGETS libt2n-example2-server DESTINATION bin) # install(FILES ${CPP_HEADERS} DESTINATION include) +# install(PROGRAMS test DESTINATION ./)