@@ -141,22 +141,28 @@ ei_testing_print_summary()
141
141
message ("" )
142
142
message ("Configured Eigen ${EIGEN_VERSION_NUMBER} " )
143
143
message ("You can now do the following:" )
144
- message ("-------------+-----------------------------------------------------------------" )
145
- message ("Command | Description" )
146
- message ("-------------+-----------------------------------------------------------------" )
147
- message ("make install | Install to ${CMAKE_INSTALL_PREFIX} " )
148
- message (" | To change that, do: cmake . -DCMAKE_INSTALL_PREFIX=yourpath" )
149
- message ("make | Build the unit tests" )
150
- message (" | Note: that's NOT needed if you just want to install Eigen!" )
151
- message (" | Note: this takes lots of time & memory! Easy on the -j option!" )
152
- message ("make test | Build and run the unit tests (using CTest)" )
153
- message ("make test_qr | Build a specific test, here test_qr. To run it: test/test_qr" )
154
- message ("make debug_qr| Build a test with full debug info. To run it: test/debug_qr" )
155
- message ("make blas | Build BLAS library" )
156
- message ("make doc | Generate the API documentation, requires Doxygen & LaTeX" )
157
- message ("-------------+-----------------------------------------------------------------" )
158
- message ("" )
159
- message ("There's no need to do 'make' unless you really want to build the unit tests!" )
160
- message ("" )
161
-
162
-
144
+ message ("--------------+----------------------------------------------------------------" )
145
+ message ("Command | Description" )
146
+ message ("--------------+----------------------------------------------------------------" )
147
+ message ("make install | Install to ${CMAKE_INSTALL_PREFIX} " )
148
+ message (" | To change that: cmake . -DCMAKE_INSTALL_PREFIX=yourpath" )
149
+ message ("make | Build the unit tests" )
150
+ message (" | * That's not needed if you just want to install Eigen!" )
151
+ message (" | * That takes lots of memory! Easy on the -j option!" )
152
+ message ("make test | Build and run the unit tests (using CTest)" )
153
+ message ("make test_qr | Build a specific test, here test_qr. To run it: test/test_qr" )
154
+ message ("make debug_qr | Build a test with full debug info. To run it: test/debug_qr" )
155
+ message ("make blas | Build BLAS library (not the same thing as Eigen)" )
156
+ message ("make doc | Generate the API documentation, requires Doxygen & LaTeX" )
157
+ message ("--------------+----------------------------------------------------------------" )
158
+
159
+ if (NOT EIGEN_CMAKE_ALREADY_RUN )
160
+ unset (EIGEN_CMAKE_ALREADY_RUN CACHE ) # in case it was manually set to OFF in cache
161
+ set (EIGEN_CMAKE_ALREADY_RUN "ON" CACHE BOOL "Set to ON if CMake has already run here." )
162
+ message ("" )
163
+ message ("First-time tip:" )
164
+ message ("" )
165
+ message ("If you just want to install Eigen, do 'make install' right away." )
166
+ message ("No need to do 'make' before. See INSTALL file for more details." )
167
+ message ("" )
168
+ endif (NOT EIGEN_CMAKE_ALREADY_RUN )
0 commit comments