Laurent Rineau
2db4effa7e
CMake: Fix the handling of cmake_policy
...
That is a followup-to my commit last year:
| ------------------------------------------------------------------------
| r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
|
| Try to fix my last revision about cmake_policy, with CMake-2.6.x
|
| CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
| x.y.z is greater than the current CMake version.
|
| ------------------------------------------------------------------------
The following check:
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
cmake_minimum_required(VERSION 2.6.2)
The script used to fix that was:
#!/usr/bin/env perl
$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
cmake_policy(VERSION 2.8.4)
else()
cmake_policy(VERSION 2.6)
endif()
END
while(<>) {
if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
while(<>) {
if(/^endif\(\)/) {
print "$replacement";
while(<>) {
print;
}
exit 0
}
}
}
print;
}
2012-08-22 12:35:03 +00:00
Guillaume Damiand
bf0d1025eb
Revert last commit: cgal is really too rigid...
2012-07-17 08:56:13 +00:00
Guillaume Damiand
46f16de7c9
Add operator += in BBox classes (more or less a trivial bug-fix).
2012-07-17 08:18:59 +00:00
Guillaume Damiand
ad06e50196
Remove a warning
2012-07-06 05:09:00 +00:00
Guillaume Damiand
49780518f2
Remove some warnings
2012-07-05 13:39:34 +00:00
Guillaume Damiand
44d29a5c8f
* Add a second subdvision method in LCC demo
...
* Add two basic usefull functions (internal as undocumented)
* Add an example showing how to customize the type of point used in LCC
2012-07-02 09:20:14 +00:00
Guillaume Damiand
82fe54b829
Warnings
2012-05-10 11:27:30 +00:00
Guillaume Damiand
1041faed99
More warnings
2012-05-09 11:25:38 +00:00
Guillaume Damiand
084dc9e99c
Small errors and warning
2012-05-09 10:45:32 +00:00
Guillaume Damiand
71c334496c
Add timers in LCC demo.
2012-05-05 07:03:14 +00:00
Guillaume Damiand
39f29392b0
Remove a warning
2012-04-05 06:59:46 +00:00
Guillaume Damiand
4e1e4e3739
Remove warnings and replace pow by CGAL::ipow
2012-04-03 07:41:31 +00:00
Guillaume Damiand
dee0350bd3
Demo...
2012-04-01 19:37:45 +00:00
Guillaume Damiand
df1af8c5e4
Extend filled volumes
2012-03-30 14:43:40 +00:00
Guillaume Damiand
002ca688a3
Reinit the dialog box to create several menger sponges
2012-03-30 14:23:17 +00:00
Guillaume Damiand
de2244f46d
Demo ok for menger v2
2012-03-30 14:01:27 +00:00
Guillaume Damiand
c61f107354
Demo...
2012-03-30 11:00:40 +00:00
Guillaume Damiand
f04bc65cf0
Wip refactoring demo
2012-03-29 19:55:20 +00:00
Guillaume Damiand
2e79d76bbe
Wip refactoring the demo.
2012-03-29 13:39:14 +00:00
Guillaume Damiand
bc1faf125e
Remove some warnings
2012-03-28 11:30:12 +00:00
Guillaume Damiand
60476a44fa
LCC demo improve 3D subdivision
2012-03-26 20:13:07 +00:00
Guillaume Damiand
e33465fa33
Improve the flip edge method (avoid remove and insert edge)
2012-03-26 16:07:17 +00:00
Guillaume Damiand
be0b67ba72
Create menger sponge is not modeless.
2012-03-26 14:53:13 +00:00
Guillaume Damiand
be004894bc
Create mesh is now modeless
2012-03-26 13:39:58 +00:00
Guillaume Damiand
72a62b217c
cleanup
2012-03-26 12:49:54 +00:00
Guillaume Damiand
1651561609
Menger demo is ok
2012-03-26 12:30:53 +00:00
Guillaume Damiand
99b0a3cd56
Menger demo: ok for remove edges.
2012-03-26 11:44:53 +00:00
Guillaume Damiand
108f7a330e
Modification of the edge removal
2012-03-26 10:16:16 +00:00
Guillaume Damiand
5638f518f3
Update dialog box; start menger subdivision to 0.
2012-03-26 07:46:54 +00:00
Guillaume Damiand
98db531bdf
Wip on menger sponge demo to decrease the resolution.
2012-03-23 16:34:33 +00:00
Guillaume Damiand
db7fb1e941
Modify name of slots to use qt auto connect. Add function allowing to merge all connected volumes.
2012-03-23 13:44:08 +00:00
Guillaume Damiand
8508f48c4d
Menger increase level ok
2012-03-23 12:05:36 +00:00
Guillaume Damiand
c243971b40
V1 for menger sponge.
2012-03-23 09:28:20 +00:00
Laurent Rineau
3c9313ae52
Rename Linear_cell_complex_3.cpp to Linear_cell_complex_3_demo.cpp
...
That way, the automatically generated cgal_test script will work.
2012-01-24 18:39:05 +00:00
Laurent Rineau
08fa2f98c9
Rename the target Linear_cell_complex_3 to Linear_cell_complex_3_demo
...
On Windows, CMake makes the difference between the target
linear_cell_complex_3 (from examples) and Linear_cell_complex_3 (from
demo). But those two targets only differ by the case, and that makes
a confusion at the level of nmake.
2012-01-20 15:03:37 +00:00
Laurent Rineau
36aab7376c
Fix the initialization of CGAL Qt resources, on Windows platforms
2012-01-16 10:09:33 +00:00
Guillaume Damiand
9c203dec50
Remove warnings + useless data file.
2011-12-28 14:03:24 +00:00
Guillaume Damiand
8496ccedd0
Remove a warning
2011-12-23 07:43:26 +00:00
Guillaume Damiand
ecbc71a4d7
Remove some warnings.
2011-12-22 07:06:55 +00:00
Guillaume Damiand
5a0c179699
Remove typename outside template class. Replace int by uint to avoid a warning.
2011-12-21 07:26:28 +00:00
Guillaume Damiand
aa7cd239a0
Demo is now able to compute voronoi 3D.
2011-12-20 15:30:25 +00:00
Guillaume Damiand
ce8b663b83
* Add functions to extend the visible volumes to adjacent ones.
...
* Modification of the way that properties are associated with volumes.
2011-12-20 14:51:29 +00:00
Guillaume Damiand
4c432aad97
Linear cell complex demo.
2011-12-19 16:08:19 +00:00
Guillaume Damiand
20ce6ad41e
Remove warnings
2011-11-17 10:32:29 +00:00
Guillaume Damiand
5fbd84abf6
Update CMakeLists.txt of the demo.
2011-11-17 09:52:21 +00:00
Guillaume Damiand
173b240519
Remove a warning.
2011-11-11 06:41:56 +00:00
Guillaume Damiand
e16a6a252f
Remove warning. Update CmakeLists.
2011-11-09 10:46:03 +00:00
Guillaume Damiand
aed76961bc
Remove a warning.
2011-11-09 09:19:06 +00:00
Guillaume Damiand
f0a94e2b9c
Modif in demo.
2011-11-08 19:45:52 +00:00
Guillaume Damiand
a4dd7e4167
Update the demo.
2011-10-24 10:03:33 +00:00