Last active
January 31, 2021 11:13
-
-
Save IndianBoy42/b87c320a24df3cd02e430ad0cb2be550 to your computer and use it in GitHub Desktop.
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
cmake_minimum_required(VERSION 3.19) | |
project(PROJ1) | |
set(CMAKE_CXX_STANDARD 20) | |
set(CMAKE_C_STANDARD 11) | |
set(CMAKE_C_STANDARD_REQUIRED True) | |
set(CMAKE_CXX_STANDARD_REQUIRED True) | |
set(CMAKE_CXX_EXTENSIONS ON) | |
set(CMAKE_C_EXTENSIONS ON) | |
find_package(OpenGL REQUIRED) | |
add_executable(proj1) | |
target_include_directories(proj1 PUBLIC ./) | |
target_include_directories(proj1 PUBLIC ./fltk-1.3.3/) | |
target_link_libraries(proj1 PRIVATE ${OPENGL_LIBRARIES}) | |
target_link_libraries(proj1 PRIVATE ./fltk-1.3.3/lib) | |
target_link_libraries(proj1 PRIVATE pthread m stdc++) | |
target_sources(proj1 PRIVATE | |
AlphaBrush.cpp | |
Bitmap.cpp | |
CircleBrush.cpp | |
ConnectedBrush.cpp | |
ConvolutionBrush.cpp | |
CurveBrush.cpp | |
ImpBrush.cpp | |
Impressionist.cpp | |
ImpressionistDoc.cpp | |
ImpressionistUI.cpp | |
LineBrush.cpp | |
OriginalView.cpp | |
PaintView.cpp | |
PointBrush.cpp | |
ScatterCircleBrush.cpp | |
ScatterLineBrush.cpp | |
ScatterPointBrush.cpp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment