Mercurial > archived > louis > epitech > mq > rathaxes
annotate rathaxes_simplify_windows_lkm_cmakelists_txt.patch @ 49:0c55f24c6b3d
Add a series of patch related to the build systme
author | Louis Opter <louis@lse.epitech.net> |
---|---|
date | Sun, 15 Jan 2012 21:36:15 +0100 |
parents | |
children |
rev | line source |
---|---|
49
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
1 # HG changeset patch |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
2 # Parent 820ac8370b7ad9128154dbeb250c37dcec6fc87a |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
3 rathaxes: simply use IF (WIN32) instead of a MATCHES and remove an unrelated comment in the Windows LKM sample CMakeLists.txt |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
4 |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
5 diff --git a/rathaxes/samples/windows_minimal_lkm/CMakeLists.txt b/rathaxes/samples/windows_minimal_lkm/CMakeLists.txt |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
6 --- a/rathaxes/samples/windows_minimal_lkm/CMakeLists.txt |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
7 +++ b/rathaxes/samples/windows_minimal_lkm/CMakeLists.txt |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
8 @@ -2,8 +2,6 @@ |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
9 RTI log.rti lkm.rti |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
10 BLT log.blt lkm.blt) |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
11 |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
12 -# We can't name lkm since it's already used as the target name to generate the |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
13 -# source (with ADD_RATHAXES_SOURCES). |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
14 -IF (${CMAKE_SYSTEM_NAME} MATCHES "Windows") |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
15 - ADD_RATHAXES_LKM(minimal_lkm minimal_lkm_src) |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
16 -ENDIF (${CMAKE_SYSTEM_NAME} MATCHES "Windows") |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
17 +IF (WIN32) |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
18 + ADD_RATHAXES_LKM(minimal_lkm minimal_lkm_src) |
0c55f24c6b3d
Add a series of patch related to the build systme
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
19 +ENDIF (WIN32) |