Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sfx
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
inmcm-mirror
sfx
Commits
fb3939af
Commit
fb3939af
authored
5 months ago
by
数学の武士
Browse files
Options
Downloads
Patches
Plain Diff
drag to sfx in CMakeLists.txt
parent
486be309
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+5
-5
5 additions, 5 deletions
CMakeLists.txt
with
5 additions
and
5 deletions
CMakeLists.txt
+
5
−
5
View file @
fb3939af
...
@@ -148,18 +148,18 @@ if(USE_CXX OR INCLUDE_CUDA)
...
@@ -148,18 +148,18 @@ if(USE_CXX OR INCLUDE_CUDA)
set
(
CMAKE_CUDA_FLAGS
" -g "
)
set
(
CMAKE_CUDA_FLAGS
" -g "
)
endif
(
USE_CXX OR INCLUDE_CUDA
)
endif
(
USE_CXX OR INCLUDE_CUDA
)
add_executable
(
drag
${
SOURCES
}
)
add_executable
(
sfx
${
SOURCES
}
)
set_property
(
TARGET
drag
PROPERTY LINKER_LANGUAGE Fortran
)
set_property
(
TARGET
sfx
PROPERTY LINKER_LANGUAGE Fortran
)
target_include_directories
(
drag
PUBLIC
${
CMAKE_BINARY_DIR
}
/modules/
)
target_include_directories
(
sfx
PUBLIC
${
CMAKE_BINARY_DIR
}
/modules/
)
if
(
USE_CONFIG_PARSER
)
if
(
USE_CONFIG_PARSER
)
target_link_libraries
(
drag
parser_F parser_CXX
)
target_link_libraries
(
sfx
parser_F parser_CXX
)
endif
(
USE_CONFIG_PARSER
)
endif
(
USE_CONFIG_PARSER
)
#copy data on post build
#copy data on post build
add_custom_command
(
add_custom_command
(
TARGET
drag
POST_BUILD
TARGET
sfx
POST_BUILD
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/data
${
CMAKE_SOURCE_DIR
}
/data
${
CMAKE_CURRENT_BINARY_DIR
}
/data
)
${
CMAKE_CURRENT_BINARY_DIR
}
/data
)
\ No newline at end of file
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