forked from panda3d/panda3d
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cmake' into cmake-cfs-install
Conflicts: direct/src/autorestart/CMakeLists.txt dtool/src/interrogate/CMakeLists.txt dtool/src/interrogatedb/CMakeLists.txt panda/CMakeLists.txt panda/src/express/CMakeLists.txt
- Loading branch information
Showing
8 changed files
with
65 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
add_executable(autorestart autorestart.c) | ||
set_target_properties(autorestart PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA) | ||
target_link_libraries(autorestart p3dtool) | ||
install(TARGETS autorestart DESTINATION bin) | ||
if(UNIX) | ||
add_executable(autorestart autorestart.c) | ||
set_target_properties(autorestart PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA) | ||
target_link_libraries(autorestart p3dtool) | ||
|
||
install(TARGETS autorestart DESTINATION bin) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
if(HAVE_WGL) | ||
set(P3WGLDISPLAY_HEADERS | ||
config_wgldisplay.h | ||
wglGraphicsBuffer.I wglGraphicsBuffer.h | ||
wglGraphicsPipe.I wglGraphicsPipe.h | ||
wglGraphicsStateGuardian.I wglGraphicsStateGuardian.h | ||
wglGraphicsWindow.I wglGraphicsWindow.h | ||
wglext.h) | ||
|
||
set(P3WGLDISPLAY_SOURCES | ||
config_wgldisplay.cxx | ||
wglGraphicsBuffer.cxx | ||
wglGraphicsPipe.cxx | ||
wglGraphicsStateGuardian.cxx | ||
wglGraphicsWindow.cxx) | ||
|
||
|
||
composite_sources(p3wgldisplay P3WGLDISPLAY_SOURCES) | ||
add_library(p3wgldisplay ${P3WGLDISPLAY_HEADERS} ${P3WGLDISPLAY_SOURCES}) | ||
target_link_libraries(p3wgldisplay p3display p3putil p3windisplay p3glgsg) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
if(WIN32) | ||
set(P3WINDISPLAY_HEADERS | ||
config_windisplay.h | ||
winGraphicsPipe.I winGraphicsPipe.h | ||
winGraphicsWindow.I winGraphicsWindow.h | ||
winDetectDx.h) | ||
|
||
set(P3WINDISPLAY_SOURCES | ||
config_windisplay.cxx winGraphicsPipe.cxx | ||
winGraphicsWindow.cxx | ||
winDetectDx9.cxx winDetectDx8.cxx) | ||
|
||
composite_sources(p3windisplay P3WINDISPLAY_SOURCES) | ||
add_library(p3windisplay ${P3WINDISPLAY_HEADERS} ${P3WINDISPLAY_SOURCES}) | ||
target_link_libraries(p3windisplay p3display p3putil | ||
Coreimm.lib) | ||
endif() |