Refactored CMakeLists.txt
* new pip_module() macro * fixed exports * automatic gather all exports and pass them to Doxygen and PICodeParser
This commit is contained in:
7
utils/piterminal/CMakeLists.txt
Normal file
7
utils/piterminal/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
add_executable(piterminal "main.cpp")
|
||||
target_link_libraries(piterminal pip pip_console)
|
||||
if (DEFINED LIB)
|
||||
install(TARGETS piterminal DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
else()
|
||||
install(TARGETS piterminal DESTINATION bin)
|
||||
endif()
|
||||
Reference in New Issue
Block a user