Skip to content

Commit

Permalink
removed build directory
Browse files Browse the repository at this point in the history
added support for building with cmake
  • Loading branch information
s3inlc committed Mar 24, 2018
1 parent 156b7fd commit 8785033
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea
*Qt_5_9_0*
*Qt_5_9_0*
cmake-build-debug
cmake-build-release
29 changes: 29 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
cmake_minimum_required(VERSION 2.8.11)

project(cracker)

# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)

IF (WIN32)
# Set the path to your qt setup here
set (CMAKE_PREFIX_PATH "C:/Qt/5.9/mingw53_32/")
ENDIF()

# Find the QtCore library
find_package(Qt5Core)
get_target_property(QtCore_location Qt5::Core LOCATION)

# Tell CMake to create the helloworld executable
add_executable(cracker
cracker/main.cpp
cracker/keyspacethread.cpp
cracker/runthread.cpp

cracker/keyspacethread.h
cracker/runthread.h)

# Use the Widgets module from Qt 5.
target_link_libraries(cracker Qt5::Core)
Binary file removed build/Qt5Core.dll
Binary file not shown.
Binary file removed build/Qt5Network.dll
Binary file not shown.
Binary file removed build/cracker.exe
Binary file not shown.
Binary file removed build/generic-cracker.7z
Binary file not shown.
1 change: 1 addition & 0 deletions cracker/runthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <QTextStream>
#include <QCryptographicHash>
#include <QDebug>
#include <cmath>

class RunThread : public QThread
{
Expand Down

0 comments on commit 8785033

Please sign in to comment.