Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sudoku solver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Silas Dohm
sudoku solver
Commits
8e5577bf
Commit
8e5577bf
authored
2 years ago
by
Silas Dohm
Browse files
Options
Downloads
Patches
Plain Diff
spelling
parent
88608354
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+9
-9
9 additions, 9 deletions
CMakeLists.txt
Makefile
+0
-276
0 additions, 276 deletions
Makefile
with
9 additions
and
285 deletions
CMakeLists.txt
+
9
−
9
View file @
8e5577bf
cmake_minimum_required
(
VERSION 3.5
)
cmake_minimum_required
(
VERSION 3.5
)
project
(
s
o
doku_solver VERSION 0.1 LANGUAGES CXX
)
project
(
s
u
doku_solver VERSION 0.1 LANGUAGES CXX
)
set
(
CMAKE_INCLUDE_CURRENT_DIR ON
)
set
(
CMAKE_INCLUDE_CURRENT_DIR ON
)
...
@@ -24,37 +24,37 @@ set(PROJECT_SOURCES
...
@@ -24,37 +24,37 @@ set(PROJECT_SOURCES
)
)
if
(
${
QT_VERSION_MAJOR
}
GREATER_EQUAL 6
)
if
(
${
QT_VERSION_MAJOR
}
GREATER_EQUAL 6
)
qt_add_executable
(
s
o
doku_solver
qt_add_executable
(
s
u
doku_solver
MANUAL_FINALIZATION
MANUAL_FINALIZATION
${
PROJECT_SOURCES
}
${
PROJECT_SOURCES
}
)
)
# Define target properties for Android with Qt 6 as:
# Define target properties for Android with Qt 6 as:
# set_property(TARGET s
o
doku_solver APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
# set_property(TARGET s
u
doku_solver APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
# ${CMAKE_CURRENT_SOURCE_DIR}/android)
# ${CMAKE_CURRENT_SOURCE_DIR}/android)
# For more information, see https://doc.qt.io/qt-6/qt-add-executable.html#target-creation
# For more information, see https://doc.qt.io/qt-6/qt-add-executable.html#target-creation
else
()
else
()
if
(
ANDROID
)
if
(
ANDROID
)
add_library
(
s
o
doku_solver SHARED
add_library
(
s
u
doku_solver SHARED
${
PROJECT_SOURCES
}
${
PROJECT_SOURCES
}
)
)
# Define properties for Android with Qt 5 after find_package() calls as:
# Define properties for Android with Qt 5 after find_package() calls as:
# set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android")
# set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android")
else
()
else
()
add_executable
(
s
o
doku_solver
add_executable
(
s
u
doku_solver
${
PROJECT_SOURCES
}
${
PROJECT_SOURCES
}
)
)
endif
()
endif
()
endif
()
endif
()
target_link_libraries
(
s
o
doku_solver PRIVATE Qt
${
QT_VERSION_MAJOR
}
::Widgets
)
target_link_libraries
(
s
u
doku_solver PRIVATE Qt
${
QT_VERSION_MAJOR
}
::Widgets
)
target_link_libraries
(
s
o
doku_solver PRIVATE Qt
${
QT_VERSION_MAJOR
}
::Concurrent
)
target_link_libraries
(
s
u
doku_solver PRIVATE Qt
${
QT_VERSION_MAJOR
}
::Concurrent
)
set_target_properties
(
s
o
doku_solver PROPERTIES
set_target_properties
(
s
u
doku_solver PROPERTIES
MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
MACOSX_BUNDLE_BUNDLE_VERSION
${
PROJECT_VERSION
}
MACOSX_BUNDLE_BUNDLE_VERSION
${
PROJECT_VERSION
}
MACOSX_BUNDLE_SHORT_VERSION_STRING
${
PROJECT_VERSION_MAJOR
}
.
${
PROJECT_VERSION_MINOR
}
MACOSX_BUNDLE_SHORT_VERSION_STRING
${
PROJECT_VERSION_MAJOR
}
.
${
PROJECT_VERSION_MINOR
}
)
)
if
(
QT_VERSION_MAJOR EQUAL 6
)
if
(
QT_VERSION_MAJOR EQUAL 6
)
qt_finalize_executable
(
s
o
doku_solver
)
qt_finalize_executable
(
s
u
doku_solver
)
endif
()
endif
()
This diff is collapsed.
Click to expand it.
Makefile
deleted
100644 → 0
+
0
−
276
View file @
88608354
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Default target executed when no arguments are given to make.
default_target
:
all
.PHONY
:
default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL
:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES
:
# Disable VCS-based implicit rules.
%
:
%
,
v
# Disable VCS-based implicit rules.
%
:
RCS/%
# Disable VCS-based implicit rules.
%
:
RCS/%
,
v
# Disable VCS-based implicit rules.
%
:
SCCS/s.%
# Disable VCS-based implicit rules.
%
:
s.%
.SUFFIXES
:
.hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT
=
-s
#Suppress display of executed commands.
$(VERBOSE).SILENT
:
# A target that is always out of date.
cmake_force
:
.PHONY
:
cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL
=
/bin/sh
# The CMake executable.
CMAKE_COMMAND
=
/usr/bin/cmake
# The command to remove a file.
RM
=
/usr/bin/cmake
-E
rm
-f
# Escaping for special characters.
EQUALS
=
=
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR
=
/home/sls/Documents/dev/soduoku_solver
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR
=
/home/sls/Documents/dev/soduoku_solver
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache
:
@$(
CMAKE_COMMAND
)
-E
cmake_echo_color
--switch
=
$(
COLOR
)
--cyan
"No interactive CMake dialog available..."
/usr/bin/cmake
-E
echo
No
\
interactive
\
CMake
\
dialog
\
available.
.PHONY
:
edit_cache
# Special rule for the target edit_cache
edit_cache/fast
:
edit_cache
.PHONY
:
edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache
:
@$(
CMAKE_COMMAND
)
-E
cmake_echo_color
--switch
=
$(
COLOR
)
--cyan
"Running CMake to regenerate build system..."
/usr/bin/cmake
--regenerate-during-build
-S
$(
CMAKE_SOURCE_DIR
)
-B
$(
CMAKE_BINARY_DIR
)
.PHONY
:
rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast
:
rebuild_cache
.PHONY
:
rebuild_cache/fast
# The main all target
all
:
cmake_check_build_system
$(
CMAKE_COMMAND
)
-E
cmake_progress_start /home/sls/Documents/dev/soduoku_solver/CMakeFiles /home/sls/Documents/dev/soduoku_solver//CMakeFiles/progress.marks
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/Makefile2 all
$(
CMAKE_COMMAND
)
-E
cmake_progress_start /home/sls/Documents/dev/soduoku_solver/CMakeFiles 0
.PHONY
:
all
# The main clean target
clean
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/Makefile2 clean
.PHONY
:
clean
# The main clean target
clean/fast
:
clean
.PHONY
:
clean/fast
# Prepare targets for installation.
preinstall
:
all
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/Makefile2 preinstall
.PHONY
:
preinstall
# Prepare targets for installation.
preinstall/fast
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/Makefile2 preinstall
.PHONY
:
preinstall/fast
# clear depends
depend
:
$(
CMAKE_COMMAND
)
-S
$(
CMAKE_SOURCE_DIR
)
-B
$(
CMAKE_BINARY_DIR
)
--check-build-system
CMakeFiles/Makefile.cmake 1
.PHONY
:
depend
#=============================================================================
# Target rules for targets named sodoku_solver
# Build rule for target.
sodoku_solver
:
cmake_check_build_system
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/Makefile2 sodoku_solver
.PHONY
:
sodoku_solver
# fast build rule for target.
sodoku_solver/fast
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/build
.PHONY
:
sodoku_solver/fast
#=============================================================================
# Target rules for targets named sodoku_solver_autogen
# Build rule for target.
sodoku_solver_autogen
:
cmake_check_build_system
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/Makefile2 sodoku_solver_autogen
.PHONY
:
sodoku_solver_autogen
# fast build rule for target.
sodoku_solver_autogen/fast
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver_autogen.dir/build.make CMakeFiles/sodoku_solver_autogen.dir/build
.PHONY
:
sodoku_solver_autogen/fast
cell.o
:
cell.cpp.o
.PHONY
:
cell.o
# target to build an object file
cell.cpp.o
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/cell.cpp.o
.PHONY
:
cell.cpp.o
cell.i
:
cell.cpp.i
.PHONY
:
cell.i
# target to preprocess a source file
cell.cpp.i
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/cell.cpp.i
.PHONY
:
cell.cpp.i
cell.s
:
cell.cpp.s
.PHONY
:
cell.s
# target to generate assembly for a file
cell.cpp.s
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/cell.cpp.s
.PHONY
:
cell.cpp.s
main.o
:
main.cpp.o
.PHONY
:
main.o
# target to build an object file
main.cpp.o
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/main.cpp.o
.PHONY
:
main.cpp.o
main.i
:
main.cpp.i
.PHONY
:
main.i
# target to preprocess a source file
main.cpp.i
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/main.cpp.i
.PHONY
:
main.cpp.i
main.s
:
main.cpp.s
.PHONY
:
main.s
# target to generate assembly for a file
main.cpp.s
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/main.cpp.s
.PHONY
:
main.cpp.s
sodoku_solver_autogen/mocs_compilation.o
:
sodoku_solver_autogen/mocs_compilation.cpp.o
.PHONY
:
sodoku_solver_autogen/mocs_compilation.o
# target to build an object file
sodoku_solver_autogen/mocs_compilation.cpp.o
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/sodoku_solver_autogen/mocs_compilation.cpp.o
.PHONY
:
sodoku_solver_autogen/mocs_compilation.cpp.o
sodoku_solver_autogen/mocs_compilation.i
:
sodoku_solver_autogen/mocs_compilation.cpp.i
.PHONY
:
sodoku_solver_autogen/mocs_compilation.i
# target to preprocess a source file
sodoku_solver_autogen/mocs_compilation.cpp.i
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/sodoku_solver_autogen/mocs_compilation.cpp.i
.PHONY
:
sodoku_solver_autogen/mocs_compilation.cpp.i
sodoku_solver_autogen/mocs_compilation.s
:
sodoku_solver_autogen/mocs_compilation.cpp.s
.PHONY
:
sodoku_solver_autogen/mocs_compilation.s
# target to generate assembly for a file
sodoku_solver_autogen/mocs_compilation.cpp.s
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/sodoku_solver_autogen/mocs_compilation.cpp.s
.PHONY
:
sodoku_solver_autogen/mocs_compilation.cpp.s
window.o
:
window.cpp.o
.PHONY
:
window.o
# target to build an object file
window.cpp.o
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/window.cpp.o
.PHONY
:
window.cpp.o
window.i
:
window.cpp.i
.PHONY
:
window.i
# target to preprocess a source file
window.cpp.i
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/window.cpp.i
.PHONY
:
window.cpp.i
window.s
:
window.cpp.s
.PHONY
:
window.s
# target to generate assembly for a file
window.cpp.s
:
$(
MAKE
)
$(
MAKESILENT
)
-f
CMakeFiles/sodoku_solver.dir/build.make CMakeFiles/sodoku_solver.dir/window.cpp.s
.PHONY
:
window.cpp.s
# Help Target
help
:
@
echo
"The following are some of the valid targets for this Makefile:"
@
echo
"... all (the default if no target is provided)"
@
echo
"... clean"
@
echo
"... depend"
@
echo
"... edit_cache"
@
echo
"... rebuild_cache"
@
echo
"... sodoku_solver_autogen"
@
echo
"... sodoku_solver"
@
echo
"... cell.o"
@
echo
"... cell.i"
@
echo
"... cell.s"
@
echo
"... main.o"
@
echo
"... main.i"
@
echo
"... main.s"
@
echo
"... sodoku_solver_autogen/mocs_compilation.o"
@
echo
"... sodoku_solver_autogen/mocs_compilation.i"
@
echo
"... sodoku_solver_autogen/mocs_compilation.s"
@
echo
"... window.o"
@
echo
"... window.i"
@
echo
"... window.s"
.PHONY
:
help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system
:
$(
CMAKE_COMMAND
)
-S
$(
CMAKE_SOURCE_DIR
)
-B
$(
CMAKE_BINARY_DIR
)
--check-build-system
CMakeFiles/Makefile.cmake 0
.PHONY
:
cmake_check_build_system
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment