Changeset 45 in flair-src for trunk/lib/FlairSensorActuator
- Timestamp:
- Jul 18, 2016, 4:13:56 PM (8 years ago)
- Location:
- trunk/lib/FlairSensorActuator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/CMakeLists.txt
r3 r45 43 43 FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/src/*.h") 44 44 INSTALL(FILES ${files} DESTINATION $ENV{FLAIR_ROOT}/flair-dev/include/${PROJECT_NAME}) 45 46 add_custom_target( 47 compile_info 48 COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h 49 ) 50 51 add_dependencies(${PROJECT_NAME} compile_info) -
trunk/lib/FlairSensorActuator/src/Bldc.cpp
r15 r45 21 21 #include <DoubleSpinBox.h> 22 22 #include <sstream> 23 #include "compile_info.h" 24 25 //todo: put it on seprate file, but not possible with static lib? 26 static void constructor() __attribute__((constructor)); 27 28 void constructor() { 29 compile_info("FlairSensorActuator"); 30 } 23 31 24 32 using std::string;
Note:
See TracChangeset
for help on using the changeset viewer.