Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial support for building tests with CMake
test/drtest binary is now built by CMake, but is not yet installed or run.
- Loading branch information
Matthew Mott
committed
Dec 13, 2020
1 parent
62c3332
commit 9960f41
Showing
3 changed files
with
40 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
add_executable(drtest | ||
Camera.cpp | ||
ColourSchemes.cpp | ||
CSG.cpp | ||
Face.cpp | ||
FacePlane.cpp | ||
FileTypes.cpp | ||
HeadlessOpenGLContext.cpp | ||
MapExport.cpp | ||
MapSavingLoading.cpp | ||
Materials.cpp | ||
math/Matrix4.cpp | ||
math/Plane3.cpp | ||
math/Quaternion.cpp | ||
math/Vector3.cpp | ||
MessageBus.cpp | ||
ModelExport.cpp | ||
ModelScale.cpp | ||
Models.cpp | ||
PatchIterators.cpp | ||
PatchWelding.cpp | ||
SelectionAlgorithm.cpp | ||
Selection.cpp | ||
VFS.cpp | ||
WorldspawnColour.cpp) | ||
target_compile_options(drtest PRIVATE ${SIGC_CFLAGS}) | ||
target_link_libraries(drtest PRIVATE | ||
math xmlutil module | ||
${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} | ||
${SIGC_LIBRARIES} ${GLEW_LIBRARIES} ${X11_LIBRARIES}) |
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