-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from alesiong/devel
Refine some release generation
- Loading branch information
Showing
13 changed files
with
422 additions
and
62 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
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,11 @@ | ||
cmake_minimum_required(VERSION 3.7) | ||
project(cuhkszlib_cmake) | ||
|
||
set(CMAKE_CXX_STANDARD 11) | ||
|
||
INCLUDE_DIRECTORIES(include/) | ||
LINK_DIRECTORIES(lib/) | ||
|
||
set(SOURCE_FILES src/main.cpp) | ||
add_executable(cuhkszlib_cmake ${SOURCE_FILES}) | ||
target_link_libraries(cuhkszlib_cmake cuhkszlib) |
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,14 @@ | ||
TEMPLATE = app | ||
CONFIG += console c++11 | ||
CONFIG -= app_bundle | ||
CONFIG -= qt | ||
|
||
INCLUDEPATH +=$$PWD/include | ||
CONFIG(debug, debug|release) { | ||
LIBS += $$PWD/lib/Debug/cuhkszlib.lib | ||
} else { | ||
LIBS += $$PWD/lib/Release/cuhkszlib.lib | ||
} | ||
|
||
|
||
SOURCES += src/main.cpp |
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,11 @@ | ||
TEMPLATE = app | ||
CONFIG += console c++11 | ||
CONFIG -= app_bundle | ||
CONFIG -= qt | ||
|
||
INCLUDEPATH +=$$PWD/include | ||
|
||
LIBS += $$PWD/lib/libcuhkszlib.a | ||
|
||
|
||
SOURCES += src/main.cpp |
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,10 @@ | ||
#include "random.h" | ||
#include <iostream> | ||
|
||
using namespace std; | ||
using namespace cuhksz; | ||
|
||
int main() | ||
{ | ||
cout << randomDouble() << endl; | ||
} |
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,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26403.7 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CUHKSZLib-sample-project", "CUHKSZLib-sample-project.vcxproj", "{3B6C0BED-7EE2-4BB5-8968-29068081692C}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|x64 = Debug|x64 | ||
Release|x64 = Release|x64 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{3B6C0BED-7EE2-4BB5-8968-29068081692C}.Debug|x64.ActiveCfg = Release|x64 | ||
{3B6C0BED-7EE2-4BB5-8968-29068081692C}.Debug|x64.Build.0 = Release|x64 | ||
{3B6C0BED-7EE2-4BB5-8968-29068081692C}.Release|x64.ActiveCfg = Release|x64 | ||
{3B6C0BED-7EE2-4BB5-8968-29068081692C}.Release|x64.Build.0 = Release|x64 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.