1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
# Tell CMake to run moc when necessary: set(CMAKE_AUTOMOC ON) # As moc files are generated in the binary dir, tell CMake # to always look for includes there: set(CMAKE_INCLUDE_CURRENT_DIR ON) SET(example_name object_controller) SET(KIT_SRCS main.cpp objectcontroller.cpp ) ADD_EXECUTABLE(${example_name} ${KIT_SRCS}) TARGET_LINK_LIBRARIES(${example_name} ${PROJECT_NAME})40/yosys' title='iCE40/yosys Git repository'/>