File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildType:
4
4
choices :
5
5
release :
6
6
short : Release
7
- long : " Building with optimizations"
7
+ long : " Build with optimizations"
8
8
buildType : Release
9
9
debug :
10
10
short : Debug
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.13)
2
2
3
- # create your project
3
+ # create your C++ project
4
4
project (MyProject VERSION 0.1.0 LANGUAGES CXX)
5
5
6
- # find MEL
6
+ # find MEL::MEL and all available MEL::xxx modules
7
7
find_package (MEL REQUIRED)
8
8
9
9
# add your include directories
@@ -16,9 +16,10 @@ add_executable(my_app
16
16
"src/my_app.cpp"
17
17
)
18
18
19
- # link MEL core lib and/or MEL sublibs to your app
19
+ # link your app to MEL libaries
20
20
target_link_libraries (my_app
21
- MEL::MEL # common MEL classes
22
- # MEL::quanser # needed if using MEL Quanser classes
23
- # MEL::myo # needed if using MEL Myo classes
21
+ MEL::MEL # common MEL classes available on all systems
22
+ # MEL::quanser # needed if using MEL Quanser classes
23
+ # MEL::myo # needed if using MEL Myo classes
24
+ # MEL::myrio # needed if using MEL NI myRIO classes
24
25
)
Original file line number Diff line number Diff line change 1
1
#pragma once
2
+
2
3
class MyClass {
3
4
public:
4
5
void hello_world () const ;
Original file line number Diff line number Diff line change 1
1
#include " MyClass.hpp"
2
- #include < MEL/Daq/NI/MyRio/MyRio.hpp>
3
2
4
3
int main () {
5
4
MyClass my_class;
You can’t perform that action at this time.
0 commit comments