Changes between Version 9 and Version 10 of cmake_modules


Ignore:
Timestamp:
Feb 20, 2019, 4:00:33 PM (12 months ago)
Author:
Sanahuja Guillaume
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • cmake_modules

    v9 v10  
    2525reimplements some cmake built in functions to add extra functionalities
    2626
    27 * ''ADD_EXECUTABLE'': check if $HOME/.ssh/config have some hosts defined (see [wiki:setup#ConfigureSSHhostsoptional here]). In this case add a custom_target to cmake, to copy the executable with ssh. The custom target is called ''delivery_root_ADDRESS_PATH'', with address the target address and path the destination path. Also add a message to display architecture
     27* ''ADD_EXECUTABLE'':
     28 * add a message to display architecture
     29 * check if $HOME/.ssh/config have some hosts defined (see [wiki:setup#ConfigureSSHhostsoptional here]). In this case add a custom_target to cmake, to copy the executable with ssh. The custom target is called ''delivery_root_ADDRESS_PATH'', with address the target address and path the destination path.
     30 * copy demos binaries. To enable this functionality, you need to add ''SET(FLAIR_DEMO_DEST_DIR yourproject)'' to your ''CMakeLists.txt'', see this [source:flair-src/trunk/demos/CircleFollower/uav/CMakeLists.txt example]. Files will be copied to ''$FLAIR_ROOT/flair-install/bin/demos/${ARCH_DIR}/yourproject''
    2831
    29 * ''ADD_LIBRARY'': add a message to display architecture. Also add compile info in a .h (used by libs constructor), see [source:flair-src/trunk/lib/FlairMeta/src/UavFactory.cpp in FlairMeta] for example.
     32* ''ADD_LIBRARY'':
     33 * add a message to display architecture.
     34 * add compile info in a .h (used by libs constructor), see [source:flair-src/trunk/lib/FlairMeta/src/UavFactory.cpp in FlairMeta] for example.
    3035
    31 * ''INSTALL'': copy resources files (scripts and xml files for the demos). Resources files are places in the ''resources'' dir, and inside an arch dir. See for example in the [source:flair-src/trunk/demos/CircleFollower/uav/resources CircleFollower demo]. These files are not overwritten if they already exist. To enable this functionality, you need to add ''SET(FLAIR_COPY_RESOURCE_FILES true)'' to your ''CMakeLists.txt''
     36* ''INSTALL'':
     37 * copy resources files (scripts and xml files for the demos). Resources files are placed in the ''resources'' dir, and inside an arch dir. See for example in the [source:flair-src/trunk/demos/CircleFollower/uav/resources CircleFollower demo]. These files are not overwritten if they already exist. To enable this functionality, you need to add ''SET(FLAIR_RESOURCE_FILES_DEST_DIR yourproject)'' to your ''CMakeLists.txt'', see this [source:flair-src/trunk/demos/CircleFollower/uav/CMakeLists.txt example]. Files will be copied to ''$FLAIR_ROOT/flair-install/bin/demos/${ARCH_DIR}/yourproject''
    3238
    3339== [source:flair-dev/trunk/cmake-modules/FlairUseFile.cmake FlairUseFile.cmake] ==