CMakeLists.txt 451 B

12345678910
  1. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
  2. include_directories(${PROJECT_SOURCE_DIR}/src)
  3. add_executable(ua2json ua2json.c)
  4. target_link_libraries(ua2json open62541 ${open62541_LIBRARIES})
  5. assign_source_group(ua2json)
  6. add_dependencies(ua2json open62541-object)
  7. set_target_properties(ua2json PROPERTIES FOLDER "open62541/tools/ua2json")
  8. set_target_properties(ua2json PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/bin")