File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ project(visp_started)
13
13
set (PROJECT_INCLUDE_PREFIX "my" )
14
14
15
15
#-----------------------------------------------------------------------------
16
- cmake_minimum_required (VERSION 2.8 )
16
+ cmake_minimum_required (VERSION 3.0 )
17
17
18
18
#-----------------------------------------------------------------------------
19
19
# Project version number. An even minor number corresponds to releases.
@@ -74,7 +74,7 @@ set(BINARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
74
74
# ViSP
75
75
find_package (VISP REQUIRED )
76
76
if (VISP_FOUND )
77
- include (${VISP_USE_FILE} )
77
+ # include(${VISP_USE_FILE})
78
78
endif ()
79
79
80
80
#----------------------------------------------------------------------
Original file line number Diff line number Diff line change 1
1
// ! \example foo.cpp Provided example.
2
2
#include < iostream>
3
3
4
- #include < visp/vpImage.h>
4
+ // #include <visp/vpImage.h>
5
5
6
6
#include < my/myFoo.h>
7
7
8
8
int main ()
9
9
{
10
10
std::cout << " Call the constructors..." << std::endl;
11
11
myFoo foo;
12
- vpImage<unsigned char > I;
12
+ foo.setFlag (true );
13
+ // vpImage<unsigned char> I;
13
14
std::cout << " The end." << std::endl;
14
15
15
16
return 0 ;
Original file line number Diff line number Diff line change @@ -31,12 +31,14 @@ class EXPORT myFoo
31
31
// ! Set flag value.
32
32
inline void setFlag (const bool &flag) {
33
33
m_flag = flag;
34
+ m_test[0 ] = 1 ;
34
35
}
35
36
36
37
friend EXPORT bool operator ==( const myFoo &t1, const myFoo &t2 );
37
38
38
39
protected:
39
40
bool m_flag; // !< Parameter used for...
41
+ int *m_test;
40
42
};
41
43
42
44
#endif
You can’t perform that action at this time.
0 commit comments