CMakeLists.txt 701 B

12345678910111213141516171819
  1. #
  2. # The ADD_EXAMPLE macro (defined in examples/CMakeLists.txt) ensures that
  3. # the example is correctly built for the requested connector. It is equivalent
  4. # to the following two lines:
  5. # ADD_EXECUTABLE(hello.wt hello.C)
  6. # TARGET_LINK_LIBRARIES(hello.wt ${EXAMPLES_CONNECTOR})
  7. # except when the ISAPI (for Microsoft IIS) connector is used, where it will
  8. # build a DLL with the proper symbols exported.
  9. #
  10. WT_ADD_EXAMPLE(filedrop.wt filedrop.C FileDropApplication.C)
  11. #
  12. # If you have Wt installed somehwere, you should use the
  13. # installed Wt header files for your own Wt projects.
  14. # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
  15. # instead of the following:
  16. #
  17. INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)