include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) ##### libpickit2 (static) add_custom_command( OUTPUT pickit2_data.cpp COMMAND xml_pickit2_parser ${CMAKE_CURRENT_SOURCE_DIR} ) tde_add_library( pickit2 STATIC_PIC AUTOMOC SOURCES pickit.cpp pickit_prog.cpp pickit2.cpp pickit2_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/pickit2_data.cpp )